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

java.lang.ObjectPPath
phoebe.util.PEdgeEndIcon
phoebe.util.PTIcon
- public class PTIcon
- extends PEdgeEndIcon
Draws a T icon at the target end of the edge.
| Field Summary | |
protected double |
botX
|
protected double |
botY
|
protected double |
cosTheta
|
protected double |
length
|
protected double |
midX
|
protected double |
midY
|
protected double |
sinTheta
|
protected double |
topX
|
protected double |
topY
|
| Fields inherited from class phoebe.util.PEdgeEndIcon |
lineLen, newX, newY, source, target |
| Constructor Summary | |
PTIcon(java.awt.geom.Point2D s,
java.awt.geom.Point2D t,
double l)
Constructor. |
|
| Method Summary | |
protected void |
calcPositions()
Calculates the points needed to draw the T. |
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 |
length
protected double length
sinTheta
protected double sinTheta
cosTheta
protected double cosTheta
midX
protected double midX
midY
protected double midY
botX
protected double botX
botY
protected double botY
topX
protected double topX
topY
protected double topY
| Constructor Detail |
PTIcon
public PTIcon(java.awt.geom.Point2D s, java.awt.geom.Point2D t, double l)
- Constructor.
| Method Detail |
calcPositions
protected void calcPositions()
- Calculates the points needed to draw the T.
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