|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--com.jgraph.plaf.GraphUI
Pluggable look and feel interface for JGraph.
| Constructor Summary | |
GraphUI()
Paints the renderer of view to g
at bounds. |
|
| Method Summary | |
abstract void |
cancelEditing(JGraph jgraph)
The abstract method cancelEditing |
abstract java.lang.Object |
getEditingCell(JGraph jgraph)
The abstract method getEditingCell |
abstract CellHandle |
getHandle(JGraph jgraph)
The abstract method getHandle |
abstract java.awt.Dimension |
getPreferredSize(JGraph jgraph,
CellView cellview)
The abstract method getPreferredSize |
abstract boolean |
isEditing(JGraph jgraph)
The abstract method isEditing |
abstract void |
paintCell(java.awt.Graphics g,
CellView cellview,
java.awt.Rectangle rectangle,
boolean flag)
The abstract method paintCell |
abstract void |
paintPorts(java.awt.Graphics g,
PortView[] aportview)
The abstract method paintPorts |
abstract void |
selectCellsForEvent(JGraph jgraph,
java.lang.Object[] aobj,
java.awt.event.MouseEvent mouseevent)
The abstract method selectCellsForEvent |
abstract void |
startEditingAtCell(JGraph jgraph,
java.lang.Object obj)
The abstract method startEditingAtCell |
abstract boolean |
stopEditing(JGraph jgraph)
The abstract method stopEditing |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GraphUI()
view to g
at bounds.
| Method Detail |
public abstract void paintCell(java.awt.Graphics g,
CellView cellview,
java.awt.Rectangle rectangle,
boolean flag)
g - This is the Graphics object for the cell(s) you want to paint.cellview - This is the object holding the selected cell(s).rectangle - This is the Rectangle object holding the information such as x, y, width, and height.flag - This will be passed as the fourth parameter to Cellview.getRendererComponent
public abstract void paintPorts(java.awt.Graphics g,
PortView[] aportview)
g - This is the Graphics object for the port(s) you want to paint.aportview - This is the object holding the selected port(s).
public abstract void selectCellsForEvent(JGraph jgraph,
java.lang.Object[] aobj,
java.awt.event.MouseEvent mouseevent)
jgraph - This is the JGraph object with which you are working.aobj - This is an array of Objects that will be affected by the MouseEvent.mouseevent - either AddToSelectionEvent or ToggleSelectionEvent
public abstract java.awt.Dimension getPreferredSize(JGraph jgraph,
CellView cellview)
jgraph - This is the JGraph object with which you are working.cellview - This is the object that you wish to get the size of.
public abstract CellHandle getHandle(JGraph jgraph)
jgraph - This is the JGraph object with which you are working.
public abstract boolean isEditing(JGraph jgraph)
jgraph - This is the JGraph object with which you are working.
public abstract boolean stopEditing(JGraph jgraph)
jgraph - This is the JGraph object with which you are working.
public abstract void cancelEditing(JGraph jgraph)
jgraph - This is the JGraph object with which you are working.
public abstract void startEditingAtCell(JGraph jgraph,
java.lang.Object obj)
jgraph - This is the JGraph object with which you are working.obj - This is the cell at which to start editing.public abstract java.lang.Object getEditingCell(JGraph jgraph)
jgraph - This is the JGraph object with which you are working.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||