com.partnersoft.v3x.apps.MapBrowser.rover
Class RoverGraphicSpecifier

java.lang.Object
  extended by com.partnersoft.v3x.gadgets.SpecifierGadget
      extended by com.partnersoft.v3x.apps.MapBrowser.MapGraphicSpecifier
          extended by com.partnersoft.v3x.apps.MapBrowser.rover.RoverGraphicSpecifier
All Implemented Interfaces:
MapMotionListener, MapMouseListener, Specifier, java.util.EventListener

public class RoverGraphicSpecifier
extends MapGraphicSpecifier

A specifier for graphical map objects in a rover file or files. Uses a ClickMap to determine hits.


Constructor Summary
RoverGraphicSpecifier(ClickMap clickMap, RoverBufferSource hiliteSource, RoverBufferSource indicatorSource)
           
 
Method Summary
 java.lang.Object findSelectedObjectAt(Coord3D coords, int pixelX, int pixelY)
          Doesn't just find it - also goes ahead and hilites it.
 java.lang.String indicateObjectAt(Coord3D coords, int pixelX, int pixelY)
          Indicates the object.
 
Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.MapGraphicSpecifier
disable, enable, getGlobalToggle, getIndicationSpecifier, getListening, getMapViewPanel, getMXToggle, mapClicked, mapDragged, mapEntered, mapExited, mapMoved, mapPressed, mapReleased, setGlobalToggle, setListening, setMapViewPanel, setMXToggle
 
Methods inherited from class com.partnersoft.v3x.gadgets.SpecifierGadget
addSpecificationListener, getSpecified, getSpecifiedClass, removeSpecificationListener, setSpecified, setSpecifiedClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoverGraphicSpecifier

public RoverGraphicSpecifier(ClickMap clickMap,
                             RoverBufferSource hiliteSource,
                             RoverBufferSource indicatorSource)
Method Detail

findSelectedObjectAt

public java.lang.Object findSelectedObjectAt(Coord3D coords,
                                             int pixelX,
                                             int pixelY)
Doesn't just find it - also goes ahead and hilites it.

Specified by:
findSelectedObjectAt in class MapGraphicSpecifier

indicateObjectAt

public java.lang.String indicateObjectAt(Coord3D coords,
                                         int pixelX,
                                         int pixelY)
Indicates the object.

Overrides:
indicateObjectAt in class MapGraphicSpecifier