|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
wt.clients.beans.graph.AbstractGraphViewRenderer
wt.clients.beans.graph.DefaultGraphViewLinkRenderer
Nested Class Summary |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private static String |
CLASSNAME
|
private Color |
descriptionBackgroundColor
|
private Point |
descriptionLocation
|
Font |
f
|
FontMetrics |
fm
|
private Point |
fromPoint
|
private GraphLink |
graphLink
|
private Color |
lineColor
|
private Color |
lineSelectedColor
|
private int |
linkTotal
|
private int[] |
linkX
|
private int[] |
linkY
|
private static String |
RESOURCE
|
protected static int |
SELECTION_MARGIN
|
private Point |
toPoint
|
private static String |
versionID
|
Fields inherited from class wt.clients.beans.graph.AbstractGraphViewRenderer |
FONT_SIZE, GRAPH_VIEW, ICON_HEIGHT, ICON_WIDTH, MARGIN, PAD_HEIGHT, PAD_WIDTH |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
DefaultGraphViewLinkRenderer()
|
Method Summary | |
protected Point |
computePoint(Point from,
Point to)
|
protected Point |
fromPoint()
|
Color |
getDescriptionBackgroundColor()
Gets the value of the attribute: descriptionBackgroundColor. |
Point |
getDescriptionLocation()
Gets the value of the attribute: descriptionLocation. |
Point |
getFromPoint()
Gets the value of the attribute: fromPoint. |
GraphLink |
getGraphLink()
Gets the value of the attribute: graphLink. |
Component |
getGraphViewLinkRendererComponent(DefaultGraphView pGraphView,
GraphLink pLink)
|
Color |
getLineColor()
Gets the value of the attribute: lineColor. |
Color |
getLineSelectedColor()
Gets the value of the attribute: lineSelectedColor. |
int |
getLinkTotal()
Gets the value of the attribute: linkTotal. |
int[] |
getLinkX()
Gets the value of the attribute: linkX. |
int[] |
getLinkY()
Gets the value of the attribute: linkY. |
Polygon |
getSelectionZone()
|
Point |
getToPoint()
Gets the value of the attribute: toPoint. |
void |
paint(Graphics g)
|
void |
paintDescription(Graphics g)
|
void |
setArrowPolygon()
|
void |
setDescriptionBackgroundColor(Color a_DescriptionBackgroundColor)
Sets the value of the attribute: descriptionBackgroundColor. |
void |
setDescriptionLocation()
|
void |
setDescriptionLocation(Point a_DescriptionLocation)
Sets the value of the attribute: descriptionLocation. |
void |
setFromPoint(Point a_FromPoint)
Sets the value of the attribute: fromPoint. |
void |
setGraphLink(GraphLink a_GraphLink)
Sets the value of the attribute: graphLink. |
void |
setLineColor(Color a_LineColor)
Sets the value of the attribute: lineColor. |
void |
setLineSelectedColor(Color a_LineSelectedColor)
Sets the value of the attribute: lineSelectedColor. |
void |
setLink(GraphLink pLink)
|
void |
setLinkPolygon()
|
void |
setLinkTotal(int a_LinkTotal)
Sets the value of the attribute: linkTotal. |
void |
setLinkX(int[] a_LinkX)
Sets the value of the attribute: linkX. |
void |
setLinkY(int[] a_LinkY)
Sets the value of the attribute: linkY. |
protected Point |
toPoint()
|
Methods inherited from class wt.clients.beans.graph.AbstractGraphViewRenderer |
getGraphView, setGraphView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private static final String versionID
private GraphLink graphLink
private Point fromPoint
private Point toPoint
protected static final int SELECTION_MARGIN
private int[] linkX
private int[] linkY
private int linkTotal
private Color lineColor
private Color lineSelectedColor
private Color descriptionBackgroundColor
private Point descriptionLocation
private static final String RESOURCE
public Font f
public FontMetrics fm
Constructor Detail |
public DefaultGraphViewLinkRenderer()
Method Detail |
public GraphLink getGraphLink()
public void setGraphLink(GraphLink a_GraphLink) throws WTPropertyVetoException
a_GraphLink
-
WTPropertyVetoException
public Point getFromPoint()
public void setFromPoint(Point a_FromPoint) throws WTPropertyVetoException
a_FromPoint
-
WTPropertyVetoException
public Point getToPoint()
public int[] getLinkX()
public void setLinkX(int[] a_LinkX)
a_LinkX
- public int[] getLinkY()
public void setLinkY(int[] a_LinkY)
a_LinkY
- public int getLinkTotal()
public void setLinkTotal(int a_LinkTotal)
a_LinkTotal
- public Color getLineColor()
public void setLineColor(Color a_LineColor) throws WTPropertyVetoException
a_LineColor
-
WTPropertyVetoException
public Color getLineSelectedColor()
public void setLineSelectedColor(Color a_LineSelectedColor) throws WTPropertyVetoException
a_LineSelectedColor
-
WTPropertyVetoException
public Color getDescriptionBackgroundColor()
public void setDescriptionBackgroundColor(Color a_DescriptionBackgroundColor) throws WTPropertyVetoException
a_DescriptionBackgroundColor
-
WTPropertyVetoException
public Point getDescriptionLocation()
public void setDescriptionLocation(Point a_DescriptionLocation)
a_DescriptionLocation
- public void paint(Graphics g)
g
- public void paintDescription(Graphics g)
g
- public void setArrowPolygon()
public void setLink(GraphLink pLink)
pLink
- protected Point toPoint()
protected Point fromPoint()
protected Point computePoint(Point from, Point to)
from
- to
-
public void setLinkPolygon()
public void setDescriptionLocation()
public Component getGraphViewLinkRendererComponent(DefaultGraphView pGraphView, GraphLink pLink)
getGraphViewLinkRendererComponent
in interface GraphViewLinkRenderer
pGraphView
- pLink
-
public Polygon getSelectionZone()
getSelectionZone
in interface GraphViewLinkRenderer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |