public class BSModalWindow
extends org.apache.wicket.markup.html.panel.Panel
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 |
|---|
BSModalWindow(String id) |
BSModalWindow(String id,
boolean wrapBodyWithForm) |
BSModalWindow(String id,
boolean wrapBodyWithForm,
boolean resetOnBodySwitch) |
BSModalWindow(String id,
org.apache.wicket.model.IModel<?> model) |
BSModalWindow(String id,
org.apache.wicket.model.IModel<?> model,
boolean wrapBodyWithForm) |
BSModalWindow(String id,
org.apache.wicket.model.IModel<?> model,
boolean wrapBodyWithForm,
boolean resetOnBodySwitch) |
| Modifier and Type | Method and Description |
|---|---|
BSModalWindow |
addButton(BSModalBorder.ButtonStyle style,
org.apache.wicket.ajax.markup.html.form.AjaxButton button) |
BSModalWindow |
addButton(BSModalBorder.ButtonStyle style,
org.apache.wicket.model.IModel<String> label,
org.apache.wicket.ajax.markup.html.form.AjaxButton button) |
<T> BSModalWindow |
addLink(BSModalBorder.ButtonStyle style,
ActionAjaxLink<T> button) |
<T> BSModalWindow |
addLink(BSModalBorder.ButtonStyle style,
org.apache.wicket.model.IModel<String> label,
ActionAjaxLink<T> button) |
org.apache.wicket.Component |
getBody() |
protected org.apache.wicket.markup.html.WebMarkupContainer |
getBodyContainer() |
org.apache.wicket.markup.html.form.Form<?> |
getForm() |
BSModalBorder |
getModalBorder() |
void |
hide(org.apache.wicket.ajax.AjaxRequestTarget target) |
boolean |
isWithAutoFocus() |
protected org.apache.wicket.markup.html.form.Form<?> |
newForm(String id) |
protected BSModalBorder |
newModalBorder(String id) |
protected void |
onConfigure() |
BSModalWindow |
removeButtons() |
BSModalWindow |
setBody(org.apache.wicket.Component body) |
BSModalWindow |
setCloseIconCallback(IConsumer<org.apache.wicket.ajax.AjaxRequestTarget> closeIconCallback) |
BSModalWindow |
setOnHideCallBack(IConsumer<org.apache.wicket.ajax.AjaxRequestTarget> onHideCallBack) |
BSModalWindow |
setSize(BSModalBorder.Size size) |
BSModalWindow |
setTitleText(org.apache.wicket.model.IModel<String> titleModel) |
void |
show(org.apache.wicket.ajax.AjaxRequestTarget target) |
getRegionMarkup, newMarkupSourcingStrategygetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onRender, 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, 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, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onEvent, onInitialize, 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, waitforEach, spliteratorpublic BSModalWindow(String id)
public BSModalWindow(String id, org.apache.wicket.model.IModel<?> model)
public BSModalWindow(String id, boolean wrapBodyWithForm)
public BSModalWindow(String id, org.apache.wicket.model.IModel<?> model, boolean wrapBodyWithForm)
public BSModalWindow(String id, boolean wrapBodyWithForm, boolean resetOnBodySwitch)
public BSModalWindow(String id, org.apache.wicket.model.IModel<?> model, boolean wrapBodyWithForm, boolean resetOnBodySwitch)
protected BSModalBorder newModalBorder(String id)
protected org.apache.wicket.markup.html.form.Form<?> newForm(String id)
public BSModalWindow setBody(org.apache.wicket.Component body)
public BSModalBorder getModalBorder()
protected final org.apache.wicket.markup.html.WebMarkupContainer getBodyContainer()
public final org.apache.wicket.Component getBody()
public org.apache.wicket.markup.html.form.Form<?> getForm()
public void show(org.apache.wicket.ajax.AjaxRequestTarget target)
public void hide(org.apache.wicket.ajax.AjaxRequestTarget target)
public BSModalWindow removeButtons()
public BSModalWindow setTitleText(org.apache.wicket.model.IModel<String> titleModel)
public BSModalWindow setSize(BSModalBorder.Size size)
public BSModalWindow addButton(BSModalBorder.ButtonStyle style, org.apache.wicket.ajax.markup.html.form.AjaxButton button)
public BSModalWindow addButton(BSModalBorder.ButtonStyle style, org.apache.wicket.model.IModel<String> label, org.apache.wicket.ajax.markup.html.form.AjaxButton button)
public <T> BSModalWindow addLink(BSModalBorder.ButtonStyle style, org.apache.wicket.model.IModel<String> label, ActionAjaxLink<T> button)
public <T> BSModalWindow addLink(BSModalBorder.ButtonStyle style, ActionAjaxLink<T> button)
public BSModalWindow setCloseIconCallback(IConsumer<org.apache.wicket.ajax.AjaxRequestTarget> closeIconCallback)
public BSModalWindow setOnHideCallBack(IConsumer<org.apache.wicket.ajax.AjaxRequestTarget> onHideCallBack)
protected void onConfigure()
onConfigure in class org.apache.wicket.Componentpublic boolean isWithAutoFocus()
Copyright © 2018. All rights reserved.