public class ListenerMapImpl extends java.lang.Object implements ListenerMap
Constructor and Description |
---|
ListenerMapImpl(java.lang.Object target,
java.util.Map invokers) |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvideListener(java.lang.String name)
Returns true if this ListenerMapImpl can provide a listener with the given name.
|
IActionListener |
getListener(java.lang.String name)
Gets a listener for the given name (which is both a property name and a method name).
|
java.util.Collection |
getListenerNames()
Returns an unmodifiable collection of the names of the listeners implemented by the target
class.
|
public ListenerMapImpl(java.lang.Object target, java.util.Map invokers)
public boolean canProvideListener(java.lang.String name)
ListenerMap
canProvideListener
in interface ListenerMap
public IActionListener getListener(java.lang.String name)
ListenerMap
IActionListener
.getListener
in interface ListenerMap
name
- the name of the method to invoke (the most appropriate method will be selected if
there are multiple overloadings of the same method name)public java.util.Collection getListenerNames()
ListenerMap
getListenerNames
in interface ListenerMap