| java.lang.Object javax.swing.plaf.ComponentUI org.jgraph.plaf.GraphUI
All known Subclasses: org.jgraph.plaf.basic.BasicGraphUI,
GraphUI | abstract public class GraphUI extends ComponentUI (Code) | | Pluggable look and feel interface for JGraph.
version: 1.0 1/1/02 author: Gaudenz Alder |
cancelEditing | abstract public void cancelEditing(JGraph graph)(Code) | | Cancels the current editing session. This has no effect if the
graph isn't being edited. Returns true if the editor allows the
editing session to stop.
|
getDropAction | abstract public int getDropAction()(Code) | | Returns the current drop action.
|
getEditingCell | abstract public Object getEditingCell(JGraph graph)(Code) | | Returns the cell that is being edited.
|
getHandle | abstract public CellHandle getHandle()(Code) | | Returns the CellHandle that is currently active,
or null if no handle is active.
|
getInsertionLocation | abstract public Point getInsertionLocation()(Code) | | Returns the insertion location for DnD operations.
|
isEditing | abstract public boolean isEditing(JGraph graph)(Code) | | Returns true if the graph is being edited. The item that is being
edited can be returned by getEditingCell().
|
paintPorts | abstract public void paintPorts(Graphics g, CellView[] portViews)(Code) | | Paints the renderers of portViews to g .
|
selectCellsForEvent | abstract public void selectCellsForEvent(JGraph graph, Object[] cells, MouseEvent event)(Code) | | Messaged to update the selection based on a MouseEvent for a group of
cells. If the event is a toggle selection event, the cells are either
selected, or deselected. Otherwise the cells are selected.
|
setInsertionLocation | abstract public void setInsertionLocation(Point p)(Code) | | Sets the current location for Drag-and-Drop activity. Should be set to
null after a drop.
|
startEditingAtCell | abstract public void startEditingAtCell(JGraph graph, Object cell)(Code) | | Selects the cell and tries to edit it. Editing will
fail if the CellEditor won't allow it for the selected item.
|
stopEditing | abstract public boolean stopEditing(JGraph graph)(Code) | | Stops the current editing session. This has no effect if the
graph isn't being edited. Returns true if the editor allows the
editing session to stop.
|
updateHandle | abstract public void updateHandle()(Code) | | Updates the handle.
|
|
|