Inheritance diagram for org.jgraph.graph.VertexRenderer:
Public Member Functions | |
VertexRenderer () | |
Component | getRendererComponent (JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) |
void | paint (Graphics g) |
Point2D | getPerimeterPoint (VertexView view, Point2D source, Point2D p) |
void | validate () |
void | revalidate () |
void | repaint (long tm, int x, int y, int width, int height) |
void | repaint (Rectangle r) |
void | firePropertyChange (String propertyName, byte oldValue, byte newValue) |
void | firePropertyChange (String propertyName, char oldValue, char newValue) |
void | firePropertyChange (String propertyName, short oldValue, short newValue) |
void | firePropertyChange (String propertyName, int oldValue, int newValue) |
void | firePropertyChange (String propertyName, long oldValue, long newValue) |
void | firePropertyChange (String propertyName, float oldValue, float newValue) |
void | firePropertyChange (String propertyName, double oldValue, double newValue) |
void | firePropertyChange (String propertyName, boolean oldValue, boolean newValue) |
Color | getGradientColor () |
void | setGradientColor (Color gradientColor) |
Protected Member Functions | |
void | resetAttributes () |
void | installAttributes (CellView view) |
void | paintSelectionBorder (Graphics g) |
void | firePropertyChange (String propertyName, Object oldValue, Object newValue) |
Protected Attributes | |
transient VertexView | view |
transient boolean | hasFocus |
transient boolean | selected |
transient boolean | preview |
transient boolean | childrenSelected |
transient Color | defaultForeground |
transient Color | defaultBackground |
transient Color | bordercolor |
transient int | borderWidth |
transient boolean | isDoubleBuffered = false |
transient Color | gradientColor = null |
transient Color | gridColor = Color.black |
transient Color | highlightColor = Color.black |
transient Color | lockedHandleColor = Color.black |
|
Constructs a renderer that may be used to render vertices. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
|
|
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p. The specified point is expected not to intersect the bounds. |
|
Configure and return the renderer component based on the passed in cell. The value is typically set from messaging the graph with
Implements org.jgraph.graph.CellViewRenderer. |
|
Install the attributes of specified cell in this renderer instance. This means, retrieve every published key from the cells hashtable and set global variables or superclass properties accordingly.
|
|
Paint the renderer. Overrides superclass paint to add specific painting. |
|
Provided for subclassers to paint a selection border. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
Hook for subclassers that is invoked when the installAttributes is not called to reset all attributes to the defaults. |
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
|
|
Overridden for performance reasons. See the Implementation Note for more information. |
|
|
|
Cached borderwidth. |
|
|
|
|
|
Cached default foreground and default background. |
|
|
|
|
|
Cached hasFocus and selected value. |
|
|
|
Cached value of the double buffered state |
|
|
|
|
|
|
|
Cache the current shape for drawing. |