DELEGATE - is the generic type of the delegate.public abstract class UiWidgetCustomAbstractDialogWindow<DELEGATE extends UiWidgetAbstractDialogWindow> extends UiWidgetCustomAbstractWindow<DELEGATE> implements UiWidgetAbstractDialogWindow
custom
widget implementing UiWidgetAbstractDialogWindow.AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainerSTYLE_PRIMARYSTYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_TITLE| Constructor and Description |
|---|
UiWidgetCustomAbstractDialogWindow(UiContext context,
DELEGATE delegate)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCloseHandler(UiHandlerEventClose handler)
This method adds the given
UiHandlerEventClose to this object. |
void |
addOpenHandler(UiHandlerEventOpen handler)
This method adds the given
UiHandlerEventOpen to this object. |
void |
close()
Closes this object so it gets
hidden. |
boolean |
isClosable()
This method determines if this object (e.g.
|
boolean |
isMaximizable()
This method determines if this object can be
(un)maximized by the end-user. |
boolean |
isMaximized()
This method determines if this object is maximized.
|
boolean |
isMovable()
This method determines if this object can be moved.
|
void |
open()
Opens this object so it gets
visible. |
boolean |
removeCloseHandler(UiHandlerEventClose handler)
This method removes the given
UiHandlerEventClose from this object. |
boolean |
removeOpenHandler(UiHandlerEventOpen handler)
This method removes the given
UiHandlerEventOpen from this object. |
void |
setClosable(boolean closable)
This method sets the
closable attribute. |
void |
setMaximizable(boolean maximizable)
This method set the
maximizable state of this object. |
void |
setMaximized(boolean maximized)
This method (un)
maximizes the object. |
void |
setMovable(boolean movable)
This method sets the
movable attribute. |
void |
setResizable(boolean resizable)
This method sets the
resizable attribute. |
centerWindow, getPositionX, getPositionY, getTitle, isResizable, setPosition, setTitleaddChild, addChild, removeChild, removeChilddoGetValue, doSetValue, getChild, getChild, getChildCount, getChildIndexaddStyle, clearMessages, clearValidity, dispose, doInitialize, doSetMode, doValidate, getAriaRole, getDelegate, getDelegate, getId, getMode, getModeFixed, getParent, getPrimaryStyle, getSize, getSource, getStyles, getTooltip, getValueClass, getVisibleFlag, getWidgetAdapter, hasStyle, hasWidgetAdapter, initialize, isDisposed, isEnabled, isModifiedRecursive, isVisible, isVisibleRecursive, removeFromParent, removeStyle, setEnabled, setFocused, setId, setMode, setMode, setModeFixed, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, setVisibleaddChangeHandler, addEventHandler, addValidator, clearMessagesLocal, clearValidationFailure, convertValueToString, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getValueDirect, getValueOrException, getWidgetAdapter, hasEventSender, isMandatory, isModified, removeChangeHandler, removeEventHandler, removeFromParent, removeValidator, setMandatory, setModified, setParent, setValue, toStringaddValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcenterWindowaddChild, addChildremoveChild, removeChildgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidatesetTitlegetTitlesetPositiongetPositionX, getPositionYisResizablegetValuegetValueAndValidate, getValueDirectaddChangeHandler, removeChangeHandlerresetValue, setValue, setValue, setValueForUsergetOriginalValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorpublic void open()
visible. Has the same effect as
setVisible(true).open in interface UiFeatureOpenClosepublic void close()
hidden. Has the same effect as
setVisible(false).close in interface UiFeatureOpenClosepublic void addOpenHandler(UiHandlerEventOpen handler)
UiHandlerEventOpen to this object.addOpenHandler in interface UiFeatureOpenClosehandler - is the UiHandlerEventOpen to add.public void addCloseHandler(UiHandlerEventClose handler)
UiHandlerEventClose to this object.addCloseHandler in interface UiFeatureOpenClosehandler - is the UiHandlerEventClose to add.public boolean removeOpenHandler(UiHandlerEventOpen handler)
UiHandlerEventOpen from this object.removeOpenHandler in interface UiFeatureOpenClosehandler - is the UiHandlerEventClose to remove.true if the handler has been removed successfully, false
if it was NOT registered and nothing has changed.public boolean removeCloseHandler(UiHandlerEventClose handler)
UiHandlerEventClose from this object.removeCloseHandler in interface UiFeatureOpenClosehandler - is the UiHandlerEventClose to remove.true if the handler has been removed successfully, false
if it was NOT registered and nothing has changed.public void setMovable(boolean movable)
movable attribute.setMovable in interface AttributeWriteMovablemovable - is the new value of AttributeReadMovable.isMovable().public boolean isMaximized()
isMaximized in interface AttributeReadMaximizedtrue if the object is maximized, false otherwise.public void setMaximizable(boolean maximizable)
maximizable state of this object.setMaximizable in interface AttributeWriteMaximizablemaximizable - - true if a (icon) button shall be available to (un)maximize the object
(window), false otherwise.AttributeReadMaximizable.isMaximizable()public boolean isMaximizable()
(un)maximized by the end-user.isMaximizable in interface AttributeReadMaximizabletrue if the object is maximizable, false otherwise.public void setResizable(boolean resizable)
resizable attribute.setResizable in interface AttributeWriteResizableresizable - is the new value of AttributeReadResizable.isResizable().public void setClosable(boolean closable)
closable attribute.
By default a dialog window is closable. If you set closable to false there is no icon-button
displayed in the title-bar and hitting the escape key will not close the window.setClosable in interface AttributeWriteClosablesetClosable in interface UiWidgetAbstractDialogWindowclosable - is the new value of AttributeReadClosable.isClosable().public boolean isMovable()
isMovable in interface AttributeReadMovabletrue if the object can be moved by the end-user (by dragging around),
false otherwise.public boolean isClosable()
isClosable in interface AttributeReadClosabletrue if the object can be closed by the end-user, false otherwise.public void setMaximized(boolean maximized)
maximizes the object. If it is un-maximized, its size and position
will be restored to the values before it was maximized.setMaximized in interface AttributeWriteMaximizedmaximized - - true to maximize, false to un-maximize.AttributeReadMaximized.isMaximized()Copyright © 2001–2016 mmm-Team. All rights reserved.