JGraph X 0.15.0.3


com.mxgraph.util
Interface mxEventSource.mxIEventSource

All Known Subinterfaces:
mxIGraphModel
All Known Implementing Classes:
mxGraphModel
Enclosing class:
mxEventSource

public static interface mxEventSource.mxIEventSource

Defines the requirements for an object that listens to a graph model.


Method Summary
 void addListener(String eventName, mxEventSource.mxEventListener listener)
          Binds the specified function to the given event name.
 void removeListener(mxEventSource.mxEventListener listener)
          Function: removeListener Removes the given listener from the list of listeners.
 void removeListener(String eventName, mxEventSource.mxEventListener listener)
          Function: removeListener Removes the given listener from the list of listeners.
 

Method Detail

addListener

void addListener(String eventName,
                 mxEventSource.mxEventListener listener)
Binds the specified function to the given event name. If no event name is given, then the listener is registered for all events.


removeListener

void removeListener(mxEventSource.mxEventListener listener)
Function: removeListener Removes the given listener from the list of listeners.


removeListener

void removeListener(String eventName,
                    mxEventSource.mxEventListener listener)
Function: removeListener Removes the given listener from the list of listeners.


JGraph X 0.15.0.3


Copyright (c) 2008 Gaudenz Alder. All rights reserved.