com.partnersoft.v3x.apps.MapBrowser
Class CombinedMapGraphicSpecifier
java.lang.Object
com.partnersoft.v3x.gadgets.SpecifierGadget
com.partnersoft.v3x.apps.MapBrowser.MapGraphicSpecifier
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.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombinedMapGraphicSpecifier
public CombinedMapGraphicSpecifier()
CombinedMapGraphicSpecifier
public CombinedMapGraphicSpecifier(MapGraphicSpecifier spec1,
MapGraphicSpecifier spec2)
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