public class Window extends BaseModal<Window>
BaseModal.ModalBaseDominoElement.ElementHandler<T>, BaseDominoElement.ResizeHandler<T>, BaseDominoElement.StyleEditor<E extends elemental2.dom.HTMLElement,T extends org.jboss.elemento.IsElement<E>>, BaseDominoElement.WavesStylerIsModalDialog.CloseHandler, IsModalDialog.ModalSize, IsModalDialog.ModalType, IsModalDialog.OpenHandlermodalElementelement| Modifier and Type | Method and Description |
|---|---|
static Window |
create(String title) |
MdiIcon |
getCloseIcon() |
MdiIcon |
getMaximizeIcon() |
MdiIcon |
getRestoreIcon() |
double |
getWindowLeft() |
double |
getWindowTop() |
Window |
hideClosing()
Hides the close control from the title bar
|
Window |
hideResizing()
Hides the resize controls from the title bar
|
boolean |
isDraggable() |
boolean |
isMaximized() |
Window |
maximize()
Stretch the window to cover the full screen
|
Window |
restore()
If maximized restore the Window to its original size
|
Window |
setDraggable(boolean draggable) |
Window |
setFixed()
Make the position of the Window fixed allowing the content of the page to scroll while the
window stay in its position
|
Window |
setHeaderBackground(Color color) |
Window |
setWindowLeft(double windowLeft) |
Window |
setWindowTop(double windowTop) |
Window |
showClosing()
Show the close control in the title bar
|
Window |
showResizing()
Show the resize controls in the title bar
|
addCloseListener, addOpenListener, appendChild, appendChild, appendFooterChild, appendFooterChild, centerVertically, close, deCenterVertically, disable, element, enable, getAutoAppendAndRemove, getBodyElement, getContentElement, getDialogElement, getFooterElement, getHeaderContainerElement, getHeaderElement, hideFooter, hideHeader, hideTitle, isAutoClose, isAutoFocus, isEnabled, isModal, isOpen, large, open, removeCloseHandler, removeOpenHandler, setAutoAppendAndRemove, setAutoClose, setAutoFocus, setModal, setModalColor, setSize, setTitle, setType, showFooter, showHeader, showTitle, smalladd, add, addClickListener, addCss, addCss, addEventListener, addEventListener, addEventsListener, addHideListener, addShowListener, alignCenter, alignRight, apply, attr, blur, childNodes, clearElement, contains, contains, contains, containsCss, css, css, cssClassByIndex, cssClassesCount, cssText, elevate, elevate, firstChild, getAttachObserver, getAttribute, getBoundingClientRect, getChildElementCount, getClickableElement, getCollapsible, getCollapsibleElement, getDetachObserver, getDominoId, getElementsCount, getElevation, getFirstChild, getId, getTextContent, getTooltip, getWavesElement, hasAttribute, hasChildNodes, hasDirectChild, hide, hideOn, id, init, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, insertFirst, insertFirst, insertFirst, isAttached, isCollapsed, isDisabled, isEmptyElement, isEqualNode, isForceHidden, isHidden, isReadOnly, item, lastChild, length, onAttached, onDetached, onResize, pullLeft, pullRight, querySelector, querySelectorAll, remove, removeAttachObserver, removeAttribute, removeChild, removeChild, removeCss, removeCss, removeCssProperty, removeDetachObserver, removeEventListener, removeEventListener, removeHideListener, removeHideOn, removeShowListener, removeShowOn, removeTooltip, removeWaves, replaceCss, setAlignItems, setAttribute, setAttribute, setAttribute, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBottom, setBottom, setBoxShadow, setCollapseStrategy, setColor, setColor, setContent, setContent, setCssProperty, setCssProperty, setCursor, setCursor, setDisabled, setDisplay, setDisplay, setDropMenu, setFlex, setFloat, setFloat, setFontSize, setFontSize, setForceHidden, setHeight, setHeight, setId, setInnerHtml, setLeft, setLeft, setLineHeight, setLineHeight, setMargin, setMargin, setMarginBottom, setMarginBottom, setMarginLeft, setMarginLeft, setMarginRight, setMarginRight, setMarginTop, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setOpacity, setOpacity, setOverFlow, setOverFlow, setOverFlowY, setPadding, setPadding, setPaddingBottom, setPaddingBottom, setPaddingLeft, setPaddingLeft, setPaddingRight, setPaddingRight, setPaddingTop, setPaddingTop, setPointerEvents, setPosition, setPosition, setReadOnly, setRight, setRight, setTabIndex, setTextAlign, setTextAlign, setTextContent, setTooltip, setTooltip, setTooltip, setTooltip, setTop, setTop, setTransitionDuration, setWidth, setWidth, setZIndex, show, showOn, style, style, styler, textContent, toggleDisplay, toggleDisplay, withWaves, withWavesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExpandedadd, add, remove, remove, removeProperty, replace, setProperty, setPropertypublic Window(String title)
title - String window titlepublic static Window create(String title)
title - String window titlepublic boolean isDraggable()
public Window setDraggable(boolean draggable)
draggable - boolean true to make this window instance draggablepublic Window maximize()
public Window restore()
public Window setHeaderBackground(Color color)
color - Color of the window title barpublic Window setFixed()
public boolean isMaximized()
public double getWindowLeft()
public Window setWindowLeft(double windowLeft)
windowLeft - double window left positionpublic double getWindowTop()
public Window setWindowTop(double windowTop)
windowTop - double top position of the windowpublic Window hideResizing()
public Window showResizing()
public Window hideClosing()
public Window showClosing()
public MdiIcon getRestoreIcon()
MdiIcon of the restore window size controlpublic MdiIcon getMaximizeIcon()
MdiIcon of the maximize window size controlCopyright © 2019–2022 Dominokit. All rights reserved.