Package org.hippoecm.frontend.service
Interface IRenderService
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
AbstractListingPlugin
,AbstractRenderService
,BreadcrumbPlugin
,BrowserPlugin
,CompatibilityWorkflowPlugin
,ExpandCollapseListingPlugin
,Home
,ListRenderService
,ListViewPlugin
,ListViewService
,PanelPluginPerspective
,Perspective
,RenderPlugin
,RenderService
,TabsContainerService
,TabsPlugin
public interface IRenderService
extends org.apache.wicket.util.io.IClusterable
The service interface that is used to create
Component
hierarchies.-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(IRenderService parent, String id) Bind the component to the specified id.void
focus
(IRenderService child) Set focus on the specified child.org.apache.wicket.Component
The WicketComponent
that is added to the parent.Deprecated.void
render
(PluginRequestTarget target) Called after user events and JCR events have been handled, but before the rendering has started.void
unbind()
Releases the component.
-
Method Details
-
getComponent
org.apache.wicket.Component getComponent()The WicketComponent
that is added to the parent. The component must have the id that was set with thebind(IRenderService, String)
method. -
render
Called after user events and JCR events have been handled, but before the rendering has started. Plugins can registerComponent
s with the request target to enlist in the rendering phase.Implementations that use extensions must call the same method on those.
-
focus
Set focus on the specified child. Implementations should make the child visible when they themselves are visible, or become visible later.- Parameters:
child
- The extension that requests focus. This parameter can be null, in which case the Component should set focus to itself.
-
bind
Bind the component to the specified id. Provides the render service with a reference to the parent render service. -
unbind
void unbind()Releases the component. Implementations cannot use the parent reference after this method has been invoked. -
getParentService
Deprecated.The parent service for this render service.
-