|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.display.drawmodel.SimpleDrawModel
gistoolkit.display.drawmodel.HighlightDrawModel
A model used for highlighting features on the map as the pointer is moved over it.
Field Summary |
Fields inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
myCommand, myGISDisplay |
Constructor Summary | |
HighlightDrawModel()
HighlightDrawModel constructor comment. |
|
HighlightDrawModel(Command inCommand)
HighlightDrawModel constructor comment. |
Method Summary | |
void |
add(HighlightDrawModelListener inListener)
Adds the Listeners interest to events from this HighlightDrawModel. |
void |
draw()
The method called to draw the images on the map. |
Layer |
getLastSelectedLayer()
Return the last layer an object was selected from. |
Layer |
getLayer()
Return the layer associated with the record that was just selected. |
Record |
getRecord()
Returns the last selected record. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons down). |
void |
mouseReleased(java.awt.event.MouseEvent e)
Called when the user releases the mouse butotn. |
void |
remove(HighlightDrawModelListener inListener)
Removes this listener from the list of listeners interested in events from this HighlightDrawModel. |
void |
reset()
Reset the position of the display |
Methods inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
getGISDisplay, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mousePressed, remove, setCommand, setGISDisplay |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HighlightDrawModel()
public HighlightDrawModel(Command inCommand)
Method Detail |
public void add(HighlightDrawModelListener inListener)
public void draw()
draw
in interface DrawModel
draw
in class SimpleDrawModel
public Layer getLastSelectedLayer()
public Record getRecord()
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class SimpleDrawModel
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class SimpleDrawModel
public void remove(HighlightDrawModelListener inListener)
public Layer getLayer()
public void reset()
reset
in interface DrawModel
reset
in class SimpleDrawModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |