| org.jgraph.graph.VertexRenderer com.jgraph.example.JGraphGroupRenderer
JGraphGroupRenderer | public class JGraphGroupRenderer extends VertexRenderer (Code) | | Renderer for grouped cells, includes '+' '-' to expand/collapse
|
handle | public static Rectangle handle(Code) | | Default handle bounds for renderer, '+' or '-'
|
handleColorgraphForeground | protected Color handleColorgraphForeground(Code) | | Holds the background and foreground of the graph.
|
isGroup | protected boolean isGroup(Code) | | Specifies whether the current view is a rich text value, and if the image
should be stretched.
|
getRendererComponent | public Component getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)(Code) | | Overrides the parent implementation to return the value component stored
in the user object instead of this renderer if a value component exists.
This applies some of the values installed to this renderer to the value
component (border, opaque) if the latter is a JComponent.
Returns a configured renderer for the specified view. |
inHitRegion | public boolean inHitRegion(Point2D pt)(Code) | | Detect whether or not a point has hit the group/ungroup image
Parameters: pt - the point to check whether or not the point lies within the handle |
Methods inherited from org.jgraph.graph.VertexRenderer | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public Color getGradientColor()(Code)(Java Doc) public Point2D getPerimeterPoint(VertexView view, Point2D source, Point2D p)(Code)(Java Doc) public Component getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)(Code)(Java Doc) protected void installAttributes(CellView view)(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) protected void paintSelectionBorder(Graphics g)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) protected void resetAttributes()(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void setGradientColor(Color gradientColor)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|