|
JGraph X 1.0.2.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.util.mxEventObject
public class mxEventObject
Base class for objects that dispatch named events.
Field Summary | |
---|---|
protected Object[] |
args
Holds the arguments associated with this event object. |
protected boolean |
consumed
Holds the consumed state of the event. |
protected static Object[] |
EMPTY_ARRAY
|
Constructor Summary | |
---|---|
mxEventObject()
Constructs a new event source using this as the source object. |
|
mxEventObject(Object[] args)
Constructs a new event source for the given source object. |
Method Summary | |
---|---|
void |
consume()
Consumes the event. |
Object |
getArgAt(int index)
|
int |
getArgCount()
|
Object[] |
getArgs()
Dispatches the given event name, passing all arguments after the given name to the registered listeners for the event. |
boolean |
isConsumed()
Returns true if the event has been consumed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Object[] EMPTY_ARRAY
protected boolean consumed
protected Object[] args
Constructor Detail |
---|
public mxEventObject()
public mxEventObject(Object[] args)
Method Detail |
---|
public boolean isConsumed()
public void consume()
public Object[] getArgs()
public int getArgCount()
public Object getArgAt(int index)
|
JGraph X 1.0.2.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |