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.util |
This package contains all utility classes that require JFC/Swing, namely for
mouse event handling, drag and drop, actions and overlays.
|
Modifier and Type | Method | Description |
---|---|---|
mxICellOverlay |
mxGraphComponent.addCellOverlay(java.lang.Object cell,
mxICellOverlay overlay) |
Adds an overlay for the specified cell.
|
mxICellOverlay[] |
mxGraphComponent.getCellOverlays(java.lang.Object cell) |
Returns the array of overlays for the given cell or null, if no overlays
are defined.
|
mxICellOverlay |
mxGraphComponent.removeCellOverlay(java.lang.Object cell,
mxICellOverlay overlay) |
Removes and returns the given overlay from the given cell.
|
mxICellOverlay[] |
mxGraphComponent.removeCellOverlays(java.lang.Object cell) |
Removes all overlays from the given cell.
|
mxICellOverlay |
mxGraphComponent.setCellWarning(java.lang.Object cell,
java.lang.String warning) |
Creates an overlay for the given cell using the warning and image or
warningImage and returns the new overlay.
|
mxICellOverlay |
mxGraphComponent.setCellWarning(java.lang.Object cell,
java.lang.String warning,
javax.swing.ImageIcon icon) |
Creates an overlay for the given cell using the warning and image or
warningImage and returns the new overlay.
|
mxICellOverlay |
mxGraphComponent.setCellWarning(java.lang.Object cell,
java.lang.String warning,
javax.swing.ImageIcon icon,
boolean select) |
Creates an overlay for the given cell using the warning and image or
warningImage and returns the new overlay.
|
Modifier and Type | Method | Description |
---|---|---|
mxICellOverlay |
mxGraphComponent.addCellOverlay(java.lang.Object cell,
mxICellOverlay overlay) |
Adds an overlay for the specified cell.
|
mxICellOverlay |
mxGraphComponent.removeCellOverlay(java.lang.Object cell,
mxICellOverlay overlay) |
Removes and returns the given overlay from the given cell.
|
protected void |
mxGraphComponent.removeCellOverlayComponent(mxICellOverlay overlay,
java.lang.Object cell) |
Notified when an overlay has been removed from the graph.
|
protected void |
mxGraphComponent.updateCellOverlayComponent(mxCellState state,
mxICellOverlay overlay) |
Notified when an overlay has been removed from the graph.
|
Modifier and Type | Class | Description |
---|---|---|
class |
mxCellOverlay |
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.