org.opengis.go.display.event
Interface GraphicEvent
-
- All Known Subinterfaces:
- GraphicChangeEvent, GraphicKeyEvent, GraphicMouseEvent
public interface GraphicEventProvides a common abstraction for the various event objects pertaining to key, mouse, other implementation-specific controls, or change events on aGraphic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidconsume()Consumes thisGraphicEventso that it will not be processed in the default manner by the source from which it originated.GraphicgetGraphic()Returns theGraphicthisGraphicEventinitially occurred on.booleanisConsumed()Returns whether or not this event has been consumed.
-
-
-
Method Detail
-
getGraphic
Graphic getGraphic()
Returns theGraphicthisGraphicEventinitially occurred on.- Returns:
- the
Graphicsource of this event ornullif none.
-
consume
void consume()
Consumes thisGraphicEventso that it will not be processed in the default manner by the source from which it originated.
-
isConsumed
boolean isConsumed()
Returns whether or not this event has been consumed.- Returns:
- the consumed status.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG