public final class MapEvent extends Object
Constructor and Description |
---|
MapEvent(Map map,
String changedProperty)
Creates a new map event for the given map and changed property.
|
Modifier and Type | Method and Description |
---|---|
String |
getChangedProperty()
Returns the name of the property that changed.
|
Map |
getMap()
Returns the map.
|
@NotNull public Map getMap()
@NotNull public String getChangedProperty()
Possible values are defined on the Map
class. Examples are Map#propertyBackgroundColor
and Map#propertyCamera
.