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
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Set<MapObservableObject>
protected boolean
protected EventBus
protected Consumer<MapObservableObject.ObjectChangeEvent>
protected MapObservableObject
protected Set<MapObservableObject>
protected UUID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected <E extends EventObject>
com.vaadin.flow.shared.RegistrationaddListener
(Class<E> eventClass, Consumer<E> listener) protected void
protected void
Clears all removed child collections from all objects and their children.boolean
protected void
protected Set<MapObservableObject>
protected EventBus
protected Set<MapObservableObject>
protected UUID
protected abstract String
getType()
int
hashCode()
protected boolean
isDirty()
protected boolean
protected void
protected void
protected void
removeChild
(Object object) protected void
protected void
setMetaProperty
(String key, Object value) Sets meta property that should be additionally serialized for the object.protected void
setParent
(MapObservableObject parent) protected void
-
Field Details
-
syncId
-
parent
-
children
-
removedChildren
-
metaProperties
-
listener
-
eventBus
-
dirty
protected boolean dirty
-
-
Constructor Details
-
MapObservableObject
public MapObservableObject()
-
-
Method Details
-
getSyncId
-
getType
-
setMapObjectChangeListener
-
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
-
addChild
-
removeChild
-
getChildren
-
getRemovedChildren
-
clearRemovedChildren
protected void clearRemovedChildren() -
getMetaProperties
-
setMetaProperty
Sets meta property that should be additionally serialized for the object.- Parameters:
key
- property namevalue
- property value
-
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
-
hashCode
public int hashCode()
-