ADAPTER
- is the generic type of AbstractUiWidgetNative.getWidgetAdapter()
.public abstract class AbstractUiWidgetMainWindow<ADAPTER extends UiWidgetAdapterMainWindow> extends AbstractUiWidgetAbstractWindow<ADAPTER> implements UiWidgetMainWindow
UiWidgetMainWindow
.AbstractUiWidgetNative.SizeImpl
AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer
Modifier and Type | Field and Description |
---|---|
private UiWidgetMenuBar |
menuBar |
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
PROPERTY_TITLE
Constructor and Description |
---|
AbstractUiWidgetMainWindow(UiContext context,
ADAPTER widgetAdapter)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
UiWidgetMenuBar |
getMenuBar() |
protected void |
initializeWidgetAdapter(ADAPTER adapter)
This method is called from
AbstractUiWidgetNative.getWidgetAdapter() to initialize the UiWidgetAdapter . |
boolean |
isResizable()
This method determines if this object is resizable.
|
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, visibilityChanged
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
isWindowPositionAbsolute
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
resetValue, setValue, setValueForUser
getValue
private UiWidgetMenuBar menuBar
getMenuBar()
public AbstractUiWidgetMainWindow(UiContext context, ADAPTER widgetAdapter)
context
- is the context
.widgetAdapter
- is the widget adapter
. Typically null
for
lazy initialization.protected void initializeWidgetAdapter(ADAPTER adapter)
AbstractUiWidgetNative.getWidgetAdapter()
to initialize the UiWidgetAdapter
. All
attributes of this widget need to be set in the UiWidgetAdapter
.initializeWidgetAdapter
in class AbstractUiWidgetAbstractWindow<ADAPTER extends UiWidgetAdapterMainWindow>
adapter
- is the UiWidgetAdapter
to initialize.public UiWidgetMenuBar getMenuBar()
getMenuBar
in interface UiWidgetMainWindow
menu bar
of this window. Will be created and attached to the window
on the first call of this method.public boolean isResizable()
isResizable
in interface AttributeReadResizable
true
if the object can be
resized
(by the end-user), false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.