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 |
---|
mxGraphOutline(mxGraphComponent graphComponent) |
mxMouseRedirector(mxGraphComponent graphComponent) |
Modifier and Type | Field and Description |
---|---|
protected mxGraphComponent |
mxCellHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxSelectionCellsHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxRubberband.graphComponent
Reference to the enclosing graph container.
|
protected mxGraphComponent |
mxPanningHandler.graphComponent |
protected mxGraphComponent |
mxGraphHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxConnectPreview.graphComponent |
protected mxGraphComponent |
mxInsertHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxCellMarker.graphComponent
Holds the enclosing graph component.
|
protected mxGraphComponent |
mxRotationHandler.graphComponent
Reference to the enclosing graph component.
|
protected mxGraphComponent |
mxConnectionHandler.graphComponent |
protected mxGraphComponent |
mxMovePreview.graphComponent |
Modifier and Type | Method and Description |
---|---|
mxGraphComponent |
mxCellHandler.getGraphComponent() |
mxGraphComponent |
mxSelectionCellsHandler.getGraphComponent() |
mxGraphComponent |
mxGraphHandler.getGraphComponent() |
mxGraphComponent |
mxInsertHandler.getGraphComponent() |
mxGraphComponent |
mxRotationHandler.getGraphComponent() |
Modifier and Type | Method and Description |
---|---|
mxGraphTransferable |
mxGraphTransferHandler.createGraphTransferable(mxGraphComponent graphComponent,
Object[] cells,
ImageIcon icon) |
mxGraphTransferable |
mxGraphTransferHandler.createGraphTransferable(mxGraphComponent graphComponent,
Object[] cells,
mxRectangle bounds,
ImageIcon icon) |
ImageIcon |
mxGraphTransferHandler.createTransferableImage(mxGraphComponent graphComponent,
Object[] cells) |
protected Object |
mxGraphTransferHandler.getDropTarget(mxGraphComponent graphComponent,
mxGraphTransferable gt)
Returns the drop target for the given transferable and location.
|
protected 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,
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,
Color validColor)
Constructs a new marker for the given graph component.
|
mxCellMarker(mxGraphComponent graphComponent,
Color validColor,
Color invalidColor)
Constructs a new marker for the given graph component.
|
mxCellMarker(mxGraphComponent graphComponent,
Color validColor,
Color invalidColor,
double hotspot)
Constructs a new marker for the given graph component.
|
mxCellTracker(mxGraphComponent graphComponent,
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,
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,
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,
Rectangle rect,
mxCellState state) |
Constructor and Description |
---|
mxCellEditor(mxGraphComponent graphComponent) |
mxCellStatePreview(mxGraphComponent graphComponent,
boolean cloned)
Constructs a new state preview.
|
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.