Package | Description |
---|---|
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.swing.util |
This package contains all utility classes that require JFC/Swing, namely for
mouse event handling, drag and drop, actions and overlays.
|
com.mxgraph.swing.view |
This package contains all classes required for interaction, namely the
mxCellEditor used for in-place editing and the mxInteractiveCanvas, which
defines the requirements for a canvas that supports hit-detection on shapes.
|
Modifier and Type | Field and Description |
---|---|
protected mxGraphComponent |
mxGraphComponent.mxMouseRedirector.graphComponent |
protected mxGraphComponent |
mxGraphOutline.graphComponent |
Modifier and Type | Method and Description |
---|---|
mxGraphComponent |
mxGraphOutline.getGraphComponent() |
mxGraphComponent |
mxGraphComponent.mxGraphControl.getGraphContainer() |
Modifier and Type | Method and Description |
---|---|
void |
mxGraphOutline.setGraphComponent(mxGraphComponent graphComponent)
Fires a property change event for
graphComponent . |
Constructor and Description |
---|
mxGraphComponent.mxMouseRedirector(mxGraphComponent graphComponent) |
mxGraphOutline(mxGraphComponent graphComponent) |
Modifier and Type | Field and Description |
---|---|
protected mxGraphComponent |
mxMovePreview.graphComponent |
protected mxGraphComponent |
mxInsertHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxCellMarker.graphComponent
Holds the enclosing graph component.
|
protected mxGraphComponent |
mxSelectionCellsHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxConnectPreview.graphComponent |
protected mxGraphComponent |
mxPanningHandler.graphComponent |
protected mxGraphComponent |
mxRubberband.graphComponent
Reference to the enclosing graph container.
|
protected mxGraphComponent |
mxCellHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxRotationHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxConnectionHandler.graphComponent |
protected mxGraphComponent |
mxGraphHandler.graphComponent
Reference to the enclosing graph component.
|
Modifier and Type | Method and Description |
---|---|
mxGraphComponent |
mxInsertHandler.getGraphComponent() |
mxGraphComponent |
mxSelectionCellsHandler.getGraphComponent() |
mxGraphComponent |
mxCellHandler.getGraphComponent() |
mxGraphComponent |
mxRotationHandler.getGraphComponent() |
mxGraphComponent |
mxGraphHandler.getGraphComponent() |
Modifier and Type | Method and Description |
---|---|
mxGraphTransferable |
mxGraphTransferHandler.createGraphTransferable(mxGraphComponent graphComponent,
java.lang.Object[] cells,
javax.swing.ImageIcon icon) |
mxGraphTransferable |
mxGraphTransferHandler.createGraphTransferable(mxGraphComponent graphComponent,
java.lang.Object[] cells,
mxRectangle bounds,
javax.swing.ImageIcon icon) |
javax.swing.ImageIcon |
mxGraphTransferHandler.createTransferableImage(mxGraphComponent graphComponent,
java.lang.Object[] cells) |
protected java.lang.Object |
mxGraphTransferHandler.getDropTarget(mxGraphComponent graphComponent,
mxGraphTransferable gt)
Returns the drop target for the given transferable and location.
|
protected java.lang.Object[] |
mxGraphTransferHandler.importCells(mxGraphComponent graphComponent,
mxGraphTransferable gt,
double dx,
double dy)
Gets a drop target using getDropTarget and imports the cells using
mxGraph.splitEdge or mxGraphComponent.importCells depending on the
drop target and the return values of mxGraph.isSplitEnabled and
mxGraph.isSplitTarget.
|
protected boolean |
mxGraphTransferHandler.importGraphTransferable(mxGraphComponent graphComponent,
mxGraphTransferable gt)
Returns true if the cells have been imported using importCells.
|
protected void |
mxKeyboardHandler.installKeyboardActions(mxGraphComponent graphComponent)
Invoked as part from the boilerplate install block.
|
protected void |
mxGraphTransferHandler.removeCells(mxGraphComponent graphComponent,
java.lang.Object[] cells) |
Constructor and Description |
---|
mxCellHandler(mxGraphComponent graphComponent,
mxCellState state)
Constructs a new cell handler for the given cell state.
|
mxCellMarker(mxGraphComponent graphComponent)
Constructs a new marker for the given graph component.
|
mxCellMarker(mxGraphComponent graphComponent,
java.awt.Color validColor)
Constructs a new marker for the given graph component.
|
mxCellMarker(mxGraphComponent graphComponent,
java.awt.Color validColor,
java.awt.Color invalidColor)
Constructs a new marker for the given graph component.
|
mxCellMarker(mxGraphComponent graphComponent,
java.awt.Color validColor,
java.awt.Color invalidColor,
double hotspot)
Constructs a new marker for the given graph component.
|
mxCellTracker(mxGraphComponent graphComponent,
java.awt.Color color)
Constructs an event handler that highlights cells.
|
mxConnectionHandler(mxGraphComponent graphComponent) |
mxConnectPreview(mxGraphComponent graphComponent) |
mxEdgeHandler(mxGraphComponent graphComponent,
mxCellState state) |
mxElbowEdgeHandler(mxGraphComponent graphComponent,
mxCellState state) |
mxGraphHandler(mxGraphComponent graphComponent) |
mxInsertHandler(mxGraphComponent graphComponent,
java.lang.String style) |
mxKeyboardHandler(mxGraphComponent graphComponent) |
mxMovePreview(mxGraphComponent graphComponent)
Constructs a new rubberband selection for the given graph component.
|
mxPanningHandler(mxGraphComponent graphComponent) |
mxRotationHandler(mxGraphComponent graphComponent)
Constructs a new rotation handler.
|
mxRubberband(mxGraphComponent graphComponent)
Constructs a new rubberband selection for the given graph component.
|
mxSelectionCellsHandler(mxGraphComponent graphComponent) |
mxVertexHandler(mxGraphComponent graphComponent,
mxCellState state) |
Modifier and Type | Field and Description |
---|---|
protected mxGraphComponent |
mxMorphing.graphComponent
Reference to the enclosing graph instance.
|
Constructor and Description |
---|
mxMorphing(mxGraphComponent graphComponent)
Constructs a new morphing instance for the given graph.
|
mxMorphing(mxGraphComponent graphComponent,
int steps,
double ease,
int delay)
Constructs a new morphing instance for the given graph.
|
Modifier and Type | Field and Description |
---|---|
protected mxGraphComponent |
mxCellStatePreview.graphComponent |
protected mxGraphComponent |
mxCellEditor.graphComponent |
Modifier and Type | Method and Description |
---|---|
boolean |
mxInteractiveCanvas.contains(mxGraphComponent graphComponent,
java.awt.Rectangle rect,
mxCellState state) |
boolean |
mxInteractiveCanvas.hitSwimlaneContent(mxGraphComponent graphComponent,
mxCellState swimlane,
int x,
int y)
Returns true if the given point is inside the content area of the given
swimlane.
|
boolean |
mxInteractiveCanvas.intersects(mxGraphComponent graphComponent,
java.awt.Rectangle rect,
mxCellState state) |
Constructor and Description |
---|
mxCellEditor(mxGraphComponent graphComponent) |
mxCellStatePreview(mxGraphComponent graphComponent,
boolean cloned)
Constructs a new state preview.
|
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.