public abstract class FrameDelegate
extends java.lang.Object
Constructor and Description |
---|
FrameDelegate() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addListener(java.lang.String eventName,
de.ims.icarus.ui.events.EventListener listener)
Registers the given
listener for events of the
specified eventName or as a listener for all
events in the case the eventName parameter is null |
abstract de.ims.icarus.ui.actions.ActionManager |
getActionManager() |
abstract void |
removeListener(de.ims.icarus.ui.events.EventListener listener)
Removes the given
EventListener from all events
it was previously registered for. |
abstract void |
removeListener(de.ims.icarus.ui.events.EventListener listener,
java.lang.String eventName)
Removes from the list of registered listeners all pairs
matching the given combination of
EventListener
and eventName . |
public abstract de.ims.icarus.ui.actions.ActionManager getActionManager()
public abstract void addListener(java.lang.String eventName, de.ims.icarus.ui.events.EventListener listener)
listener
for events of the
specified eventName
or as a listener for all
events in the case the eventName
parameter is null
eventName
- name of events to listen for or null
if
the listener is meant to receive all fired eventslistener
- the EventListener
to be registeredpublic abstract void removeListener(de.ims.icarus.ui.events.EventListener listener)
EventListener
from all events
it was previously registered for.listener
- the EventListener
to be removedpublic abstract void removeListener(de.ims.icarus.ui.events.EventListener listener, java.lang.String eventName)
EventListener
and eventName
. If eventName
is null
then all occurrences of the given listener
will be
removed.listener
- eventName
-