public interface DialogWindow extends Window
| Modifier and Type | Interface and Description |
|---|---|
static class |
DialogWindow.WindowMode
Supported dialog window modes.
|
Window.BeforeCloseEvent, Window.BeforeCloseWithCloseButtonEvent, Window.BeforeCloseWithShortcutEvent, Window.CloseListener, Window.CloseOrigin, Window.CloseWithCommitListener, Window.Committable, Window.ContentSwitchMode, Window.Editor<T extends Entity>, Window.HasFoldersPane, Window.HasUserIndicator, Window.HasWorkArea, Window.Lookup<T extends Entity>, Window.TopLevelWindow, Window.WrapperFrame.MessageMode, Frame.MessageType, Frame.NotificationTypeExpandingLayout.ExpandDirectionComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
Name that is used to register a client type specific screen implementation in
UiComponents. |
BROWSE_WINDOW_SUFFIX, CLOSE_ACTION_ID, COMMIT_ACTION_ID, CREATE_WINDOW_SUFFIX, EDITOR_WINDOW_SUFFIX, LOOKUP_WINDOW_SUFFIX, SELECT_ACTION_IDAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS| Modifier and Type | Method and Description |
|---|---|
void |
center()
Sets this window to be centered on screen.
|
float |
getDialogHeight() |
SizeUnit |
getDialogHeightUnit() |
java.lang.String |
getDialogStylename() |
float |
getDialogWidth() |
SizeUnit |
getDialogWidthUnit() |
int |
getPositionX() |
int |
getPositionY() |
DialogWindow.WindowMode |
getWindowMode() |
boolean |
isCloseOnClickOutside() |
boolean |
isDraggable() |
boolean |
isModal() |
boolean |
isResizable() |
void |
setCloseOnClickOutside(boolean closeOnClickOutside)
Sets if window can be closed by click outside of window content (by modality curtain).
|
void |
setDialogHeight(java.lang.String dialogHeight)
Sets dialog height.
|
void |
setDialogStylename(java.lang.String stylename)
Sets the custom CSS style.
|
void |
setDialogWidth(java.lang.String dialogWidth)
Sets dialog width.
|
void |
setDraggable(boolean draggable)
Enables or disables that a window can be dragged (moved) by the user.
|
void |
setModal(boolean modal)
Sets window modality.
|
default void |
setPosition(int x,
int y)
Sets the position of the window on the screen.
|
void |
setPositionX(int positionX)
Sets the distance of Window left border in pixels from left border of the containing (main window).
|
void |
setPositionY(int positionY)
Sets the distance of Window top border in pixels from top border of the containing (main window).
|
void |
setResizable(boolean resizable)
Sets window resizable.
|
void |
setWindowMode(DialogWindow.WindowMode mode)
Sets the mode for the window.
|
addBeforeCloseWithCloseButtonListener, addBeforeCloseWithShortcutListener, addBeforeWindowCloseListener, addCloseListener, addCloseWithCommitListener, addListener, addTimer, applySettings, close, close, closeAndRun, deleteSettings, getContext, getDialogOptions, getFocusComponent, getFrameOwner, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getSettings, getTimer, getWindowManager, isCloseable, removeBeforeCloseWithCloseButtonListener, removeBeforeCloseWithShortcutListener, removeBeforeWindowCloseListener, removeCloseListener, removeCloseWithCommitListener, removeListener, saveSettings, setCloseable, setFocusComponent, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, validate, validateAlladdFacet, getFacet, getFacetNN, getFacets, isValid, removeFacet, validateexpand, expand, getExpandDirection, isExpanded, resetExpandedadd, getComponent, getComponentNN, indexOfadd, add, focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream, remove, remove, removeAlladdStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetFrame, setFramegetSpacing, setSpacinggetMargin, setMargin, setMargin, setMarginaddAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActionsgetIcon, setIcon, setIconFromSetgetCaption, setCaptiongetDescription, setDescriptionopenEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPagegetExpandRatio, setExpandRatiostatic final java.lang.String NAME
UiComponents.void setDialogWidth(java.lang.String dialogWidth)
dialogWidth - widthfloat getDialogWidth()
SizeUnit getDialogWidthUnit()
void setDialogHeight(java.lang.String dialogHeight)
dialogHeight - heightfloat getDialogHeight()
SizeUnit getDialogHeightUnit()
void setDialogStylename(java.lang.String stylename)
stylename - style namejava.lang.String getDialogStylename()
void setResizable(boolean resizable)
resizable - resizable flagboolean isResizable()
void setDraggable(boolean draggable)
draggable - draggable flagboolean isDraggable()
void setModal(boolean modal)
modal - modal flagboolean isModal()
void setCloseOnClickOutside(boolean closeOnClickOutside)
closeOnClickOutside - true if window to be closed by click outside of window content (by modality curtain)boolean isCloseOnClickOutside()
void setWindowMode(DialogWindow.WindowMode mode)
mode - modeDialogWindow.WindowMode getWindowMode()
void center()
default void setPosition(int x,
int y)
x - left position in pixelsy - top position in pixelsvoid setPositionX(int positionX)
positionX - left position in pixelsint getPositionX()
void setPositionY(int positionY)
positionY - top position in pixelsint getPositionY()