|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.ephemera.PointStyleEphemeron
public class PointStyleEphemeron
Ephemeron for displaying a point style at the mouse location. Copyright 2008 Paul Reavis
| Field Summary | |
|---|---|
protected boolean |
isPixels
|
protected MapSet |
mapset
|
protected int |
offsetX
|
protected int |
offsetY
|
protected java.lang.String |
pointStyle
|
protected int |
rotation
|
protected double |
snapGridSize
|
| Constructor Summary | |
|---|---|
PointStyleEphemeron(MapSet mapset,
java.lang.String pointStyle,
int rotation)
Draws pointstyle at mouse position with given rotation between 0-255. |
|
PointStyleEphemeron(MapSet mapset,
java.lang.String pointStyle,
int rotation,
int offsetX,
int offsetY)
Draws pointstyle at mouse position with given rotation between 0-255. |
|
PointStyleEphemeron(MapSet mapset,
java.lang.String pointStyle,
int rotation,
int offsetX,
int offsetY,
boolean isPixels)
Draws pointstyle at mouse position with given rotation between 0-255. |
|
| 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. |
void |
setSnapGridSize(double newSnapGridSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MapSet mapset
protected java.lang.String pointStyle
protected int rotation
protected int offsetX
protected int offsetY
protected boolean isPixels
protected double snapGridSize
| Constructor Detail |
|---|
public PointStyleEphemeron(MapSet mapset,
java.lang.String pointStyle,
int rotation,
int offsetX,
int offsetY)
mapset - - mapset containing pointstyle.pointStyle - - name of pointstyle to draw.rotation - - rotation between 0-255.offsetX - - pixels to offset X.offsetY - - pixels units to offset Y.
public PointStyleEphemeron(MapSet mapset,
java.lang.String pointStyle,
int rotation,
int offsetX,
int offsetY,
boolean isPixels)
mapset - - mapset containing pointstyle.pointStyle - - name of pointstyle to draw.rotation - - rotation between 0-255.offsetX - - units to offset X.offsetY - - units to offset Y.isPixels - - T/F to use offset as pixels. True being use as pixels.
public PointStyleEphemeron(MapSet mapset,
java.lang.String pointStyle,
int rotation)
mapset - - mapset containing pointstyle.pointStyle - - name of pointstyle to draw.rotation - - rotation between 0-255.| Method Detail |
|---|
public void draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Ephemeron
draw in interface Ephemeronpublic void setSnapGridSize(double newSnapGridSize)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||