Java org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow.

The text is from its open source code.

Subclass

org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow has subclasses.
Click this link to see all its subclasses.

Field

StringCSS_CLASS_BLUE
CSS class for window with blue border.
StringCSS_CLASS_GRAY
CSS class for window with gray border.
StringCONTENT_ID
the default id of the content component

Constructor

ModalWindow(final String id)
Creates a new modal window component.
ModalWindow(final String id, final IModel model)
Creates a new modal window component.

Method

MarkupContaineradd(final Component... children)
Adds the child component(s) to this container.
voidclose(final IPartialPageRequestHandler target)
Closes the modal window.
voidcloseCurrent(final IPartialPageRequestHandler target)
Hides the modal window.
ZfindParent(final Class c)
Finds the first container parent of this component of the given class.
Componentget(String path)
Get a child component by looking it up with the given path.
ListgetBehaviors()
Gets the currently coupled Behavior s as a unmodifiable list.
StringgetContentId()
Returns the id of content component.
StringgetHeightUnit()
Retrns the CSS unit for initial window height.
StringgetId()
Gets the id of this component.
intgetInitialHeight()
Returns the initial height of the window.
intgetInitialWidth()
Returns the initial width of the window.
PagegetPage()
Gets the page holding this component.
StringgetPageRelativePath()
Gets the path to this component relative to its containing page, i.e.
MarkupContainergetParent()
Gets any parent container, or null if there is none.
IModelgetTitle()
Returns the title of the window.
StringgetWidthUnit()
Returns the CSS unit for initial window width.
booleanisResizable()
Returns whether the window is resizable.
booleanisShown()
Is this window currently showing.
booleanisUseInitialHeight()
Returns true if the initial height should be used (in favor of preserving real content height).
booleanisVisible()
Gets whether this component and any children are visible.
ModalWindowsetAutoSize(final boolean autoSize)
Sets whether window size will be automatically adjusted on opening to fit content's width and height.
ModalWindowsetCloseButtonCallback(final CloseButtonCallback callback)
Sets the CloseButtonCallback instance.
ModalWindowsetContent(final Component component)
Sets the content of the modal window.
ModalWindowsetCookieName(final String cookieName)
Sets the name of the cookie that is used to remember window position (and size if the window is resizable).
ModalWindowsetCssClassName(final String cssClassName)
Sets the CSS class name for this window.
ModalWindowsetHeightUnit(final String heightUnit)
Sets the CSS unit used for initial window height.
ModalWindowsetInitialHeight(final int initialHeight)
Sets the initial height of the window.
ModalWindowsetInitialWidth(final int initialWidth)
Sets the initial width of the window.
ModalWindowsetMaskType(final MaskType mask)
Sets the mask type of the window.
ModalWindowsetMinimalHeight(final int minimalHeight)
Sets the minimal height of window.
ModalWindowsetMinimalWidth(final int minimalWidth)
Sets the minimal width of window.
ComponentsetOutputMarkupId(final boolean output)
Sets whether or not component will output id attribute into the markup.
ComponentsetOutputMarkupPlaceholderTag(final boolean outputTag)
Render a placeholder tag when the component is not visible.
ModalWindowsetPageCreator(final PageCreator creator)
Sets the PageCreator instance.
ModalWindowsetResizable(final boolean resizable)
Sets whether the user will be able to resize the window.
ModalWindowsetTitle(final String title)
Sets the title of window.
ModalWindowsetTitle(IModel title)
Sets the title of window.
ModalWindowsetUseInitialHeight(final boolean useInitialHeight)
Sets whether to use initial height or preserve the real content height.
ComponentsetVisibilityAllowed(boolean allowed)
Sets whether or not this component is allowed to be visible.
ComponentsetVisible(final boolean visible)
Sets whether this component and any children are visible.
ModalWindowsetWidthUnit(final String widthUnit)
Sets the CSS unit used for initial window width.
ModalWindowsetWindowClosedCallback(final WindowClosedCallback callback)
Sets the @{link WindowClosedCallback instance.
voidshow(final IPartialPageRequestHandler target)
Shows the modal window.
ModalWindowshowUnloadConfirmation(final boolean unloadConfirmation)
Sets a flag whether to ask the user before leaving the page.