|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for objects that can be attached to the end of a connector. Implementations of this interface are used to draw arrow-heads, circles, diamonds, and various other kinds of decoration at the end of connectors.
| Method Summary | |
java.awt.geom.Rectangle2D |
getBounds()
Get the bounding box of the shape used to draw this connector end. |
void |
getConnection(java.awt.geom.Point2D p)
Get the connection point of the end. |
void |
getOrigin(java.awt.geom.Point2D p)
Get the origin of the line end. |
void |
paint(java.awt.Graphics2D g)
Paint the connector end. |
void |
setNormal(double angle)
Set the normal of the connector end. |
void |
setOrigin(double x,
double y)
Set the origin of the decoration. |
void |
translate(double x,
double y)
Translate the connector end by the given amount. |
| Method Detail |
public java.awt.geom.Rectangle2D getBounds()
public void getConnection(java.awt.geom.Point2D p)
public void getOrigin(java.awt.geom.Point2D p)
public void paint(java.awt.Graphics2D g)
public void setNormal(double angle)
public void setOrigin(double x,
double y)
public void translate(double x,
double y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||