Class MapObservableObject

java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Feature, Fill, ImageStyle, Layer, MapOptions, MapView, SimpleGeometry, Source, Stroke, Style, TextStyle

public abstract class MapObservableObject extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • MapObservableObject

      public MapObservableObject()
  • Method Details

    • getSyncId

      protected UUID getSyncId()
    • getType

      protected abstract String getType()
    • setMapObjectChangeListener

      protected void setMapObjectChangeListener(Consumer<MapObservableObject.ObjectChangeEvent> listener)
    • fireChangeEvent

      protected void fireChangeEvent()
    • isDirty

      protected boolean isDirty()
    • markAsDirty

      protected void markAsDirty()
    • unmarkDirtyInDepth

      protected void unmarkDirtyInDepth()
    • markAsDirtyInDepth

      protected void markAsDirtyInDepth()
    • isDirtyInDepth

      protected boolean isDirtyInDepth()
    • setParent

      protected void setParent(MapObservableObject parent)
    • addChild

      protected void addChild(Object object)
    • removeChild

      protected void removeChild(Object object)
    • getChildren

      protected Set<MapObservableObject> getChildren()
    • getRemovedChildren

      protected Set<MapObservableObject> getRemovedChildren()
    • clearRemovedChildren

      protected void clearRemovedChildren()
    • getMetaProperties

      protected Map<String,Object> getMetaProperties()
    • setMetaProperty

      protected void setMetaProperty(String key, Object value)
      Sets meta property that should be additionally serialized for the object.
      Parameters:
      key - property name
      value - property value
    • getEventBus

      protected EventBus getEventBus()
    • addListener

      protected <E extends EventObject> com.vaadin.flow.shared.Registration addListener(Class<E> eventClass, Consumer<E> listener)
    • clearRemovedChildrenInDepth

      protected void clearRemovedChildrenInDepth()
      Clears all removed child collections from all objects and their children.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object