|
|||||||||
| Home >> All >> phoebe >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
phoebe.util
Class PCircleIcon

java.lang.ObjectPPath
phoebe.util.PEdgeEndIcon
phoebe.util.PCircleIcon
- public class PCircleIcon
- extends PEdgeEndIcon
Draws a circle icon at the target node.
| Field Summary | |
protected double |
cosTheta
|
protected double |
diameter
|
protected double |
midX
|
protected double |
midY
|
protected double |
sinTheta
|
| Fields inherited from class phoebe.util.PEdgeEndIcon |
lineLen, newX, newY, source, target |
| Constructor Summary | |
PCircleIcon(java.awt.geom.Point2D s,
java.awt.geom.Point2D t,
double d)
Constructor. |
|
| Method Summary | |
protected void |
calcPositions()
Calculates the points needed to draw the circle. |
void |
drawIcon(java.awt.geom.Point2D s,
java.awt.geom.Point2D t)
Draws the icon. |
| Methods inherited from class phoebe.util.PEdgeEndIcon |
calcLineLen, getNewX, getNewY, paint, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
diameter
protected double diameter
sinTheta
protected double sinTheta
cosTheta
protected double cosTheta
midX
protected double midX
midY
protected double midY
| Constructor Detail |
PCircleIcon
public PCircleIcon(java.awt.geom.Point2D s, java.awt.geom.Point2D t, double d)
- Constructor.
| Method Detail |
calcPositions
protected void calcPositions()
- Calculates the points needed to draw the circle. The difficulty is that
the point that defines where a circle is to be drawn is the top left
corner of the imaginary box surrounding the circle.
drawIcon
public void drawIcon(java.awt.geom.Point2D s, java.awt.geom.Point2D t)
- Draws the icon.
- Overrides:
drawIconin classPEdgeEndIcon
|
|||||||||
| Home >> All >> phoebe >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
PPath