|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
wt.clients.tools.transfer.ExportGraphViewLinkRenderer
Nested Class Summary |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected static int |
AMPLITUDE
|
protected static int |
ARROW_ANGLE
|
protected static int |
ARROW_LENGTH
|
private Point |
center
|
(package private) static float[] |
dash1
|
(package private) static BasicStroke |
dashed
|
Color |
descriptionBackgroundColor
|
private Point |
descriptionLocation
|
Color |
excludedColor
|
Font |
f
|
Font |
f1
|
Font |
f2
|
Font |
f4
|
Font |
f6
|
static int |
FONT_SIZE
|
private Point |
fromPoint
|
private ExportGraphLink |
graphLink
|
private ExportGraphView |
graphView
|
static int |
ICON_HEIGHT
|
static int |
ICON_WIDTH
|
Color |
lineColor
|
Color |
lineSelectedColor
|
private int |
linkTotal
|
private int[] |
linkX
|
private int[] |
linkY
|
static int |
MARGIN
|
private Point |
midPoint
|
private static int |
NUMBER_OF_POINTS_IN_CIRCLE
|
static int |
PAD_HEIGHT
|
static int |
PAD_WIDTH
|
private double |
radius
|
protected static int |
SELECTION_MARGIN
|
(package private) static BasicStroke |
stroke
|
Color |
textColor
|
private Point |
textPoint
|
private Point |
toPoint
|
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 | |
ExportGraphViewLinkRenderer()
|
Method Summary | |
protected Point |
computePoint(Point from,
Point to)
|
void |
findCircle(double angle)
|
protected Point |
fromPoint()
|
Color |
getDescriptionBackgroundColor()
Gets the value of the attribute: descriptionBackgroundColor. |
Point |
getDescriptionLocation()
Gets the value of the attribute: descriptionLocation. |
ExportGraphLink |
getExportGraphLink()
Gets the value of the attribute: graphLink. |
Point |
getFromPoint()
Gets the value of the attribute: fromPoint. |
ExportGraphLink |
getGraphLink()
|
protected ExportGraphView |
getGraphView()
|
Component |
getGraphViewLinkRendererComponent(ExportGraphView 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. |
int |
getXFromCircle(int y)
|
int |
getYFromCircle(int x)
|
void |
paint(Graphics g)
|
void |
paintDescription(Graphics2D g)
|
void |
setArrowPolygon()
|
void |
setArrowPolygon2()
|
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. |
(package private) int |
setFont(Graphics2D g,
String text,
int font_size)
|
void |
setFromPoint(Point a_FromPoint)
Sets the value of the attribute: fromPoint. |
void |
setGraphLink(ExportGraphLink a_GraphLink)
Sets the value of the attribute: graphLink. |
protected void |
setGraphView(ExportGraphView a_GraphView)
Sets the value of the attribute: GRAPH_VIEW. |
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(ExportGraphLink 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ExportGraphLink graphLink
private Point fromPoint
private Point toPoint
private Point midPoint
private Point textPoint
private Point center
private double radius
protected static final int SELECTION_MARGIN
private int[] linkX
private int[] linkY
private int linkTotal
public Color lineColor
public Color lineSelectedColor
public Color descriptionBackgroundColor
public Color excludedColor
public Color textColor
private Point descriptionLocation
private static final int NUMBER_OF_POINTS_IN_CIRCLE
protected static final int AMPLITUDE
protected static final int ARROW_ANGLE
protected static final int ARROW_LENGTH
public Font f
public Font f1
public Font f2
public Font f4
public Font f6
private ExportGraphView graphView
public static final int MARGIN
public static final int ICON_WIDTH
public static final int ICON_HEIGHT
public static final int PAD_WIDTH
public static final int PAD_HEIGHT
public static final int FONT_SIZE
static final float[] dash1
static final BasicStroke dashed
static final BasicStroke stroke
Constructor Detail |
public ExportGraphViewLinkRenderer()
Method Detail |
public ExportGraphLink getExportGraphLink()
public ExportGraphLink getGraphLink()
public void setGraphLink(ExportGraphLink 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
- int setFont(Graphics2D g, String text, int font_size)
g
- public void paintDescription(Graphics2D g)
public void setArrowPolygon()
public void setArrowPolygon2()
public void setLink(ExportGraphLink pLink)
pLink
- protected Point toPoint()
protected Point fromPoint()
protected Point computePoint(Point from, Point to)
from
- to
-
public void setLinkPolygon()
public void findCircle(double angle)
public int getYFromCircle(int x)
public int getXFromCircle(int y)
public void setDescriptionLocation()
public Component getGraphViewLinkRendererComponent(ExportGraphView pGraphView, GraphLink pLink)
pGraphView
- pLink
-
public Polygon getSelectionZone()
protected ExportGraphView getGraphView()
protected void setGraphView(ExportGraphView a_GraphView) throws WTPropertyVetoException
a_GraphView
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |