|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.RequestListenerInterface
public class RequestListenerInterface
Base class for request listener interfaces.
Constructor Summary | |
---|---|
RequestListenerInterface(Class<? extends IRequestListener> listenerInterfaceClass)
Constructor. |
Method Summary | |
---|---|
static RequestListenerInterface |
forName(String interfaceName)
Looks up a request interface listener by name. |
Class<? extends IRequestListener> |
getListenerInterfaceClass()
|
Method |
getMethod()
|
String |
getName()
|
static Collection<RequestListenerInterface> |
getRegisteredInterfaces()
|
void |
invoke(IRequestableComponent rcomponent)
Invokes a given interface on a component. |
void |
invoke(IRequestableComponent rcomponent,
Behavior behavior)
Invokes a given interface on a component's behavior. |
boolean |
isIncludeRenderCount()
|
boolean |
isRenderPageAfterInvocation()
|
void |
register()
Method to call to register this interface for use |
RequestListenerInterface |
setIncludeRenderCount(boolean includeRenderCount)
|
RequestListenerInterface |
setRenderPageAfterInvocation(boolean renderPageAfterInvocation)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RequestListenerInterface(Class<? extends IRequestListener> listenerInterfaceClass)
listenerInterfaceClass
- The interface class, which must extend IRequestListener.Method Detail |
---|
public static final RequestListenerInterface forName(String interfaceName)
interfaceName
- The interface name
public Class<? extends IRequestListener> getListenerInterfaceClass()
public RequestListenerInterface setIncludeRenderCount(boolean includeRenderCount)
includeRenderCount
-
public boolean isIncludeRenderCount()
public RequestListenerInterface setRenderPageAfterInvocation(boolean renderPageAfterInvocation)
renderPageAfterInvocation
-
public boolean isRenderPageAfterInvocation()
public final Method getMethod()
public final String getName()
public final void invoke(IRequestableComponent rcomponent)
rcomponent
- The component
ListenerInvocationNotAllowedException
- when listener invocation attempted on a component that does not allow itpublic final void invoke(IRequestableComponent rcomponent, Behavior behavior)
rcomponent
- The componentbehavior
-
ListenerInvocationNotAllowedException
- when listener invocation attempted on a component that does not allow itpublic void register()
public String toString()
toString
in class Object
Object.toString()
public static Collection<RequestListenerInterface> getRegisteredInterfaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |