|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.core.request.handler.BookmarkableListenerInterfaceRequestHandler
public class BookmarkableListenerInterfaceRequestHandler
Request handler for bookmarkable pages with listener interface. This handler is only used to
generate URLs. Rendering is always handled by ListenerInterfaceRequestHandler
.
Constructor Summary | |
---|---|
BookmarkableListenerInterfaceRequestHandler(IPageAndComponentProvider pageComponentProvider,
RequestListenerInterface listenerInterface,
Integer behaviorIndex)
Construct. |
|
BookmarkableListenerInterfaceRequestHandler(PageAndComponentProvider pageComponentProvider,
RequestListenerInterface listenerInterface)
Construct. |
Method Summary | |
---|---|
void |
detach(IRequestCycle requestCycle)
|
Integer |
getBehaviorIndex()
Returns index of behavior this listener is targeted on or null if component is
the target |
IRequestableComponent |
getComponent()
Returns the component instance. |
String |
getComponentPath()
Returns the page relative path to the component instance. |
RequestListenerInterface |
getListenerInterface()
Returns the listener interface. |
IRequestablePage |
getPage()
Returns the page. |
Class<? extends IRequestablePage> |
getPageClass()
Returns the page class |
Integer |
getPageId()
Returns the page id. |
PageParameters |
getPageParameters()
|
Integer |
getRenderCount()
Returns the number of times this page has been rendered. |
boolean |
isPageInstanceCreated()
Checks if the page instance is already created or if it will be created when IPageRequestHandler.getPage() is called |
void |
respond(IRequestCycle requestCycle)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookmarkableListenerInterfaceRequestHandler(IPageAndComponentProvider pageComponentProvider, RequestListenerInterface listenerInterface, Integer behaviorIndex)
pageComponentProvider
- listenerInterface
- behaviorIndex
- public BookmarkableListenerInterfaceRequestHandler(PageAndComponentProvider pageComponentProvider, RequestListenerInterface listenerInterface)
pageComponentProvider
- listenerInterface
- Method Detail |
---|
public IRequestableComponent getComponent()
IComponentRequestHandler
getComponent
in interface IComponentRequestHandler
IComponentRequestHandler.getComponent()
public final String getComponentPath()
IComponentRequestHandler
getComponentPath
in interface IComponentRequestHandler
public IRequestablePage getPage()
IPageRequestHandler
getPage
in interface IPageRequestHandler
IPageRequestHandler.getPage()
public Class<? extends IRequestablePage> getPageClass()
IPageClassRequestHandler
getPageClass
in interface IPageClassRequestHandler
IPageClassRequestHandler.getPageClass()
public Integer getPageId()
IPageRequestHandler
getPageId
in interface IPageRequestHandler
IPageRequestHandler.getPageId()
public PageParameters getPageParameters()
getPageParameters
in interface IPageClassRequestHandler
IPageClassRequestHandler.getPageParameters()
public void detach(IRequestCycle requestCycle)
detach
in interface IRequestHandler
IRequestHandler.detach(org.apache.wicket.request.IRequestCycle)
public RequestListenerInterface getListenerInterface()
public Integer getBehaviorIndex()
null
if component is
the target
null
public void respond(IRequestCycle requestCycle)
respond
in interface IRequestHandler
IRequestHandler.respond(org.apache.wicket.request.IRequestCycle)
public final boolean isPageInstanceCreated()
IPageRequestHandler
IPageRequestHandler.getPage()
is called
isPageInstanceCreated
in interface IPageRequestHandler
true
iff page instance is already createdpublic final Integer getRenderCount()
IPageRequestHandler
getRenderCount
in interface IPageRequestHandler
IRequestablePage.getRenderCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |