|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tapestry.listener.ListenerMap
Maps a class to a set of listeners based on the public methods of the class.
ListenerMapPropertyAccessor
is setup to provide these
methods as named properties of the ListenerMap.
Constructor Summary | |
ListenerMap(java.lang.Object target)
|
Method Summary | |
boolean |
canProvideListener(java.lang.String name)
Returns true if this ListenerMap can provide a listener with the given name. |
java.lang.Object |
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ListenerMap(java.lang.Object target)
Method Detail |
public java.lang.Object getListener(java.lang.String name)
org.apache.hivemind.ApplicationRuntimeException
- if the listener can not be created.public java.util.Collection getListenerNames()
public boolean canProvideListener(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |