|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListenerMap
| Method Summary | |
|---|---|
boolean |
canProvideListener(String name)
Returns true if this ListenerMapImpl can provide a listener with the given name. |
IActionListener |
getImplicitListener(IComponent component)
Gets a listener on the given component generated from the capitalized component id, prefixed by "do". |
IActionListener |
getListener(String name)
Gets a listener for the given name (which is both a property name and a method name). |
Collection |
getListenerNames()
Returns an unmodifiable collection of the names of the listeners implemented by the target class. |
| Method Detail |
|---|
IActionListener getListener(String name)
IActionListener.
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)
IActionListener.
org.apache.hivemind.ApplicationRuntimeException - if the listener can not be created.IActionListener getImplicitListener(IComponent component)
component - the component whose id is used to make up the name of the
expected listener
IActionListener.
org.apache.hivemind.ApplicationRuntimeException - if the listener can not be found on the componentCollection getListenerNames()
boolean canProvideListener(String name)
name - Name of the method to check listener existance of.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||