|
|||||||||||
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.SelectDrawModel
gistoolkit.display.drawmodel.SelectPointModel
Handles the selection of a single object from the currently selected layer.
Field Summary |
Fields inherited from class gistoolkit.display.drawmodel.SelectDrawModel |
mySelectedRecords |
Fields inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
myCommand, myGISDisplay |
Constructor Summary | |
SelectPointModel()
Creates new SelectDrawModel |
|
SelectPointModel(Command inCommand)
Creates new SelectDrawModel |
Method Summary | |
void |
draw()
Draw the selected records |
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 butotn. |
void |
reset()
Reset the display |
Methods inherited from class gistoolkit.display.drawmodel.SelectDrawModel |
add, fireRecordsDeselected, fireRecordsSelected, getNear, getSelectedLayer, getSelectedRecords, remove, setSelectedLayer, setSelectedRecords, setSelectedRecordsNoNotify |
Methods inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
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 SelectPointModel()
public SelectPointModel(Command inCommand)
Method Detail |
public Point getPoint()
public void draw()
draw
in interface DrawModel
draw
in class SelectDrawModel
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 SelectDrawModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |