public interface IEventDispatcher
Modifier and Type | Method and Description |
---|---|
void |
addEventHandler(String type, IEventHandler handler)
Adds new event handler.
|
void |
dispatchEvent(Event event)
Dispatches an event.
|
void |
dispatchEvent(Event event, boolean delayed)
Dispatches a delayed event.
|
boolean |
hasEventHandler(String type)
Checks if event dispatcher as an event handler assigned for a certain event type.
|
void |
removeAllHandlers()
Remove all event handlers.
|
void |
removeEventHandler(String type, IEventHandler handler)
Removes event handler.
|
void addEventHandler(String type, IEventHandler handler)
type
- a type of event to be handled.
handler
- event handler.
void dispatchEvent(Event event)
event
-
void dispatchEvent(Event event, boolean delayed)
event
-
delayed
-
boolean hasEventHandler(String type)
type
-
void removeEventHandler(String type, IEventHandler handler)
type
-
handler
-
void removeAllHandlers()
Copyright © 1998–2016 iText Group NV. All rights reserved.