public final class RemoveHandlerEvent extends Event
Constructor and Description |
---|
RemoveHandlerEvent(EventType handlerType)
Creates the event with the type of removed handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.
|
EventType |
getType()
Returns the event type used to register this event to find handlers of the appropriate class.
|
boolean |
isRecognize(EventType type)
Returns
true if the type of event handler is equals to the event handler type provided as argument, otherwise false . |
public static final EventType TYPE
public RemoveHandlerEvent(EventType handlerType)
handlerType
- the type of removed handler.public EventType getType()
Event
protected void dispatch(EventHandler handler)
Event
public final boolean isRecognize(EventType type)
true
if the type of event handler is equals to the event handler type provided as argument, otherwise false
.type
- the event handler type to use checking if equals to the type of event handler of eventtrue
if the type of event handler is equals to the event handler type provided as argument, otherwise false