Package org.flexdock.event
Class RegistrationHandler
java.lang.Object
org.flexdock.event.EventHandler
org.flexdock.event.RegistrationHandler
- Author:
- Christopher Butler
-
Field Summary
Fields inherited from class org.flexdock.event.EventHandler
globalListeners
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsEvent
(Event evt) Tests a given event to determine if this handler can handle that event.boolean
acceptsListener
(EventListener listener) void
handleEvent
(Event evt, EventListener listener, int eventType) Methods inherited from class org.flexdock.event.EventHandler
addListener, getListeners, handleEvent, removeListener
-
Constructor Details
-
RegistrationHandler
public RegistrationHandler()
-
-
Method Details
-
acceptsEvent
Description copied from class:EventHandler
Tests a given event to determine if this handler can handle that event.- Specified by:
acceptsEvent
in classEventHandler
- Parameters:
evt
- the event to test.- Returns:
true
if this handler handles the event,false
otherwise.
-
acceptsListener
- Specified by:
acceptsListener
in classEventHandler
-
handleEvent
- Specified by:
handleEvent
in classEventHandler
-