|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.ephemera.AbstractSnapshotEphemeron
com.partnersoft.maps.ephemera.ScaleSnapshotEphemeron
public class ScaleSnapshotEphemeron
Handles scaling ephemera for a snapshot
Copyright 2007 Partner Software, Inc.
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.maps.ephemera.AbstractSnapshotEphemeron |
|---|
snapshot |
| Constructor Summary | |
|---|---|
ScaleSnapshotEphemeron(MapViewFrame snapshot,
java.lang.String cornerName)
Creates a new ScaleSnapshotEphemeron for a snapshot represented by the passed MapViewFrame |
|
| 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. |
protected void |
mangleSnapshot(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Changes internal snapshot before each draw. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScaleSnapshotEphemeron(MapViewFrame snapshot,
java.lang.String cornerName)
snapshot - -
MapViewFrame representing snapshot| Method Detail |
|---|
protected void mangleSnapshot(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
AbstractSnapshotEphemeronHandles specific ephemera changes. Allows rotating,scaling, and moving ephemera to share draw code. Does not need to reset the MapViewFrame's transform.
mangleSnapshot in class AbstractSnapshotEphemeron
public void draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Ephemeron
draw in interface Ephemerondraw in class AbstractSnapshotEphemeron
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||