|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.AWTEventMulticaster
com.esri.client.local.ServerEventMulticaster
public class ServerEventMulticaster

The Class ServerEventMulticaster allows multiple listeners to be chained together.
Also allows one class to extend both
ServerMessageListener and
ServerLifetimeListener.
AWTEventMulticaster| Field Summary |
|---|
| Fields inherited from class java.awt.AWTEventMulticaster |
|---|
a, b |
| Constructor Summary | |
|---|---|
protected |
ServerEventMulticaster(EventListener a,
EventListener b)
Constructs a new server event multicaster. |
| Method Summary | |
|---|---|
static ServerLifetimeListener |
add(ServerLifetimeListener a,
ServerLifetimeListener b)
Adds listeners for ServerLifetimeEvent. |
static ServerMessageListener |
add(ServerMessageListener a,
ServerMessageListener b)
Adds listeners for ServerMessageEvent. |
protected static EventListener |
addInternal(EventListener a,
EventListener b)
Adds an event listener. |
void |
handleMessage(ServerMessageEvent e)
|
protected EventListener |
remove(EventListener oldListener)
|
static ServerLifetimeListener |
remove(ServerLifetimeListener listener,
ServerLifetimeListener oldListener)
Removes listeners for ServerLifetimeEvent. |
static ServerMessageListener |
remove(ServerMessageListener listener,
ServerMessageListener oldListener)
Removes listeners for ServerMessageEvent. |
void |
serverLifetimeInitialized(ServerLifetimeEvent e)
|
void |
serverLifetimeShutdown(ServerLifetimeEvent e)
|
| Methods inherited from class java.awt.AWTEventMulticaster |
|---|
actionPerformed, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, adjustmentValueChanged, ancestorMoved, ancestorResized, caretPositionChanged, componentAdded, componentHidden, componentMoved, componentRemoved, componentResized, componentShown, focusGained, focusLost, getListeners, hierarchyChanged, inputMethodTextChanged, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeInternal, save, saveInternal, textValueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServerEventMulticaster(EventListener a,
EventListener b)
a - the ab - the b| Method Detail |
|---|
public static ServerMessageListener add(ServerMessageListener a,
ServerMessageListener b)
a - the ab - the b
public static ServerMessageListener remove(ServerMessageListener listener,
ServerMessageListener oldListener)
listener - the listeneroldListener - the old listener
public static ServerLifetimeListener add(ServerLifetimeListener a,
ServerLifetimeListener b)
a - the ab - the b
public static ServerLifetimeListener remove(ServerLifetimeListener listener,
ServerLifetimeListener oldListener)
listener - the listeneroldListener - the old listener
public void handleMessage(ServerMessageEvent e)
handleMessage in interface ServerMessageListenerpublic void serverLifetimeInitialized(ServerLifetimeEvent e)
serverLifetimeInitialized in interface ServerLifetimeListenerpublic void serverLifetimeShutdown(ServerLifetimeEvent e)
serverLifetimeShutdown in interface ServerLifetimeListener
protected static EventListener addInternal(EventListener a,
EventListener b)
a - the ab - the b
protected EventListener remove(EventListener oldListener)
remove in class AWTEventMulticaster
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||