org.jgraph.plaf.GraphUI Class Reference

Inheritance diagram for org.jgraph.plaf.GraphUI:

org.jgraph.plaf.basic.BasicGraphUI List of all members.

Public Member Functions

abstract void paintCell (Graphics g, CellView view, Rectangle2D bounds, boolean preview)
abstract void paintPorts (Graphics g, CellView[] portViews)
abstract void selectCellsForEvent (JGraph graph, Object[] cells, MouseEvent event)
abstract Dimension2D getPreferredSize (JGraph graph, CellView view)
abstract CellHandle getHandle ()
abstract boolean isEditing (JGraph graph)
abstract boolean stopEditing (JGraph graph)
abstract void cancelEditing (JGraph graph)
abstract void startEditingAtCell (JGraph graph, Object cell)
abstract Object getEditingCell (JGraph graph)
abstract void setInsertionLocation (Point p)
abstract Point getInsertionLocation ()
abstract void updateHandle ()
abstract int getDropAction ()

Detailed Description

Pluggable look and feel interface for JGraph.

Version:
1.0 1/1/02
Author:
Gaudenz Alder


Member Function Documentation

abstract void org.jgraph.plaf.GraphUI.cancelEditing JGraph  graph  )  [pure virtual]
 

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.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract int org.jgraph.plaf.GraphUI.getDropAction  )  [pure virtual]
 

Returns the current drop action.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract Object org.jgraph.plaf.GraphUI.getEditingCell JGraph  graph  )  [pure virtual]
 

Returns the cell that is being edited.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract CellHandle org.jgraph.plaf.GraphUI.getHandle  )  [pure virtual]
 

Returns the CellHandle that is currently active, or null if no handle is active.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract Point org.jgraph.plaf.GraphUI.getInsertionLocation  )  [pure virtual]
 

Returns the insertion location for DnD operations.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract Dimension2D org.jgraph.plaf.GraphUI.getPreferredSize JGraph  graph,
CellView  view
[pure virtual]
 

Returns the preferred size for view.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract boolean org.jgraph.plaf.GraphUI.isEditing JGraph  graph  )  [pure virtual]
 

Returns true if the graph is being edited. The item that is being edited can be returned by getEditingCell().

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract void org.jgraph.plaf.GraphUI.paintCell Graphics  g,
CellView  view,
Rectangle2D  bounds,
boolean  preview
[pure virtual]
 

Paints the renderer of view to g at bounds.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract void org.jgraph.plaf.GraphUI.paintPorts Graphics  g,
CellView[]  portViews
[pure virtual]
 

Paints the renderers of portViews to g.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract void org.jgraph.plaf.GraphUI.selectCellsForEvent JGraph  graph,
Object[]  cells,
MouseEvent  event
[pure virtual]
 

Messaged to update the selection based on a MouseEvent for a group of cells. If the manas.event is a toggle selection manas.event, the cells are either selected, or deselected. Otherwise the cells are selected.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract void org.jgraph.plaf.GraphUI.setInsertionLocation Point  p  )  [pure virtual]
 

Sets the current location for Drag-and-Drop activity. Should be set to null after a drop.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract void org.jgraph.plaf.GraphUI.startEditingAtCell JGraph  graph,
Object  cell
[pure virtual]
 

Selects the cell and tries to edit it. Editing will fail if the CellEditor won't allow it for the selected item.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract boolean org.jgraph.plaf.GraphUI.stopEditing JGraph  graph  )  [pure virtual]
 

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.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.

abstract void org.jgraph.plaf.GraphUI.updateHandle  )  [pure virtual]
 

Updates the handle.

Implemented in org.jgraph.plaf.basic.BasicGraphUI.


The documentation for this class was generated from the following file:
Generated on Sun May 28 19:13:17 2006 for Digimod by  doxygen 1.4.6-NO