|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.gadgets.SpecifierGadget
com.partnersoft.v3x.apps.MapBrowser.MapGraphicSpecifier
com.partnersoft.v3x.apps.MapBrowser.MapPointSpecifier
public class MapPointSpecifier
Graphic specifier for mapPoints. Picks the one whose center is closest to the selected point.
| Constructor Summary | |
|---|---|
MapPointSpecifier(MapPointSource source)
|
|
| Method Summary | |
|---|---|
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. |
void |
setSpecified(java.lang.Object newSpec)
Specifies an object. |
| Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.MapGraphicSpecifier |
|---|
disable, enable, getGlobalToggle, getIndicationSpecifier, getListening, getMapViewPanel, getMXToggle, indicateObjectAt, mapClicked, mapDragged, mapEntered, mapExited, mapMoved, mapPressed, mapReleased, setGlobalToggle, setListening, setMapViewPanel, setMXToggle |
| Methods inherited from class com.partnersoft.v3x.gadgets.SpecifierGadget |
|---|
addSpecificationListener, getSpecified, getSpecifiedClass, removeSpecificationListener, setSpecifiedClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapPointSpecifier(MapPointSource source)
| Method Detail |
|---|
public java.lang.Object findSelectedObjectAt(Coord3D coords,
int pixelX,
int pixelY)
MapGraphicSpecifier
findSelectedObjectAt in class MapGraphicSpecifierpublic void setSpecified(java.lang.Object newSpec)
SpecifierGadget
setSpecified in interface SpecifiersetSpecified in class SpecifierGadget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||