com.partnersoft.maps.ephemera
Class CollectionRotateRevolveEphemeron

java.lang.Object
  extended by com.partnersoft.maps.ephemera.AbstractCollectionEphemeron
      extended by com.partnersoft.maps.ephemera.CollectionRotateRevolveEphemeron
All Implemented Interfaces:
Ephemeron

public class CollectionRotateRevolveEphemeron
extends AbstractCollectionEphemeron
implements Ephemeron

This class is to be used to draw lines, points, and text that are rotated/revolved together.

Copyright 2007 Partner Software, Inc.

Version:
$Id$
Author:
Rich Stepanski

Field Summary
 
Fields inherited from class com.partnersoft.maps.ephemera.AbstractCollectionEphemeron
allLines, allPoints, allText, app, mapset
 
Constructor Summary
CollectionRotateRevolveEphemeron(MapApp app, MapSet mapset, XyPoint anchor)
          Creates a blank CollectionRotateRevolveEphemeron.
 
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 com.partnersoft.maps.ephemera.AbstractCollectionEphemeron
addLine, addPoint, addText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionRotateRevolveEphemeron

public CollectionRotateRevolveEphemeron(MapApp app,
                                        MapSet mapset,
                                        XyPoint anchor)
Creates a blank CollectionRotateRevolveEphemeron.

Parameters:
app - - valid app
mapset - - mapset where all styles to draw live.
anchor - - point to revolve collection around.
Method Detail

draw

public void draw(DrawingSurface surface,
                 MapViewFrame frame,
                 XyPoint mousePosition)
Description copied from interface: Ephemeron
Draw appropriate graphics on the given surface with the given frame, mouse position, and any implementation-specific internal state. The drawing surface is set up with the given frame, and is in map coordinates (not pixels).

Specified by:
draw in interface Ephemeron
Specified by:
draw in class AbstractCollectionEphemeron