public abstract class ViewEvent extends JMapEvent
ViewEventListener.| Constructor and Description |
|---|
ViewEvent(java.lang.Object source,
View view)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(ViewEventDispatcher visitor)
Visitor pattern styled method used when dispatching
the view event in the
ViewEventDispatcher. |
View |
getView()
Returns the
View instance related to this event. |
java.lang.String |
toString() |
isCancelled, setCancelledpublic ViewEvent(java.lang.Object source,
View view)
source - the object which fires the event.view - the View instance related to this event.public View getView()
View instance related to this event.View instance related to this event.public abstract void accept(ViewEventDispatcher visitor)
ViewEventDispatcher.visitor - the event dispatcher to visit.