Package org.hippoecm.frontend
Class Home
- java.lang.Object
-
- org.apache.wicket.Component
-
- org.apache.wicket.MarkupContainer
-
- org.apache.wicket.Page
-
- org.apache.wicket.markup.html.WebPage
-
- org.hippoecm.frontend.Home
-
- All Implemented Interfaces:
Serializable
,Iterable<org.apache.wicket.Component>
,org.apache.wicket.event.IEventSink
,org.apache.wicket.event.IEventSource
,org.apache.wicket.feedback.IFeedbackContributor
,org.apache.wicket.IConverterLocator
,org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Component>
,org.apache.wicket.IQueueRegion
,org.apache.wicket.markup.html.IHeaderContributor
,org.apache.wicket.page.IManageablePage
,org.apache.wicket.request.component.IRequestableComponent
,org.apache.wicket.request.component.IRequestablePage
,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>
,org.apache.wicket.util.io.IClusterable
,IContextMenuManager
,IRenderService
public abstract class Home extends org.apache.wicket.markup.html.WebPage implements IRenderService, IContextMenuManager
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Home()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
bind(IRenderService parent, String wicketId)
Bind the component to the specified id.void
focus(IRenderService child)
Set focus on the specified child.org.apache.wicket.Component
getComponent()
The WicketComponent
that is added to the parent.IRenderService
getParentService()
The parent service for this render service.String
getServiceId()
abstract void
processEvents()
Notify refreshables and listeners in the page for which events have been received.abstract void
refresh()
Refresh the JCR session, i.e.abstract void
render(PluginRequestTarget target)
Called after user events and JCR events have been handled, but before the rendering has started.abstract void
showContextMenu(IContextMenu active)
void
unbind()
Releases the component.-
Methods inherited from class org.apache.wicket.markup.html.WebPage
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, onRender, renderXmlDecl, reportMissingHead, setHeaders
-
Methods inherited from class org.apache.wicket.Page
componentChanged, componentRendered, detachModels, dirty, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, isBookmarkable, isErrorPage, isPageStateless, onBeforeRender, onConfigure, onDetach, onInitialize, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, toString, wasCreatedBookmarkable, wasRendered
-
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, visitChildren, visitChildren
-
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hippoecm.frontend.behaviors.IContextMenuManager
collapseAllContextMenus
-
Methods inherited from interface org.apache.wicket.IQueueRegion
dequeue, getRegionMarkup, newDequeueContext
-
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent
canCallListenerAfterExpiry, detach, get, getBehaviorById, getBehaviorId, getPage, getPageRelativePath
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getComponent
public org.apache.wicket.Component getComponent()
Description copied from interface:IRenderService
The WicketComponent
that is added to the parent. The component must have the id that was set with theIRenderService.bind(IRenderService, String)
method.- Specified by:
getComponent
in interfaceIRenderService
-
refresh
public abstract void refresh()
Refresh the JCR session, i.e. invalidate (cached) subtrees for which an event has been received.
-
processEvents
public abstract void processEvents()
Notify refreshables and listeners in the page for which events have been received.
-
render
public abstract void render(PluginRequestTarget target)
Description copied from interface:IRenderService
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.
- Specified by:
render
in interfaceIRenderService
-
focus
public void focus(IRenderService child)
Description copied from interface:IRenderService
Set focus on the specified child. Implementations should make the child visible when they themselves are visible, or become visible later.- Specified by:
focus
in interfaceIRenderService
- Parameters:
child
- The extension that requests focus. This parameter can be null, in which case the Component should set focus to itself.
-
bind
public void bind(IRenderService parent, String wicketId)
Description copied from interface:IRenderService
Bind the component to the specified id. Provides the render service with a reference to the parent render service.- Specified by:
bind
in interfaceIRenderService
-
unbind
public void unbind()
Description copied from interface:IRenderService
Releases the component. Implementations cannot use the parent reference after this method has been invoked.- Specified by:
unbind
in interfaceIRenderService
-
getParentService
public IRenderService getParentService()
Description copied from interface:IRenderService
The parent service for this render service.- Specified by:
getParentService
in interfaceIRenderService
-
getServiceId
public String getServiceId()
-
showContextMenu
public abstract void showContextMenu(IContextMenu active)
- Specified by:
showContextMenu
in interfaceIContextMenuManager
-
-