| |
|
| java.lang.Object com.ibm.richtext.textpanel.PanelEventBroadcaster
PanelEventBroadcaster | final class PanelEventBroadcaster (Code) | | This class listens for text state change notifications
and broadcasts them to all of its listeners.
|
Method Summary | |
public synchronized void | addListener(TextPanelListener listener) Add the given TextPanelListener to the TextPanelListeners to
which notifications are forwarded. | public synchronized void | removeListener(TextPanelListener listener) Remove the given TextPanelListener from the TextPanelListeners to
which notifications are forwarded. | public synchronized void | textStateChanged(int id) Receive a notification and forward it to all listeners. |
PanelEventBroadcaster | public PanelEventBroadcaster(MTextPanel panel)(Code) | | Construct a new PanelEventBroadcaster.
Parameters: panel - the TextPanel for which events are broadcasted |
addListener | public synchronized void addListener(TextPanelListener listener)(Code) | | Add the given TextPanelListener to the TextPanelListeners to
which notifications are forwarded.
Parameters: listener - the listener to add |
removeListener | public synchronized void removeListener(TextPanelListener listener)(Code) | | Remove the given TextPanelListener from the TextPanelListeners to
which notifications are forwarded.
Parameters: listener - the listener to remove |
textStateChanged | public synchronized void textStateChanged(int id)(Code) | | Receive a notification and forward it to all listeners.
|
|
|
|