EventQueueMonitor, EventQueueMonitor#addTopLevelWindowListener, EventQueueMonitor#removeTopLevelWindowListener
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static TopLevelWindowListener | |
| protected static EventListener | addInternal(EventListener a, EventListener b)
Hides java. Returns the resulting multicast listener from adding listener-a and listener-b together. |
| public static TopLevelWindowListener | |
| protected static EventListener | removeInternal(EventListener l, EventListener oldl)
Hides java. Returns the resulting multicast listener after removing the old listener from listener-l. |
| public void | topLevelWindowCreated(Window w)
Implements com. Invoked when a new top level window has been created. |
| public void | topLevelWindowDestroyed(Window w)
Implements com. Invoked when a top level window has been destroyed. |
| TopLevelWindowMulticaster | back to summary |
|---|---|
| protected TopLevelWindowMulticaster(EventListener a, EventListener b) | |
| add | back to summary |
|---|---|
| public static TopLevelWindowListener add(TopLevelWindowListener a, TopLevelWindowListener b) | |
| addInternal | back to summary |
|---|---|
| protected static EventListener addInternal(EventListener a, EventListener b) Hides java. Doc from java. Returns the resulting multicast listener from adding listener-a and listener-b together. If listener-a is null, it returns listener-b; If listener-b is null, it returns listener-a If neither are null, then it creates and returns a new AWTEventMulticaster instance which chains a with b. | |
| remove | back to summary |
|---|---|
| public static TopLevelWindowListener remove(TopLevelWindowListener l, TopLevelWindowListener oldl) | |
| removeInternal | back to summary |
|---|---|
| protected static EventListener removeInternal(EventListener l, EventListener oldl) Hides java. Doc from java. Returns the resulting multicast listener after removing the old listener from listener-l. If listener-l equals the old listener OR listener-l is null, returns null. Else if listener-l is an instance of AWTEventMulticaster, then it removes the old listener from it. Else, returns listener l. | |
| topLevelWindowCreated | back to summary |
|---|---|
| public void topLevelWindowCreated(Window w) Implements com. Doc from com. Invoked when a new top level window has been created. | |
| topLevelWindowDestroyed | back to summary |
|---|---|
| public void topLevelWindowDestroyed(Window w) Implements com. Doc from com. Invoked when a top level window has been destroyed. | |