|
|||||||||||
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.BoxDrawModel
A model used for highlighting features on the map as the pointer is moved over it. Creation date: (4/18/2001 3:20:16 PM)
Field Summary |
Fields inherited from class gistoolkit.display.drawmodel.SimpleDrawModel |
myCommand, myGISDisplay |
Constructor Summary | |
BoxDrawModel()
HighlightDrawModel constructor comment. |
|
BoxDrawModel(Command inCommand)
HighlightDrawModel constructor comment. |
Method Summary | |
void |
draw()
The function which is called to draw the image on the map. |
Envelope |
getEnvelope()
Retrieves the Envelope associated with the box. |
java.awt.Rectangle |
getRectangle()
Retrieves the rectangle drawn on the screen. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Called when the user releases the mouse button. |
void |
mousePressed(java.awt.event.MouseEvent e)
Called when the user presses the mouse butotn. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Called when the user releases the mouse butotn. |
void |
reset()
Reset the position of the display |
void |
setRectangle(java.awt.Rectangle inRectangle)
Set the rectangle to use. |
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 BoxDrawModel()
public BoxDrawModel(Command inCommand)
Method Detail |
public void draw()
draw
in interface DrawModel
draw
in class SimpleDrawModel
public Envelope getEnvelope()
public java.awt.Rectangle getRectangle()
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class SimpleDrawModel
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class SimpleDrawModel
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class SimpleDrawModel
public void setRectangle(java.awt.Rectangle inRectangle)
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 |