T - the generic type of the model.public abstract class PopupoverlayPanel<T>
extends org.apache.wicket.markup.html.panel.GenericPanel<T>
PopupoverlayBehavior.| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSE_OVERLAY_SUFFIX |
static String |
OPEN_OVERLAY_SUFFIX |
| Constructor and Description |
|---|
PopupoverlayPanel(String id,
org.apache.wicket.model.IModel<T> model)
Instantiates a new popupoverlay panel.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.markup.html.form.Button |
newOpenButton(String id)
Factory method for create the Button.
|
protected abstract org.apache.wicket.MarkupContainer |
newOverlayReference(String id,
org.apache.wicket.model.IModel<T> model)
Abstract factory method for create the new overlay reference MarkupContainer.
|
protected PopupoverlayBehavior |
newPopupoverlayBehavior()
Factory method for create the
PopupoverlayBehavior. |
protected PopupoverlaySettings |
newPopupoverlaySettings()
Factory method for create the
PopupoverlaySettings. |
void |
onBeforeRender() |
getModel, getModelObject, setModel, setModelObjectgetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, 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, getMarkup, 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, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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, waitforEach, spliteratorpublic static final String OPEN_OVERLAY_SUFFIX
public static final String CLOSE_OVERLAY_SUFFIX
protected org.apache.wicket.markup.html.form.Button newOpenButton(String id)
Component.onBeforeRender() from the derived classes and can be overridden so users
can provide their own version of a Button.id - the wicket idprotected abstract org.apache.wicket.MarkupContainer newOverlayReference(String id, org.apache.wicket.model.IModel<T> model)
Component.onBeforeRender() from the derived classes and must be
overridden so users can provide their own version of the overlay component.
Note: If you have in your settings the attribute 'blur' set to false than you have to provide
a close component. As from the documentation of the popupoverlay plugin this component have
to provide the class attribute with the value 'overlayReference.getMarkupId() + "_close"'.
For instance:
Button button = new Button("button");
getOverlayReference().add(button);
// add class attributte with the markup id from the overlay with the
// suffix '_close' that indicates that the overlay shell close...
button.add(new AttributeModifier("class", getOverlayReference().getMarkupId() + "_close"));
id - the idmodel - the modelprotected PopupoverlayBehavior newPopupoverlayBehavior()
PopupoverlayBehavior. This method is invoked in the
method Component.onBeforeRender() from the derived classes and can be overridden so
users can provide their own version of the PopupoverlayBehavior.protected PopupoverlaySettings newPopupoverlaySettings()
PopupoverlaySettings. This method is invoked in the
method newPopupoverlayBehavior() from the derived classes and can be overridden so
users can provide their own version of the PopupoverlaySettings.PopupoverlaySettings.public void onBeforeRender()
onBeforeRender in class org.apache.wicket.ComponentCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.