| |
Modifier and Type |
Static Method and Description |
 |
add   |
Adds action-listener-a with action-listener-b and
returns the resulting multicast listener.
-
Adds action-listener-a with action-listener-b and
returns the resulting multicast listener.
- Parameters:
a - action-listener-ab - action-listener-b
|
 |
add   |
Adds adjustment-listener-a with adjustment-listener-b and
returns the resulting multicast listener.
-
Adds adjustment-listener-a with adjustment-listener-b and
returns the resulting multicast listener.
- Parameters:
a - adjustment-listener-ab - adjustment-listener-b
|
 |
add   |
Adds component-listener-a with component-listener-b and
returns the resulting multicast listener.
-
Adds component-listener-a with component-listener-b and
returns the resulting multicast listener.
- Parameters:
a - component-listener-ab - component-listener-b
|
 |
add   |
Adds container-listener-a with container-listener-b and
returns the resulting multicast listener.
-
Adds container-listener-a with container-listener-b and
returns the resulting multicast listener.
- Parameters:
a - container-listener-ab - container-listener-b
|
 |
add   |
Adds focus-listener-a with focus-listener-b and
returns the resulting multicast listener.
-
Adds focus-listener-a with focus-listener-b and
returns the resulting multicast listener.
- Parameters:
a - focus-listener-ab - focus-listener-b
|
 |
add   |
Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and
returns the resulting multicast listener.
-
Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and
returns the resulting multicast listener.
- Parameters:
a - hierarchy-bounds-listener-ab - hierarchy-bounds-listener-b- Since:
- 1.3
|
 |
add   |
Adds hierarchy-listener-a with hierarchy-listener-b and
returns the resulting multicast listener.
-
Adds hierarchy-listener-a with hierarchy-listener-b and
returns the resulting multicast listener.
- Parameters:
a - hierarchy-listener-ab - hierarchy-listener-b- Since:
- 1.3
|
 |
add   |
Adds input-method-listener-a with input-method-listener-b and
returns the resulting multicast listener.
-
Adds input-method-listener-a with input-method-listener-b and
returns the resulting multicast listener.
- Parameters:
a - input-method-listener-ab - input-method-listener-b
|
 |
add   |
Adds item-listener-a with item-listener-b and
returns the resulting multicast listener.
-
Adds item-listener-a with item-listener-b and
returns the resulting multicast listener.
- Parameters:
a - item-listener-ab - item-listener-b
|
 |
add   |
Adds key-listener-a with key-listener-b and
returns the resulting multicast listener.
-
Adds key-listener-a with key-listener-b and
returns the resulting multicast listener.
- Parameters:
a - key-listener-ab - key-listener-b
|
 |
add   |
Adds mouse-listener-a with mouse-listener-b and
returns the resulting multicast listener.
-
Adds mouse-listener-a with mouse-listener-b and
returns the resulting multicast listener.
- Parameters:
a - mouse-listener-ab - mouse-listener-b
|
 |
add   |
Adds mouse-motion-listener-a with mouse-motion-listener-b and
returns the resulting multicast listener.
-
Adds mouse-motion-listener-a with mouse-motion-listener-b and
returns the resulting multicast listener.
- Parameters:
a - mouse-motion-listener-ab - mouse-motion-listener-b
|
 |
add   |
Adds mouse-wheel-listener-a with mouse-wheel-listener-b and
returns the resulting multicast listener.
-
Adds mouse-wheel-listener-a with mouse-wheel-listener-b and
returns the resulting multicast listener.
- Parameters:
a - mouse-wheel-listener-ab - mouse-wheel-listener-b- Since:
- 1.4
|
 |
add   |
|
 |
add   |
Adds window-focus-listener-a with window-focus-listener-b
and returns the resulting multicast listener.
-
Adds window-focus-listener-a with window-focus-listener-b
and returns the resulting multicast listener.
- Parameters:
a - window-focus-listener-ab - window-focus-listener-b- Since:
- 1.4
|
 |
add   |
Adds window-listener-a with window-listener-b and
returns the resulting multicast listener.
-
Adds window-listener-a with window-listener-b and
returns the resulting multicast listener.
- Parameters:
a - window-listener-ab - window-listener-b
|
 |
add   |
Adds window-state-listener-a with window-state-listener-b
and returns the resulting multicast listener.
-
Adds window-state-listener-a with window-state-listener-b
and returns the resulting multicast listener.
- Parameters:
a - window-state-listener-ab - window-state-listener-b- Since:
- 1.4
|
 |
addInternal   |
protected static java.util.EventListener addInternal(java.util.EventListener a,
java.util.EventListener b)
Returns the resulting multicast listener from adding listener-a
and listener-b together.
protected static java.util.EventListener addInternal(java.util.EventListener a,
java.util.EventListener b)
-
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.
- Parameters:
a - event listener-ab - event listener-b
|
 |
getListeners   |
static <T extends java.util.EventListener> T[] getListeners(java.util.EventListener l,
java.lang.Class<T> listenerType)
Returns an array of all the objects chained as
FooListeners by the specified
java.util.EventListener.
public static <T extends java.util.EventListener> T[] getListeners(java.util.EventListener l,
java.lang.Class<T> listenerType)
-
Returns an array of all the objects chained as
FooListeners by the specified
java.util.EventListener.
FooListeners are chained by the
AWTEventMulticaster using the
addFooListener method.
If a null listener is specified, this method returns an
empty array. If the specified listener is not an instance of
AWTEventMulticaster, this method returns an array which
contains only the specified listener. If no such listeners are chanined,
this method returns an empty array.
- Parameters:
l - the specified java.util.EventListenerlistenerType - the type of listeners requested; this parameter
should specify an interface that descends from
java.util.EventListener
- Returns:
- an array of all objects chained as
FooListeners by the specified multicast
listener, or an empty array if no such listeners have been
chained by the specified multicast listener
- Throws:
java.lang.NullPointerException - if the specified
listenertype parameter is null
java.lang.ClassCastException - if listenerType
doesn't specify a class or interface that implements
java.util.EventListener- Since:
- 1.4
|
 |
remove   |
Removes the old action-listener from action-listener-l and
returns the resulting multicast listener.
-
Removes the old action-listener from action-listener-l and
returns the resulting multicast listener.
- Parameters:
l - action-listener-loldl - the action-listener being removed
|
 |
remove   |
Removes the old adjustment-listener from adjustment-listener-l and
returns the resulting multicast listener.
-
Removes the old adjustment-listener from adjustment-listener-l and
returns the resulting multicast listener.
- Parameters:
l - adjustment-listener-loldl - the adjustment-listener being removed
|
 |
remove   |
Removes the old component-listener from component-listener-l and
returns the resulting multicast listener.
-
Removes the old component-listener from component-listener-l and
returns the resulting multicast listener.
- Parameters:
l - component-listener-loldl - the component-listener being removed
|
 |
remove   |
Removes the old container-listener from container-listener-l and
returns the resulting multicast listener.
-
Removes the old container-listener from container-listener-l and
returns the resulting multicast listener.
- Parameters:
l - container-listener-loldl - the container-listener being removed
|
 |
remove   |
Removes the old focus-listener from focus-listener-l and
returns the resulting multicast listener.
-
Removes the old focus-listener from focus-listener-l and
returns the resulting multicast listener.
- Parameters:
l - focus-listener-loldl - the focus-listener being removed
|
 |
remove   |
Removes the old hierarchy-bounds-listener from
hierarchy-bounds-listener-l and returns the resulting multicast
listener.
-
Removes the old hierarchy-bounds-listener from
hierarchy-bounds-listener-l and returns the resulting multicast
listener.
- Parameters:
l - hierarchy-bounds-listener-loldl - the hierarchy-bounds-listener being removed- Since:
- 1.3
|
 |
remove   |
Removes the old hierarchy-listener from hierarchy-listener-l and
returns the resulting multicast listener.
-
Removes the old hierarchy-listener from hierarchy-listener-l and
returns the resulting multicast listener.
- Parameters:
l - hierarchy-listener-loldl - the hierarchy-listener being removed- Since:
- 1.3
|
 |
remove   |
Removes the old input-method-listener from input-method-listener-l and
returns the resulting multicast listener.
-
Removes the old input-method-listener from input-method-listener-l and
returns the resulting multicast listener.
- Parameters:
l - input-method-listener-loldl - the input-method-listener being removed
|
 |
remove   |
static ItemListener remove(ItemListener l,
ItemListener oldl)
Removes the old item-listener from item-listener-l and
returns the resulting multicast listener.
-
Removes the old item-listener from item-listener-l and
returns the resulting multicast listener.
- Parameters:
l - item-listener-loldl - the item-listener being removed
|
 |
remove   |
static KeyListener remove(KeyListener l,
KeyListener oldl)
Removes the old key-listener from key-listener-l and
returns the resulting multicast listener.
-
Removes the old key-listener from key-listener-l and
returns the resulting multicast listener.
- Parameters:
l - key-listener-loldl - the key-listener being removed
|
 |
remove   |
Removes the old mouse-listener from mouse-listener-l and
returns the resulting multicast listener.
-
Removes the old mouse-listener from mouse-listener-l and
returns the resulting multicast listener.
- Parameters:
l - mouse-listener-loldl - the mouse-listener being removed
|
 |
remove   |
Removes the old mouse-motion-listener from mouse-motion-listener-l
and returns the resulting multicast listener.
-
Removes the old mouse-motion-listener from mouse-motion-listener-l
and returns the resulting multicast listener.
- Parameters:
l - mouse-motion-listener-loldl - the mouse-motion-listener being removed
|
 |
remove   |
Removes the old mouse-wheel-listener from mouse-wheel-listener-l
and returns the resulting multicast listener.
-
Removes the old mouse-wheel-listener from mouse-wheel-listener-l
and returns the resulting multicast listener.
- Parameters:
l - mouse-wheel-listener-loldl - the mouse-wheel-listener being removed- Since:
- 1.4
|
 |
remove   |
static TextListener remove(TextListener l,
TextListener oldl)
|
 |
remove   |
Removes the old window-focus-listener from window-focus-listener-l
and returns the resulting multicast listener.
-
Removes the old window-focus-listener from window-focus-listener-l
and returns the resulting multicast listener.
- Parameters:
l - window-focus-listener-loldl - the window-focus-listener being removed- Since:
- 1.4
|
 |
remove   |
Removes the old window-listener from window-listener-l and
returns the resulting multicast listener.
-
Removes the old window-listener from window-listener-l and
returns the resulting multicast listener.
- Parameters:
l - window-listener-loldl - the window-listener being removed
|
 |
remove   |
Removes the old window-state-listener from window-state-listener-l
and returns the resulting multicast listener.
-
Removes the old window-state-listener from window-state-listener-l
and returns the resulting multicast listener.
- Parameters:
l - window-state-listener-loldl - the window-state-listener being removed- Since:
- 1.4
|
 |
removeInternal   |
protected static java.util.EventListener removeInternal(java.util.EventListener l,
java.util.EventListener oldl)
Returns the resulting multicast listener after removing the
old listener from listener-l.
protected static java.util.EventListener removeInternal(java.util.EventListener l,
java.util.EventListener oldl)
-
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.
- Parameters:
l - the listener being removed fromoldl - the listener being removed
|
 |
save   |
protected static void save(java.io.ObjectOutputStream s,
java.lang.String k,
java.util.EventListener l)
protected static void save(java.io.ObjectOutputStream s,
java.lang.String k,
java.util.EventListener l)
throws java.io.IOException
|