public abstract class Event
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.NonVetoable
An BusEvent implementation that cannot be vetoed.
|
Constructor and Description |
---|
Event(IEventListener source)
Creates a new BusEvent.
|
Modifier and Type | Method and Description |
---|---|
IEventListener |
getSource()
Returns the sender of this BusEvent.
|
boolean |
isVetoed()
Returns if this BusEvent has been vetoed by another bus component.
|
java.lang.String |
paramString()
Returns a string representation of this BusEvent's parameters.
|
java.lang.String |
toString()
Returns a string representation of this BusEvent.
|
void |
veto()
Vetoes this BusEvent.
|
public Event(IEventListener source)
source
- The BusEvent sourcepublic IEventListener getSource()
public void veto()
public boolean isVetoed()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String paramString()
Built on January 16 2019