|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ucar.unidata.view.geoloc.PickEvent
public class PickEvent
User wants to pick an object at 2D location.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PickEvent(Object source,
Point2D location,
MouseEvent mouseEvent)
Create a new PickEvent |
|
PickEvent(Object source,
Rectangle2D bounds,
MouseEvent mouseEvent)
Create a new PickEvent |
|
| Method Summary | |
|---|---|
Rectangle2D |
getBounds()
Get the Bounds property. |
Point2D |
getLocation()
Return the pick point. |
MouseEvent |
getMouseEvent()
Get the MouseEvent property. |
boolean |
isPointSelect()
Is this pick event a point (as opposed to a region). |
boolean |
isRegionSelect()
Is this pick event a region (as opposed to a point). |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PickEvent(Object source,
Point2D location,
MouseEvent mouseEvent)
source - source of eventlocation - location of eventmouseEvent - mouse event sparking this event
public PickEvent(Object source,
Rectangle2D bounds,
MouseEvent mouseEvent)
source - source of eventbounds - bounding rectangle (for rubber banding)mouseEvent - mouse event sparking this event| Method Detail |
|---|
public boolean isRegionSelect()
public boolean isPointSelect()
public Rectangle2D getBounds()
public Point2D getLocation()
public MouseEvent getMouseEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||