|
|||||||||||
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.ClickPointModel
Draw model for capturing a click location on the map.
Field Summary |
Fields inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
myCommand, myGISDisplay |
Constructor Summary | |
ClickPointModel()
|
|
ClickPointModel(Command inCommand)
|
Method Summary | |
Point |
getPoint()
Retrieve the point where the user released the mounse. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Called when the user releases the mouse button. |
void |
reset()
Reset the display |
Methods inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
draw, getGISDisplay, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, 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 ClickPointModel()
public ClickPointModel(Command inCommand)
Method Detail |
public Point getPoint()
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class SimpleDrawModel
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 |