|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.ephemera.RotatePointWithAngle
public class RotatePointWithAngle
Rotational ephemeron, spinning an angle display as you move the mouse around an anchor point. With angle displayed as text on opposite side of mouse cursor from anchor.
Copyright 2007 Paul Reavis
| Constructor Summary | |
|---|---|
RotatePointWithAngle(XyPoint anchor)
Create a new RotatePointWithAngle object with the given anchor point. |
|
RotatePointWithAngle(XyPoint anchor,
java.lang.String lineStyle,
java.lang.String textStyle)
Create a new RotatePointWithAngle object with the given anchor point. |
|
| Method Summary | |
|---|---|
void |
draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Draw appropriate graphics on the given surface with the given frame, mouse position, and any implementation-specific internal state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotatePointWithAngle(XyPoint anchor,
java.lang.String lineStyle,
java.lang.String textStyle)
anchor - -
vertex pointlineStyle - -
line style to draw withtextStyle - -
text style to write withpublic RotatePointWithAngle(XyPoint anchor)
anchor - -
vertex point| Method Detail |
|---|
public void draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Ephemeron
draw in interface Ephemeron
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||