|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup
org.apache.wicket.markup.html.panel.Panel
org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow
org.efaps.ui.wicket.components.modalwindow.ModalWindowContainer
public class ModalWindowContainer
This is a wrapper class for a modal window.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow |
|---|
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.WindowClosedCallback |
| Nested classes/interfaces inherited from class org.apache.wicket.Component |
|---|
org.apache.wicket.Component.ComponentModelChange, org.apache.wicket.Component.EnabledChange, org.apache.wicket.Component.IVisitor<T extends org.apache.wicket.Component>, org.apache.wicket.Component.VisibilityChange |
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow |
|---|
CSS_CLASS_BLUE, CSS_CLASS_GRAY |
| Fields inherited from class org.apache.wicket.Component |
|---|
ENABLE, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
| Constructor Summary | |
|---|---|
ModalWindowContainer(java.lang.String _wicketId)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close(org.apache.wicket.ajax.AjaxRequestTarget _target)
Method is called when the modal window is closed. |
static java.lang.String |
getCloseJavacript()
This method is a exact copy of the private method getCloseJavacript() in #org.efaps.ui.wicket.components.modalwindow.ModalWindow, but it has to be public. |
java.lang.String |
getReloadJavaScript()
Method creates a JavaScript to reload the parent page. |
boolean |
isReloadChild()
This is the getter method for the instance variable reloadChild. |
boolean |
isUpdateParent()
This is the getter method for the instance variable updateParent
. |
protected org.apache.wicket.util.string.AppendingStringBuffer |
postProcessSettings(org.apache.wicket.util.string.AppendingStringBuffer _settings)
|
void |
reset()
This method sets this ModalWindowContainer into the state like it was just created. |
org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow |
setInitialHeight(int _initialHeight)
Check it the size of the modal window is not to big and reduces it if necessary. |
org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow |
setInitialWidth(int _initialWidth)
Check it the size of the modal window is not to big and reduces it if necessary. |
void |
setReloadChild(boolean _reloadchild)
This is the setter method for the instance variable reloadChild. |
void |
setUpdateParent(boolean _updateParent)
This is the setter method for the instance variable updateParent
. |
| Methods inherited from class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow |
|---|
closeCurrent, getContent, getContentId, getCookieName, getCssClassName, getHeightUnit, getInitialHeight, getInitialWidth, getMaskType, getMinimalHeight, getMinimalWidth, getPageMapName, getTitle, getWidthUnit, getWindowOpenJavascript, isResizable, isShown, isUseInitialHeight, makeContentVisible, onBeforeRender, onComponentTag, onDetach, remove, setCloseButtonCallback, setContent, setCookieName, setCssClassName, setHeightUnit, setMaskType, setMinimalHeight, setMinimalWidth, setPageCreator, setPageMapName, setResizable, setTitle, setTitle, setUseInitialHeight, setWidthUnit, setWindowClosedCallback, show |
| Methods inherited from class org.apache.wicket.markup.html.panel.Panel |
|---|
onComponentTagBody, renderHead |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
|---|
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
|---|
getMarkupType, getWebPage, getWebRequest |
| Methods inherited from class org.apache.wicket.MarkupContainer |
|---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren |
| Methods inherited from class org.apache.wicket.Component |
|---|
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModalWindowContainer(java.lang.String _wicketId)
_wicketId - wicket id of this component| Method Detail |
|---|
public boolean isReloadChild()
reloadChild.
reloadChildpublic void setReloadChild(boolean _reloadchild)
reloadChild.
_reloadchild - the reloadParent to setpublic void close(org.apache.wicket.ajax.AjaxRequestTarget _target)
close in class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow_target - AjaxRequestTargetpublic java.lang.String getReloadJavaScript()
public boolean isUpdateParent()
updateParent
.
updateParentpublic void setUpdateParent(boolean _updateParent)
updateParent
.
_updateParent - the updateParent to setpublic void reset()
org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow
public static java.lang.String getCloseJavacript()
#org.efaps.ui.wicket.components.modalwindow.ModalWindow, but it has to be public.
public org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow setInitialHeight(int _initialHeight)
setInitialHeight in class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow_initialHeight - height
ModalWindow.setInitialHeight(int)public org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow setInitialWidth(int _initialWidth)
setInitialWidth in class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow_initialWidth - width
ModalWindow.setInitialWidth(int)protected org.apache.wicket.util.string.AppendingStringBuffer postProcessSettings(org.apache.wicket.util.string.AppendingStringBuffer _settings)
postProcessSettings in class org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow_settings - AppendingStringBuffer
postProcessSettings(org.apache.wicket.util.string.AppendingStringBuffer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||