T - the generic type of the model object.public abstract class BaseModalWindow<T>
extends org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow
BaseModalWindow.org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.CloseButtonBehavior, org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.CloseButtonCallback, org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.MaskType, org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.PageCreator, org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.WindowClosedCallbackCONTENT_ID, CSS_CLASS_BLUE, CSS_CLASS_GRAYENABLE, 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 |
|---|
BaseModalWindow(String id,
org.apache.wicket.model.IModel<T> model,
String title,
int initialWidth,
int initialHeight)
Instantiates a new
BaseModalWindow. |
BaseModalWindow(String id,
String title,
int initialWidth,
int initialHeight,
org.apache.wicket.model.IModel<T> model)
Instantiates a new base modal window.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.Component |
newContent(String contentId,
org.apache.wicket.model.IModel<T> model)
Factory method for create the new
Component for the content. |
abstract void |
onCancel(org.apache.wicket.ajax.AjaxRequestTarget target)
Abstract callback method that have to be overwritten to provide specific action for cancel.
|
abstract void |
onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
T object)
Abstract callback method that have to be overwritten to provide specific action for select.
|
close, closeCurrent, getCloseJavacript, getContent, getContentId, getCookieName, getCssClassName, getHeightUnit, getInitialHeight, getInitialWidth, getMaskType, getMinimalHeight, getMinimalWidth, getShowJavaScript, getTitle, getWidthUnit, getWindowOpenJavaScript, isAutoSize, isCustomComponent, isResizable, isShown, isUseInitialHeight, makeContentVisible, newCloseButtonBehavior, newCssResource, onBeforeRender, onComponentTag, onDetach, postProcessSettings, remove, renderHead, setAutoSize, setCloseButtonCallback, setContent, setCookieName, setCssClassName, setHeightUnit, setInitialHeight, setInitialWidth, setMaskType, setMinimalHeight, setMinimalWidth, setPageCreator, setResizable, setTitle, setTitle, setUseInitialHeight, setWidthUnit, setWindowClosedCallback, show, showUnloadConfirmation, showUnloadConfirmationgetRegionMarkup, 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, onRender, queue, 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, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, 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 BaseModalWindow(String id, org.apache.wicket.model.IModel<T> model, String title, int initialWidth, int initialHeight)
BaseModalWindow.id - the idmodel - the modeltitle - the titleinitialWidth - the initial widthinitialHeight - the initial heightpublic BaseModalWindow(String id, String title, int initialWidth, int initialHeight, org.apache.wicket.model.IModel<T> model)
id - the idtitle - the titleinitialWidth - the initial widthinitialHeight - the initial heightmodel - the modelprotected org.apache.wicket.Component newContent(String contentId, org.apache.wicket.model.IModel<T> model)
Component for the content. This method is invoked
in the constructor from the derived classes and can be overridden so users can provide their
own version of a new Component for the content.contentId - the content idmodel - the modelComponent for the content.public abstract void onCancel(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the targetpublic abstract void onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
T object)
target - the targetobject - the objectCopyright © 2010–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.