com.jgraph.example.fastgraph
Class FastGraphUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.jgraph.plaf.GraphUI
          extended by org.jgraph.plaf.basic.BasicGraphUI
              extended by com.jgraph.example.fastgraph.FastGraphUI
All Implemented Interfaces:
java.io.Serializable

public class FastGraphUI
extends org.jgraph.plaf.basic.BasicGraphUI

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jgraph.plaf.basic.BasicGraphUI
org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler, org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener, org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction, org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler, org.jgraph.plaf.basic.BasicGraphUI.KeyHandler, org.jgraph.plaf.basic.BasicGraphUI.MouseHandler, org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler, org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler, org.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
Field Summary
 
Fields inherited from class org.jgraph.plaf.basic.BasicGraphUI
DNDPREVIEW, MAXCELLS, MAXCLIPCELLS, MAXHANDLES, SCROLLBORDER, SCROLLSTEP
 
Constructor Summary
FastGraphUI()
           
 
Method Summary
 void paintCell(java.awt.Graphics g, org.jgraph.graph.CellView view, java.awt.geom.Rectangle2D bounds, boolean preview)
          Paints the renderer of view to g at bounds.
 
Methods inherited from class org.jgraph.plaf.basic.BasicGraphUI
autoscroll, cancelEditing, createHandle, createUI, drawGraph, getDropAction, getEditingCell, getHandle, getInsertionLocation, getMaximumSize, getMinimumSize, getPreferredMinSize, getPreferredSize, getPreferredSize, installUI, isAddToSelectionEvent, isConstrainedMoveEvent, isEditing, isForceMarqueeEvent, isSnapSelectedView, isToggleSelectionEvent, paint, paintPorts, selectCellForEvent, selectCellsForEvent, selectCellsForEvent, setInsertionLocation, setPreferredMinSize, setSnapSelectedView, startEditingAtCell, stopEditing, uninstallUI, updateHandle, updateSize
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastGraphUI

public FastGraphUI()
Method Detail

paintCell

public void paintCell(java.awt.Graphics g,
                      org.jgraph.graph.CellView view,
                      java.awt.geom.Rectangle2D bounds,
                      boolean preview)
Paints the renderer of view to g at bounds. Recursive implementation that paints the children first.

The reciever should NOT modify clipBounds, or insets. The preview flag is passed to the renderer, and is not used here.

Overrides:
paintCell in class org.jgraph.plaf.basic.BasicGraphUI