Package | Description |
---|---|
com.mxgraph.model |
This package contains the classes that define a graph model.
|
com.mxgraph.swing |
This package contains the main component for JFC/Swing, namely the graph
component and the outline component.
|
com.mxgraph.swing.handler |
This package contains all classes required for mouse event handling in
JFC/Swing.
|
com.mxgraph.util |
This package provides utility classes such as mxConstants, mxUtils, mxPoint
and mxRectangle as well as all classes for custom events and the undo
history.
|
com.mxgraph.view |
This package implements the graph component, represented by the mxGraph
class.
|
Modifier and Type | Method and Description |
---|---|
void |
mxIGraphModel.addListener(String eventName,
mxEventSource.mxIEventListener listener)
Binds the specified function to the given event name.
|
void |
mxIGraphModel.removeListener(mxEventSource.mxIEventListener listener)
Function: removeListener
Removes the given listener from the list of listeners.
|
void |
mxIGraphModel.removeListener(mxEventSource.mxIEventListener listener,
String eventName)
Function: removeListener
Removes the given listener from the list of listeners.
|
Modifier and Type | Field and Description |
---|---|
protected mxEventSource.mxIEventListener |
mxGraphOutline.repaintHandler |
protected mxEventSource.mxIEventListener |
mxGraphComponent.repaintHandler |
protected mxEventSource.mxIEventListener |
mxGraphComponent.scaleHandler
Resets the zoom policy if the scale is changed manually.
|
protected mxEventSource.mxIEventListener |
mxGraphComponent.updateHandler
Updates the heavyweight component structure after any changes.
|
Modifier and Type | Method and Description |
---|---|
void |
mxGraphComponent.addListener(String eventName,
mxEventSource.mxIEventListener listener) |
void |
mxGraphComponent.removeListener(mxEventSource.mxIEventListener listener) |
void |
mxGraphComponent.removeListener(mxEventSource.mxIEventListener listener,
String eventName) |
Modifier and Type | Field and Description |
---|---|
protected mxEventSource.mxIEventListener |
mxSelectionCellsHandler.refreshHandler |
protected mxEventSource.mxIEventListener |
mxConnectionHandler.resetHandler |
Modifier and Type | Method and Description |
---|---|
void |
mxInsertHandler.addListener(String eventName,
mxEventSource.mxIEventListener listener) |
void |
mxCellMarker.addListener(String eventName,
mxEventSource.mxIEventListener listener)
Adds the given event listener.
|
void |
mxConnectionHandler.addListener(String eventName,
mxEventSource.mxIEventListener listener)
Adds the given event listener.
|
void |
mxInsertHandler.removeListener(mxEventSource.mxIEventListener listener) |
void |
mxCellMarker.removeListener(mxEventSource.mxIEventListener listener)
Removes the given event listener.
|
void |
mxConnectionHandler.removeListener(mxEventSource.mxIEventListener listener)
Removes the given event listener.
|
void |
mxInsertHandler.removeListener(mxEventSource.mxIEventListener listener,
String eventName) |
void |
mxCellMarker.removeListener(mxEventSource.mxIEventListener listener,
String eventName)
Removes the given event listener for the specified event name.
|
void |
mxConnectionHandler.removeListener(mxEventSource.mxIEventListener listener,
String eventName)
Removes the given event listener for the specified event name.
|
Modifier and Type | Method and Description |
---|---|
void |
mxEventSource.addListener(String eventName,
mxEventSource.mxIEventListener listener)
Binds the specified function to the given event name.
|
void |
mxEventSource.removeListener(mxEventSource.mxIEventListener listener)
Function: removeListener
Removes all occurances of the given listener from the list of listeners.
|
void |
mxEventSource.removeListener(mxEventSource.mxIEventListener listener,
String eventName)
Function: removeListener
Removes all occurances of the given listener from the list of listeners.
|
Modifier and Type | Field and Description |
---|---|
protected mxEventSource.mxIEventListener |
mxSwimlaneManager.addHandler |
protected mxEventSource.mxIEventListener |
mxGraph.fullRepaintHandler
Fires repaint events for full repaints.
|
protected mxEventSource.mxIEventListener |
mxGraph.graphModelChangeHandler
Fires repaint events for model changes.
|
protected mxEventSource.mxIEventListener |
mxLayoutManager.moveHandler |
protected mxEventSource.mxIEventListener |
mxSwimlaneManager.resizeHandler |
protected mxEventSource.mxIEventListener |
mxSpaceManager.resizeHandler |
protected mxEventSource.mxIEventListener |
mxLayoutManager.undoHandler |
protected mxEventSource.mxIEventListener |
mxGraph.updateOriginHandler
Fires repaint events for full repaints.
|
Copyright (c) 2010 Gaudenz Alder. All rights reserved.