Example usage for Java org.apache.wicket.extensions.ajax.markup.html.modal ModalWindow fields, constructors, methods, implement or subclass
The text is from its open source code.
String | CSS_CLASS_BLUE CSS class for window with blue border. |
String | CSS_CLASS_GRAY CSS class for window with gray border. |
String | CONTENT_ID the default id of the content component |
ModalWindow(final String id) Creates a new modal window component. | |
ModalWindow(final String id, final IModel> model) Creates a new modal window component. |
MarkupContainer | add(final Component... children) Adds the child component(s) to this container. |
void | close(final IPartialPageRequestHandler target) Closes the modal window. |
void | closeCurrent(final IPartialPageRequestHandler target) Hides the modal window. |
Z | findParent(final Class Finds the first container parent of this component of the given class. |
Component | get(String path) Get a child component by looking it up with the given path. |
List extends Behavior> | getBehaviors() Gets the currently coupled Behavior s as a unmodifiable list. |
String | getContentId() Returns the id of content component. |
String | getHeightUnit() Retrns the CSS unit for initial window height. |
String | getId() Gets the id of this component. |
int | getInitialHeight() Returns the initial height of the window. |
int | getInitialWidth() Returns the initial width of the window. |
Page | getPage() Gets the page holding this component. |
String | getPageRelativePath() Gets the path to this component relative to its containing page, i.e. |
MarkupContainer | getParent() Gets any parent container, or null if there is none. |
IModel | getTitle() Returns the title of the window. |
String | getWidthUnit() Returns the CSS unit for initial window width. |
boolean | isResizable() Returns whether the window is resizable. |
boolean | isShown() Is this window currently showing. |
boolean | isUseInitialHeight() Returns true if the initial height should be used (in favor of preserving real content height). |
boolean | isVisible() Gets whether this component and any children are visible. |
ModalWindow | setAutoSize(final boolean autoSize) Sets whether window size will be automatically adjusted on opening to fit content's width and height. |
ModalWindow | setCloseButtonCallback(final CloseButtonCallback callback) Sets the CloseButtonCallback instance. |
ModalWindow | setContent(final Component component) Sets the content of the modal window. |
ModalWindow | setCookieName(final String cookieName) Sets the name of the cookie that is used to remember window position (and size if the window is resizable). |
ModalWindow | setCssClassName(final String cssClassName) Sets the CSS class name for this window. |
ModalWindow | setHeightUnit(final String heightUnit) Sets the CSS unit used for initial window height. |
ModalWindow | setInitialHeight(final int initialHeight) Sets the initial height of the window. |
ModalWindow | setInitialWidth(final int initialWidth) Sets the initial width of the window. |
ModalWindow | setMaskType(final MaskType mask) Sets the mask type of the window. |
ModalWindow | setMinimalHeight(final int minimalHeight) Sets the minimal height of window. |
ModalWindow | setMinimalWidth(final int minimalWidth) Sets the minimal width of window. |
Component | setOutputMarkupId(final boolean output) Sets whether or not component will output id attribute into the markup. |
Component | setOutputMarkupPlaceholderTag(final boolean outputTag) Render a placeholder tag when the component is not visible. |
ModalWindow | setPageCreator(final PageCreator creator) Sets the PageCreator instance. |
ModalWindow | setResizable(final boolean resizable) Sets whether the user will be able to resize the window. |
ModalWindow | setTitle(final String title) Sets the title of window. |
ModalWindow | setTitle(IModel Sets the title of window. |
ModalWindow | setUseInitialHeight(final boolean useInitialHeight) Sets whether to use initial height or preserve the real content height. |
Component | setVisibilityAllowed(boolean allowed) Sets whether or not this component is allowed to be visible. |
Component | setVisible(final boolean visible) Sets whether this component and any children are visible. |
ModalWindow | setWidthUnit(final String widthUnit) Sets the CSS unit used for initial window width. |
ModalWindow | setWindowClosedCallback(final WindowClosedCallback callback) Sets the @{link WindowClosedCallback instance. |
void | show(final IPartialPageRequestHandler target) Shows the modal window. |
ModalWindow | showUnloadConfirmation(final boolean unloadConfirmation) Sets a flag whether to ask the user before leaving the page. |