ADAPTER
- is the generic type of AbstractUiWidgetNative.getWidgetAdapter()
.CHILD
- is the generic type of the children
.public abstract class AbstractUiWidgetSingleMutableComposite<ADAPTER extends UiWidgetAdapterSingleMutableComposite<CHILD>,CHILD extends UiWidget> extends AbstractUiWidgetSingleComposite<ADAPTER,CHILD> implements UiWidgetSingleMutableComposite<CHILD>
UiWidgetSingleMutableComposite
.AbstractUiWidgetNative.SizeImpl
AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
Constructor and Description |
---|
AbstractUiWidgetSingleMutableComposite(UiContext context,
ADAPTER widgetAdapter)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setChild(CHILD child)
This method sets the single
child of this widget. |
doSetChild, getChild, getChild, getChildCount, getChildIndex, initializeWidgetAdapter, onChildRemoved, onChildSet
getChild
addChangeHandler, addStyle, clearMessages, clearValidity, createSize, 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, setModeRecursive, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, setVisible, toString, validateRecursive, visibilityChanged
addEventHandler, addValidator, clearMessagesLocal, clearValidationFailure, convertValueToString, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getSource, 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
getChild, getChildCount
getChild, getChild
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
resetValue, setValue, setValueForUser
getValue
public AbstractUiWidgetSingleMutableComposite(UiContext context, ADAPTER widgetAdapter)
context
- is the context
.widgetAdapter
- is the widget adapter
. Typically null
for
lazy initialization.public final void setChild(CHILD child)
child
of this widget. The current child
will be replaced (and is therefore removed from the UI).setChild
in interface UiWidgetSingleMutableComposite<CHILD extends UiWidget>
setChild
in class AbstractUiWidgetSingleComposite<ADAPTER extends UiWidgetAdapterSingleMutableComposite<CHILD>,CHILD extends UiWidget>
child
- is the new child
.UiWidgetSingleMutableComposite.setChild(UiWidget)
Copyright © 2001–2016 mmm-Team. All rights reserved.