com.partnersoft.v3x.apps.MapBrowser.locate
Class LocateSource

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.AbstractSelectableMapDataSource
      extended by com.partnersoft.v3x.apps.MapBrowser.SimpleSelectableMapDataSource
          extended by com.partnersoft.v3x.apps.MapBrowser.locate.LocateSource
All Implemented Interfaces:
MapDataSource, SelectableMapDataSource

public class LocateSource
extends SimpleSelectableMapDataSource

Used to manage located (find item or "zoom-to") points.


Constructor Summary
LocateSource()
           
 
Method Summary
 void addPoint(LocatePoint newPoint)
           
 void clear()
           
 void clearSelected()
           
protected  java.lang.String indicateImp(Coord3D coords, int pixelX, int pixelY)
          Override this to support indication.
protected  void renderHiliteImp(RenderMold moldy, java.awt.Graphics g, ClickMap clickMap)
          Override this method to provide rendering of hilite.
protected  void renderImp(RenderMold moldy, java.awt.Graphics g, ClickMap clickMap)
          Override this method to provide rendering
protected  void renderIndicationImp(RenderMold moldy, java.awt.Graphics g, ClickMap clickMap)
          Override this method to provide rendering of indication.
protected  java.lang.Object selectImp(Coord3D coords, int pixelX, int pixelY)
          Override this to support specification.
 void setPoint(LocatePoint newPoint)
           
protected  void setSpecifiedImp(java.lang.Object newSpec)
          Override this to set the specified item.
 
Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.SimpleSelectableMapDataSource
createDefaultRenderer, createSpecifier, getHiliteSource, getIndicatorSource, isVisible, setSpace, setVisible
 
Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.AbstractSelectableMapDataSource
addChangeListener, fireChanged, getImageLibraries, getName, getPath, isVerbose, removeChangeListener, setImageLibraries, setName, setPath, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocateSource

public LocateSource()
Method Detail

setSpecifiedImp

protected void setSpecifiedImp(java.lang.Object newSpec)
Description copied from class: SimpleSelectableMapDataSource
Override this to set the specified item. Once this method is run, fireChanged() is automatically called on the hilite source.

Specified by:
setSpecifiedImp in class SimpleSelectableMapDataSource

indicateImp

protected java.lang.String indicateImp(Coord3D coords,
                                       int pixelX,
                                       int pixelY)
Description copied from class: SimpleSelectableMapDataSource
Override this to support indication.

Specified by:
indicateImp in class SimpleSelectableMapDataSource

selectImp

protected java.lang.Object selectImp(Coord3D coords,
                                     int pixelX,
                                     int pixelY)
Description copied from class: SimpleSelectableMapDataSource
Override this to support specification.

Specified by:
selectImp in class SimpleSelectableMapDataSource

renderImp

protected void renderImp(RenderMold moldy,
                         java.awt.Graphics g,
                         ClickMap clickMap)
Description copied from class: SimpleSelectableMapDataSource
Override this method to provide rendering

Specified by:
renderImp in class SimpleSelectableMapDataSource

renderIndicationImp

protected void renderIndicationImp(RenderMold moldy,
                                   java.awt.Graphics g,
                                   ClickMap clickMap)
Description copied from class: SimpleSelectableMapDataSource
Override this method to provide rendering of indication.

Specified by:
renderIndicationImp in class SimpleSelectableMapDataSource

renderHiliteImp

protected void renderHiliteImp(RenderMold moldy,
                               java.awt.Graphics g,
                               ClickMap clickMap)
Description copied from class: SimpleSelectableMapDataSource
Override this method to provide rendering of hilite.

Specified by:
renderHiliteImp in class SimpleSelectableMapDataSource

setPoint

public void setPoint(LocatePoint newPoint)

addPoint

public void addPoint(LocatePoint newPoint)

clearSelected

public void clearSelected()

clear

public void clear()