com.partnersoft.v3x.apps.MapBrowser
Class CombinedMapGraphicSpecifier

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.CombinedMapGraphicSpecifier
All Implemented Interfaces:
MapMotionListener, MapMouseListener, Specifier, java.util.EventListener

public class CombinedMapGraphicSpecifier
extends MapGraphicSpecifier

Combines several MapGraphicSpecifiers into one.


Constructor Summary
CombinedMapGraphicSpecifier()
           
CombinedMapGraphicSpecifier(MapGraphicSpecifier spec1, MapGraphicSpecifier spec2)
           
 
Method Summary
 void addSpecifier(MapGraphicSpecifier subspec)
           
 java.lang.Object findSelectedObjectAt(Coord3D coords, int pixelX, int pixelY)
          Subclasses must override this to provide the function deriving the selected object from the given coordinates and pixels.
 java.lang.String indicateObjectAt(Coord3D coords, int pixelX, int pixelY)
          Subclasses must override this to provide the function indicating (generally by hilite) an object from the given coordinates and pixels.
 
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

CombinedMapGraphicSpecifier

public CombinedMapGraphicSpecifier()

CombinedMapGraphicSpecifier

public CombinedMapGraphicSpecifier(MapGraphicSpecifier spec1,
                                   MapGraphicSpecifier spec2)
Method Detail

addSpecifier

public void addSpecifier(MapGraphicSpecifier subspec)

findSelectedObjectAt

public java.lang.Object findSelectedObjectAt(Coord3D coords,
                                             int pixelX,
                                             int pixelY)
Description copied from class: MapGraphicSpecifier
Subclasses must override this to provide the function deriving the selected object from the given coordinates and pixels.

Specified by:
findSelectedObjectAt in class MapGraphicSpecifier

indicateObjectAt

public java.lang.String indicateObjectAt(Coord3D coords,
                                         int pixelX,
                                         int pixelY)
Description copied from class: MapGraphicSpecifier
Subclasses must override this to provide the function indicating (generally by hilite) an object from the given coordinates and pixels.

Overrides:
indicateObjectAt in class MapGraphicSpecifier