ADAPTER
- is the generic type of AbstractUiWidgetNative.getWidgetAdapter()
.public abstract class AbstractUiWidgetPopup<ADAPTER extends UiWidgetAdapterPopup> extends AbstractUiWidgetAbstractDialogWindow<ADAPTER> implements UiWidgetPopup
UiWidgetPopup
.AbstractUiWidgetNative.SizeImpl
AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer
Modifier and Type | Field and Description |
---|---|
private UiWidgetButtonPanel |
buttonPanel |
STYLE_POPUP
STYLE_PRIMARY
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
PROPERTY_TITLE
Constructor and Description |
---|
AbstractUiWidgetPopup(UiContext context,
ADAPTER widgetAdapter)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
UiWidgetButton |
createAndAddCloseButton()
This method creates a
button to close this popup and adds it to the
button panel . |
protected abstract UiWidgetButtonPanel |
createButtonPanel() |
UiWidgetButtonPanel |
getButtonPanel() |
addCloseHandler, addOpenHandler, close, initializeWidgetAdapter, isClosable, isMaximizable, isMaximized, isMovable, isResizable, open, removeCloseHandler, removeOpenHandler, setClosable, setMaximizable, setMaximized, setMovable, setResizable, visibilityChanged
centerWindow, createSize, getPositionX, getPositionY, getSource, getTitle, setPosition, setTitle, setVisible
addChild, addChild, doAddChild, getChild, getChildCount, getChildIndex, removeChild, removeChild
getChild
addChangeHandler, addStyle, clearMessages, clearValidity, createUniqueId, createWidgetAdapter, dispose, doGetValue, doSetMode, doSetValue, doValidate, getAriaRole, getAriaRoleFixedType, getId, getIndexOfStyle, getMode, getModeFixed, getParent, getPrimaryStyle, getSize, getStyles, getTooltip, getVisibleFlag, getWidgetAdapter, getWidgetAdapter, hasStyle, hasWidgetAdapter, isDisposed, isEnabled, isModifiedRecursive, isVisible, isVisibleRecursive, removeChangeHandler, removeFromParent, removeStyle, setAriaRole, setEnabled, setFocused, setId, setIdPrefix, setMode, setMode, setModeFixed, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, toString
addEventHandler, addValidator, clearMessagesLocal, clearValidationFailure, convertValueToString, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getValueClass, getValueDirect, getValueOrException, getWidgetAdapter, hasEventSender, isMandatory, isModified, removeEventHandler, removeFromParent, removeValidator, setMandatory, setModified, setParent, setValue
addValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setClosable
centerWindow
addChild, addChild
removeChild, removeChild
getChild, getChild
getChildCount, getChildIndex
getContext, getParent, getSize
clearMessages
addEventHandler, removeEventHandler
setMode
getMode
setModeFixed
getModeFixed
setId
getId
setTooltip
getTooltip
getVisibleFlag, isVisible, setVisible, setVisible
isVisibleRecursive
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
isModified
getAriaRole
validate
setTitle
getTitle
setPosition
getPositionX, getPositionY
addCloseHandler, addOpenHandler, close, open, removeCloseHandler, removeOpenHandler
setResizable
isResizable
setMovable
isMovable
isClosable
setMaximized
isMaximized
setMaximizable
isMaximizable
resetValue, setValue, setValueForUser
getValue
private UiWidgetButtonPanel buttonPanel
getButtonPanel()
public AbstractUiWidgetPopup(UiContext context, ADAPTER widgetAdapter)
context
- is the context
.widgetAdapter
- is the widget adapter
. Typically null
for
lazy initialization.public UiWidgetButtonPanel getButtonPanel()
getButtonPanel
in interface UiWidgetPopup
UiWidgetButtonPanel
located at the bottom of this popup where
buttons
shall be added.protected abstract UiWidgetButtonPanel createButtonPanel()
button panel
instance located at the bottom of the popup.public UiWidgetButton createAndAddCloseButton()
button
to close this popup and adds it to the
button panel
.createAndAddCloseButton
in interface UiWidgetPopup
Copyright © 2001–2016 mmm-Team. All rights reserved.