|
|||||||||||
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.SelectBoxModel
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 | |
SelectBoxModel()
Creates new SelectDrawModel |
|
SelectBoxModel(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 |
mouseDragged(java.awt.event.MouseEvent e)
As the user draws a rectangle, the selected objects will be displayed. |
void |
mousePressed(java.awt.event.MouseEvent e)
If the user moves the mouse, then set the first point |
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, mouseEntered, mouseExited, mouseMoved, remove, setCommand, setGISDisplay |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectBoxModel()
public SelectBoxModel(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 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 |