Class mxEventObject
java.lang.Object
com.mxgraph.util.mxEventObject
Base class for objects that dispatch named events.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionmxEventObject(String name) Constructs a new event for the given name.mxEventObject(String name, Object... args) Constructs a new event for the given name and properties. -
Method Summary
Modifier and TypeMethodDescriptionvoidconsume()Consumes the event.getName()Returns the name of the event.getProperty(String key) booleanReturns true if the event has been consumed.
-
Field Details
-
name
Holds the name of the event. -
properties
-
consumed
protected boolean consumedHolds the consumed state of the event. Default is false.
-
-
Constructor Details
-
mxEventObject
Constructs a new event for the given name. -
mxEventObject
-
-
Method Details
-
getName
Returns the name of the event. -
getProperties
-
getProperty
-
isConsumed
public boolean isConsumed()Returns true if the event has been consumed. -
consume
public void consume()Consumes the event.
-