|
|||||||||||
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.SelectPointsModel
Handles the selection of multiple objects 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 | |
SelectPointsModel()
Creates new SelectDrawModel |
|
SelectPointsModel(Command inCommand)
Creates new SelectDrawModel |
Method Summary | |
void |
draw()
Draws the box on the screen, calls the draw in the super class to draw the shapes. |
void |
fireRecordDeselected(Record tempRecord)
sends the notification if the record is Deselected. |
void |
fireRecordSelected(Record tempRecord)
sends the notification if the record is selected. |
void |
keyPressed(java.awt.event.KeyEvent inKeyEvent)
Called when a key is pressed |
void |
mouseDragged(java.awt.event.MouseEvent e)
If the mouse is dragged, then move the last point. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Handle the selection when the mouse is moved |
void |
mousePressed(java.awt.event.MouseEvent e)
If the user presses the mouse button, then add the point to the list of points. |
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, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, remove, setCommand, setGISDisplay |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectPointsModel()
public SelectPointsModel(Command inCommand)
Method Detail |
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class SimpleDrawModel
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class SimpleDrawModel
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class SimpleDrawModel
public void draw()
draw
in interface DrawModel
draw
in class SelectDrawModel
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class SimpleDrawModel
public void fireRecordSelected(Record tempRecord)
public void fireRecordDeselected(Record tempRecord)
public void keyPressed(java.awt.event.KeyEvent inKeyEvent)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
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 |