org.opengis.go.display.event
Interface GraphicMouseEvent
-
- All Superinterfaces:
- GraphicEvent
public interface GraphicMouseEvent extends GraphicEvent
Provides a common abstraction for the various event objects pertaining to mouse events on aGraphic.
-
-
Field Summary
Fields Modifier and Type Field and Description static intMOUSE_CLICKEDFlag for mouse clicked.static intMOUSE_DWELLEDFlag for mouse dwelled.static intMOUSE_PRESSEDFlag for mouse pressed.static intMOUSE_RELEASEDFlag for mouse released.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetID()Get the ID flag for this event.java.awt.event.MouseEventgetMouseEvent()Returns theMouseEventthat this event references.-
Methods inherited from interface org.opengis.go.display.event.GraphicEvent
consume, getGraphic, isConsumed
-
-
-
-
Field Detail
-
MOUSE_CLICKED
static final int MOUSE_CLICKED
Flag for mouse clicked.- See Also:
- Constant Field Values
-
MOUSE_DWELLED
static final int MOUSE_DWELLED
Flag for mouse dwelled.- See Also:
- Constant Field Values
-
MOUSE_PRESSED
static final int MOUSE_PRESSED
Flag for mouse pressed.- See Also:
- Constant Field Values
-
MOUSE_RELEASED
static final int MOUSE_RELEASED
Flag for mouse released.- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
int getID()
Get the ID flag for this event. ReturnsAWTEvent.getID(), unless the semantic is not supported byMouseEvent, e.g.MOUSE_DWELLED.
-
getMouseEvent
java.awt.event.MouseEvent getMouseEvent()
Returns theMouseEventthat this event references.- Returns:
- the
MouseEventreferenced by this event.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG