com.partnersoft.maps.ephemera
Class MoveSnapshotEphemeron
java.lang.Object
com.partnersoft.maps.ephemera.AbstractSnapshotEphemeron
com.partnersoft.maps.ephemera.MoveSnapshotEphemeron
- All Implemented Interfaces:
- Ephemeron
public class MoveSnapshotEphemeron
- extends AbstractSnapshotEphemeron
Handles moving ephemera for a snapshot
Copyright 2007 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Rich Stepanski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveSnapshotEphemeron
public MoveSnapshotEphemeron(MapViewFrame snapshot)
- Creates a new MoveSnapshotEphemeron for a snapshot represented by the
passed MapViewFrame
- Parameters:
snapshot - -
MapViewFrame representing snapshot
MoveSnapshotEphemeron
public MoveSnapshotEphemeron(MapViewFrame snapshot,
XyPoint handle)
- Creates a new MoveSnapshotEphemeron for a snapshot represented by the
passed MapViewFrame
- Parameters:
snapshot - -
MapViewFrame representing snapshot
mangleSnapshot
protected void mangleSnapshot(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
- Description copied from class:
AbstractSnapshotEphemeron
- Changes internal snapshot before each draw.
Handles specific ephemera changes. Allows rotating,scaling, and moving
ephemera to share draw code. Does not need to reset the MapViewFrame's
transform.
- Specified by:
mangleSnapshot in class AbstractSnapshotEphemeron