com.sun.java.accessibility.util
Class AccessibilityListenerList
java.lang.Object
|
+--com.sun.java.accessibility.util.AccessibilityListenerList
- public class AccessibilityListenerList
- extends java.lang.Object
The AccessibilityListenerList is a pretty blatant copy of the
Swing EventListerList class.
Method Summary |
void |
add(java.lang.Class t,
java.util.EventListener l)
Add the listener as a listener of the specified type. |
int |
getListenerCount()
|
int |
getListenerCount(java.lang.Class t)
Return the total number of listeners of the supplied type
for this listenerlist. |
java.lang.Object[] |
getListenerList()
|
void |
remove(java.lang.Class t,
java.util.EventListener l)
Remove the listener as a listener of the specified type. |
java.lang.String |
toString()
Return a string representation of the EventListenerList. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
listenerList
protected transient java.lang.Object[] listenerList
AccessibilityListenerList
public AccessibilityListenerList()
getListenerList
public java.lang.Object[] getListenerList()
getListenerCount
public int getListenerCount()
getListenerCount
public int getListenerCount(java.lang.Class t)
- Return the total number of listeners of the supplied type
for this listenerlist.
add
public void add(java.lang.Class t,
java.util.EventListener l)
- Add the listener as a listener of the specified type.
- Parameters:
t
- the type of the listener to be addedl
- the listener to be added
remove
public void remove(java.lang.Class t,
java.util.EventListener l)
- Remove the listener as a listener of the specified type.
- Parameters:
t
- the type of the listener to be removedl
- the listener to be removed
toString
public java.lang.String toString()
- Return a string representation of the EventListenerList.
- Overrides:
- toString in class java.lang.Object