Module org.apache.wicket.core
Class PageAndComponentProvider
java.lang.Object
org.apache.wicket.core.request.handler.PageProvider
org.apache.wicket.core.request.handler.PageAndComponentProvider
- All Implemented Interfaces:
Serializable
,IPageAndComponentProvider
,IPageProvider
,IClusterable
Extension of
PageProvider
that is also capable of providing a Component belonging to the
page.- Author:
- Matej Knopp
- See Also:
-
Constructor Summary
ConstructorDescriptionPageAndComponentProvider
(int pageId, Class<? extends IRequestablePage> pageClass, Integer renderCount, String componentPath) PageAndComponentProvider
(int pageId, Integer renderCount, String componentPath) PageAndComponentProvider
(Class<? extends IRequestablePage> pageClass, String componentPath) PageAndComponentProvider
(Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, String componentPath) PageAndComponentProvider
(Integer pageId, Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, Integer renderCount, String componentPath) PageAndComponentProvider
(IRequestablePage page, String componentPath) PageAndComponentProvider
(IRequestablePage page, IRequestableComponent component) PageAndComponentProvider
(IRequestablePage page, IRequestableComponent component, PageParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionReturns component on specified page with given path.Returns the page relative component path.Methods inherited from class org.apache.wicket.core.request.handler.PageProvider
detach, doesProvideNewPage, getPageClass, getPageId, getPageInstance, getPageParameters, getPageSource, getRenderCount, hasPageInstance, setPageParameters, setPageSource, toString, wasExpired
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.wicket.core.request.handler.IPageProvider
detach, doesProvideNewPage, getPageClass, getPageId, getPageInstance, getPageParameters, getRenderCount, hasPageInstance, wasExpired
-
Constructor Details
-
PageAndComponentProvider
- Parameters:
page
-componentPath
-- See Also:
-
PageAndComponentProvider
- Parameters:
page
-component
-- See Also:
-
PageAndComponentProvider
public PageAndComponentProvider(Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, String componentPath) - Parameters:
pageClass
-pageParameters
-componentPath
-- See Also:
-
PageAndComponentProvider
- Parameters:
pageClass
-componentPath
-- See Also:
-
PageAndComponentProvider
public PageAndComponentProvider(int pageId, Class<? extends IRequestablePage> pageClass, Integer renderCount, String componentPath) - Parameters:
pageId
-pageClass
-renderCount
-componentPath
-- See Also:
-
PageAndComponentProvider
public PageAndComponentProvider(Integer pageId, Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, Integer renderCount, String componentPath) - Parameters:
pageId
-pageClass
-pageParameters
-renderCount
-componentPath
-- See Also:
-
PageAndComponentProvider
- Parameters:
pageId
-renderCount
-componentPath
-- See Also:
-
PageAndComponentProvider
public PageAndComponentProvider(IRequestablePage page, IRequestableComponent component, PageParameters parameters)
-
-
Method Details
-
getComponent
Description copied from interface:IPageAndComponentProvider
Returns component on specified page with given path.- Specified by:
getComponent
in interfaceIPageAndComponentProvider
- Returns:
- component
-
getComponentPath
Description copied from interface:IPageAndComponentProvider
Returns the page relative component path.- Specified by:
getComponentPath
in interfaceIPageAndComponentProvider
- Returns:
- the page relative component path.
- See Also:
-