|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectVertexRenderer
edu.jhu.ece.iacl.jist.pipeline.graph.PipeAlgorithmGroupView.ActivityRenderer
public static class PipeAlgorithmGroupView.ActivityRenderer
The Class ActivityRenderer.
| Field Summary | |
|---|---|
protected java.awt.Color |
graphForeground
Holds the background and foreground of the graph. |
static java.awt.Rectangle |
handle
Default handle bounds for renderer, '+' or '-'. |
protected java.awt.Color |
handleColor
Holds the background and foreground of the graph. |
protected boolean |
isGroup
Specifies whether the current view is a rich text value, and if the image should be stretched. |
| Constructor Summary | |
|---|---|
PipeAlgorithmGroupView.ActivityRenderer()
|
|
| Method Summary | |
|---|---|
java.awt.Dimension |
getPreferredSize()
Return a slightly larger preferred size than for a rectangle. |
java.awt.Component |
getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Overrides the parent implementation to return the value component stored in the user object instead of this renderer if a value component exists. |
boolean |
inHitRegion(java.awt.geom.Point2D pt)
Detect whether or not a point has hit the group/ungroup image. |
void |
paint(java.awt.Graphics g)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.awt.Rectangle handle
protected boolean isGroup
protected java.awt.Color handleColor
protected java.awt.Color graphForeground
| Constructor Detail |
|---|
public PipeAlgorithmGroupView.ActivityRenderer()
| Method Detail |
|---|
public java.awt.Dimension getPreferredSize()
public java.awt.Component getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
graph - the graphview - the viewsel - the selfocus - the focuspreview - the preview
public boolean inHitRegion(java.awt.geom.Point2D pt)
pt - the point to check
public void paint(java.awt.Graphics g)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||