public class Border.BorderBodyContainer extends WebMarkupContainer implements IQueueRegion
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
rendering |
ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING| Constructor and Description |
|---|
Border.BorderBodyContainer(String id)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Component |
findComponentToDequeue(ComponentTag tag)
Queries this container to find a child that can be dequeued that matches the specified tag.
|
IMarkupFragment |
getMarkup()
Get the <wicket:body> markup from the body's parent container
|
IMarkupFragment |
getMarkup(Component child)
Get the child markup which must be in between the <span wicktet:id="myBorder"> tags
|
DequeueContext |
newDequeueContext()
Creates a new
DequeueContext that will be used to dequeue children of this region. |
protected void |
onComponentTag(ComponentTag tag)
Processes the component tag.
|
void |
onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag)
Handle the container's body.
|
protected void |
onRender()
Implementation that renders this component.
|
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkupType, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onDetach, onInitialize, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdequeue, getRegionMarkuppublic Border.BorderBodyContainer(String id)
id - protected void onComponentTag(ComponentTag tag)
ComponentonComponentTag in class Componenttag - Tag to modifypublic void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag)
MarkupContaineronComponentTagBody in class MarkupContainermarkupStream - The markup streamopenTag - The open tag for the bodyprotected void onRender()
ComponentonRender in class MarkupContainerComponent.onRender()public IMarkupFragment getMarkup()
getMarkup in class ComponentMarkupContainer.getMarkup(Component)public IMarkupFragment getMarkup(Component child)
getMarkup in class MarkupContainerchild - The child component. If null, the container's markup will be returned. See Border,
Panel or Enclosure where getMarkup(null) != getMarkup().Component.getMarkup()public DequeueContext newDequeueContext()
IQueueRegionDequeueContext that will be used to dequeue children of this region.
Usually containers will create a context with their associated markup by getting it via
MarkupContainer.getAssociatedMarkup(), but components that do not render markup in a
standard way (such as repeaters and borders) may choose to override this method to implement
custom behavior for the dequeueing process.newDequeueContext in interface IQueueRegionnewDequeueContext in class MarkupContainerIQueueRegion.newDequeueContext()public Component findComponentToDequeue(ComponentTag tag)
MarkupContainerfindComponentToDequeue in class MarkupContainerCopyright © 2006–2021 Apache Software Foundation. All rights reserved.