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 and Description |
---|---|
mxICellOverlay |
mxGraphComponent.addCellOverlay(Object cell,
mxICellOverlay overlay)
Adds an overlay for the specified cell.
|
mxICellOverlay[] |
mxGraphComponent.getCellOverlays(Object cell)
Returns the array of overlays for the given cell or null, if no overlays
are defined.
|
mxICellOverlay |
mxGraphComponent.removeCellOverlay(Object cell,
mxICellOverlay overlay)
Removes and returns the given overlay from the given cell.
|
mxICellOverlay[] |
mxGraphComponent.removeCellOverlays(Object cell)
Removes all overlays from the given cell.
|
mxICellOverlay |
mxGraphComponent.setCellWarning(Object cell,
String warning)
Creates an overlay for the given cell using the warning and image or
warningImage and returns the new overlay.
|
mxICellOverlay |
mxGraphComponent.setCellWarning(Object cell,
String warning,
ImageIcon icon)
Creates an overlay for the given cell using the warning and image or
warningImage and returns the new overlay.
|
mxICellOverlay |
mxGraphComponent.setCellWarning(Object cell,
String warning,
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 and Description |
---|---|
mxICellOverlay |
mxGraphComponent.addCellOverlay(Object cell,
mxICellOverlay overlay)
Adds an overlay for the specified cell.
|
mxICellOverlay |
mxGraphComponent.removeCellOverlay(Object cell,
mxICellOverlay overlay)
Removes and returns the given overlay from the given cell.
|
protected void |
mxGraphComponent.removeCellOverlayComponent(mxICellOverlay overlay,
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 and Description |
---|---|
class |
mxCellOverlay |
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.