Package | Description |
---|---|
org.apache.wicket.examples.ajax.builtin.modal | |
org.apache.wicket.extensions.ajax.markup.html.modal |
Constructor and Description |
---|
ModalContent1Page(PageReference modalWindowPage,
ModalWindow window) |
ModalContent2Page(ModalWindow window) |
Modifier and Type | Method and Description |
---|---|
ModalWindow |
ModalWindow.remove(Component component) |
ModalWindow |
ModalWindow.setAutoSize(boolean autoSize)
Sets whether window size will be automatically adjusted on opening to fit content's width and
height.
|
ModalWindow |
ModalWindow.setCloseButtonCallback(ModalWindow.CloseButtonCallback callback)
Sets the
instance. |
ModalWindow |
ModalWindow.setContent(Component component)
Sets the content of the modal window.
|
ModalWindow |
ModalWindow.setCookieName(String cookieName)
Sets the name of the cookie that is used to remember window position (and size if the window
is resizable).
|
ModalWindow |
ModalWindow.setCssClassName(String cssClassName)
Sets the CSS class name for this window.
|
ModalWindow |
ModalWindow.setHeightUnit(String heightUnit)
Sets the CSS unit used for initial window height.
|
ModalWindow |
ModalWindow.setInitialHeight(int initialHeight)
Sets the initial height of the window.
|
ModalWindow |
ModalWindow.setInitialWidth(int initialWidth)
Sets the initial width of the window.
|
ModalWindow |
ModalWindow.setMaskType(ModalWindow.MaskType mask)
Sets the mask type of the window.
|
ModalWindow |
ModalWindow.setMinimalHeight(int minimalHeight)
Sets the minimal height of window.
|
ModalWindow |
ModalWindow.setMinimalWidth(int minimalWidth)
Sets the minimal width of window.
|
ModalWindow |
ModalWindow.setPageCreator(ModalWindow.PageCreator creator)
Sets the
instance. |
ModalWindow |
ModalWindow.setResizable(boolean resizable)
Sets whether the user will be able to resize the window.
|
ModalWindow |
ModalWindow.setTitle(IModel<String> title)
Sets the title of window.
|
ModalWindow |
ModalWindow.setTitle(String title)
Sets the title of window.
|
ModalWindow |
ModalWindow.setUseInitialHeight(boolean useInitialHeight)
Sets whether to use initial height or preserve the real content height.
|
ModalWindow |
ModalWindow.setWidthUnit(String widthUnit)
Sets the CSS unit used for initial window width.
|
ModalWindow |
ModalWindow.setWindowClosedCallback(ModalWindow.WindowClosedCallback callback)
Sets the
@{link instance. |
ModalWindow |
ModalWindow.showUnloadConfirmation(boolean unloadConfirmation)
Sets a flag whether to ask the user before leaving the page.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.