| Constructor and Description |
|---|
CListenerCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCDockableLocationListener(CDockableLocationListener listener)
Stores an additional
CDockableLocationListener in this collection. |
void |
addCDockablePropertyListener(CDockablePropertyListener listener)
Stores an additional
CDockablePropertyListener in this collection. |
void |
addCDockableStateListener(CDockableStateListener listener)
Stores an additional
CDockableStateListener in this collection. |
void |
addDoubleClickListener(CDoubleClickListener listener)
Stores an additional
CDoubleClickListener in this collection. |
void |
addFocusListener(CFocusListener listener)
Adds a
CFocusListener to this collection. |
void |
addKeyboardListener(CKeyboardListener listener)
Stores an additional
CKeyboardListener in this collection. |
void |
addVetoClosingListener(CVetoClosingListener listener)
Stores an additional
CVetoClosingListener in this collection. |
void |
addVetoFocusListener(CVetoFocusListener listener)
Adds a listener to this collection.
|
CDockableLocationListener |
getCDockableLocationListener()
Gets a
CDockableLocationListener which forwards all calls to its
methods to the listeners registered at this collection. |
CDockableLocationListener[] |
getCDockableLocationListeners()
Gets all currently registered
CDockableLocationListeners collected
in an array. |
CDockablePropertyListener |
getCDockablePropertyListener()
Gets a
CDockablePropertyListener which forwards all calls to its
methods to the listeners registered at this collection. |
CDockablePropertyListener[] |
getCDockablePropertyListeners()
Gets all currently registered
CDockableStateListeners collected
in an array. |
CDockableStateListener |
getCDockableStateListener()
Gets a
CDockableStateListener which forwards all calls to its
methods to the listeners registered at this collection. |
CDockableStateListener[] |
getCDockableStateListeners()
Gets all currently registered
CDockableStateListeners collected
in an array. |
CDoubleClickListener |
getDoubleClickListener()
Gets a
CDoubleClickListener which forwards all calls to its
methods to the listener registered at this collection. |
CDoubleClickListener[] |
getDoubleClickListeners()
Gets all currently registered
CDoubleClickListeners collected
in an array. |
CFocusListener |
getFocusListener()
Gets a
CFocusListener which forwards all calls to its
methods to the listener registered at this collection. |
CFocusListener[] |
getFocusListeners()
Gets all currently registered
CFocusListeners collected in
an array. |
CKeyboardListener |
getKeyboardListener()
Gets a
CKeyboardListener which forwards all calls to its
methods to the listener registered at this collection. |
CKeyboardListener[] |
getKeyboardListeners()
Gets all currently registered
CKeyboardListeners collected
in an array. |
CVetoClosingListener |
getVetoClosingListener()
Gets a
CVetoClosingListener that forwards all events to the other
registered listeners. |
CVetoClosingListener[] |
getVetoClosingListeners()
Gets all currently registered
CVetoClosingListeners collected
in an array. |
CVetoFocusListener |
getVetoFocusListener()
Gets a
CVetoFocusListener which forwards all calls to
its methods to the listeners registered in this collection. |
CVetoFocusListener[] |
getVetoFocusListeners()
Gets all the
CVetoFocusListener that are collected in
this collection. |
boolean |
hasCDockableLocationListeners()
Tells whether at least one
CDockableStateListener is currently
registered. |
boolean |
hasVetoClosingListeners()
Tells whether there is at least one
CVetoClosingListener registered in
this collection. |
void |
removeCDockableLocationListener(CDockableLocationListener listener)
Removes a listener from this collection
|
void |
removeCDockablePropertyListener(CDockablePropertyListener listener)
Removes a listener from this collection.
|
void |
removeCDockableStateListener(CDockableStateListener listener)
Removes a listener from this collection
|
void |
removeDoubleClickListener(CDoubleClickListener listener)
Removes a listener from this collection.
|
void |
removeFocusListener(CFocusListener listener)
Removes a listener from this collection.
|
void |
removeKeyboardListener(CKeyboardListener listener)
Removes a listener from this collection.
|
void |
removeVetoClosingListener(CVetoClosingListener listener)
Removes
listener from this collection. |
void |
removeVetoFocusListener(CVetoFocusListener listener)
Removes a listener from this collection
|
public void addCDockableStateListener(CDockableStateListener listener)
CDockableStateListener in this collection.listener - the additional listenerpublic void removeCDockableStateListener(CDockableStateListener listener)
listener - the listener to removepublic CDockableStateListener[] getCDockableStateListeners()
CDockableStateListeners collected
in an array. Modifications of the array will not modify this collection.public CDockableLocationListener getCDockableLocationListener()
CDockableLocationListener which forwards all calls to its
methods to the listeners registered at this collection.public boolean hasCDockableLocationListeners()
CDockableStateListener is currently
registered.true if there is at least one listenerpublic void addCDockableLocationListener(CDockableLocationListener listener)
CDockableLocationListener in this collection.listener - the additional listenerpublic void removeCDockableLocationListener(CDockableLocationListener listener)
listener - the listener to removepublic CDockableLocationListener[] getCDockableLocationListeners()
CDockableLocationListeners collected
in an array. Modifications of the array will not modify this collection.public CDockableStateListener getCDockableStateListener()
CDockableStateListener which forwards all calls to its
methods to the listeners registered at this collection.public void addCDockablePropertyListener(CDockablePropertyListener listener)
CDockablePropertyListener in this collection.listener - the additional listenerpublic void removeCDockablePropertyListener(CDockablePropertyListener listener)
listener - the listener to removepublic CDockablePropertyListener[] getCDockablePropertyListeners()
CDockableStateListeners collected
in an array. Modifications of the array will not modify this collection.public CDockablePropertyListener getCDockablePropertyListener()
CDockablePropertyListener which forwards all calls to its
methods to the listeners registered at this collection.public void addFocusListener(CFocusListener listener)
CFocusListener to this collection.listener - the new listenerpublic void removeFocusListener(CFocusListener listener)
listener - the listener to removepublic CFocusListener[] getFocusListeners()
CFocusListeners collected in
an array. Modifications of the array will not modify this collection.public CFocusListener getFocusListener()
CFocusListener which forwards all calls to its
methods to the listener registered at this collection.public void addVetoFocusListener(CVetoFocusListener listener)
listener - the additional listenerpublic void removeVetoFocusListener(CVetoFocusListener listener)
listener - the listener to removepublic CVetoFocusListener[] getVetoFocusListeners()
CVetoFocusListener that are collected in
this collection.public CVetoFocusListener getVetoFocusListener()
CVetoFocusListener which forwards all calls to
its methods to the listeners registered in this collection.public void addKeyboardListener(CKeyboardListener listener)
CKeyboardListener in this collection.listener - the new listenerpublic void removeKeyboardListener(CKeyboardListener listener)
listener - the listener to removepublic CKeyboardListener[] getKeyboardListeners()
CKeyboardListeners collected
in an array. Modifications of the array will not modify this collection.public CKeyboardListener getKeyboardListener()
CKeyboardListener which forwards all calls to its
methods to the listener registered at this collection.public void addDoubleClickListener(CDoubleClickListener listener)
CDoubleClickListener in this collection.listener - the additional listenerpublic void removeDoubleClickListener(CDoubleClickListener listener)
listener - the listener to removepublic CDoubleClickListener[] getDoubleClickListeners()
CDoubleClickListeners collected
in an array. Modifications of the array will not modify this collection.public CDoubleClickListener getDoubleClickListener()
CDoubleClickListener which forwards all calls to its
methods to the listener registered at this collection.public CVetoClosingListener getVetoClosingListener()
CVetoClosingListener that forwards all events to the other
registered listeners.public void addVetoClosingListener(CVetoClosingListener listener)
CVetoClosingListener in this collection.listener - the new listenerpublic void removeVetoClosingListener(CVetoClosingListener listener)
listener from this collection.listener - the listener to removepublic boolean hasVetoClosingListeners()
CVetoClosingListener registered in
this collection.public CVetoClosingListener[] getVetoClosingListeners()
CVetoClosingListeners collected
in an array. Modifications of the array will not modify this collection.Copyright © 2018. All rights reserved.