public abstract class AbstractEvent extends Object implements Event
Modifier and Type | Field and Description |
---|---|
protected CallbackList |
callbacks |
Constructor and Description |
---|
AbstractEvent() |
Modifier and Type | Method and Description |
---|---|
CallbackList |
getCallbacks()
Gets the
CallbackList that is invoked after resolution of this event. |
protected void |
init()
Called once all fields have been set by the generated
constructor in a subclass.
|
protected final CallbackList callbacks
public CallbackList getCallbacks()
Event
CallbackList
that is invoked after resolution of this event.getCallbacks
in interface Event
protected void init()
This method should be used to initialize any fields that depend on parameters passed to the constructor.