ADAPTER - is the generic type of AbstractUiWidgetNative.getWidgetAdapter().public abstract class AbstractUiWidgetAbstractButtonContainer<ADAPTER extends UiWidgetAdapterAbstractButtonContainer> extends AbstractUiWidgetDynamicPanel<ADAPTER,UiWidgetRegular> implements UiWidgetAbstractButtonContainer
UiWidgetAbstractButtonContainer.AbstractUiWidgetNative.SizeImplAbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer| Modifier and Type | Field and Description |
|---|---|
private UiWidgetButtonGroup |
currentButtonGroup
The current
UiWidgetButtonGroup or null. |
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE| Constructor and Description |
|---|
AbstractUiWidgetAbstractButtonContainer(UiContext context,
ADAPTER widgetAdapter)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(UiWidgetRegular child)
This method adds the given
child to the end of the child-list. |
boolean |
endGroup()
This method ends a
previously started group. |
void |
startGroup()
This method starts a new button-group and adds it to this container.
|
addChild, doAddChild, getChild, getChildCount, getChildIndex, initializeWidgetAdapter, removeChild, removeChildgetChildaddChangeHandler, 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, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, setVisible, toString, visibilityChangedaddEventHandler, 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, setValueaddValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChildremoveChild, removeChildgetChild, getChildgetChildCount, getChildIndexgetStylesgetPrimaryStyleresetValue, setValue, setValueForUsergetValueprivate UiWidgetButtonGroup currentButtonGroup
UiWidgetButtonGroup or null.public AbstractUiWidgetAbstractButtonContainer(UiContext context, ADAPTER widgetAdapter)
context - is the context.widgetAdapter - is the widget adapter. Typically null for
lazy initialization.public void startGroup()
throws IllegalStateException
container until the button-group was ended will be added
to the current button-group.
A button-group is realized by UiWidgetButtonGroup. this toolbar.startGroup in interface ButtonContainerstartGroup in interface UiWidgetAbstractButtonContainerIllegalStateException - if the previous button-group has NOT been ended.#addChild(UiWidgetRegular)public boolean endGroup()
previously started group.endGroup in interface ButtonContainertrue if the current button-group has successfully been ended, false
otherwise (if there was no such button-group).public void addChild(UiWidgetRegular child)
child to the end of the child-list. For
vertical layouts this will be the bottom and for horizontal layouts this will be the right.addChild in interface UiWidgetDynamicComposite<UiWidgetRegular>addChild in class AbstractUiWidgetDynamicComposite<ADAPTER extends UiWidgetAdapterAbstractButtonContainer,UiWidgetRegular>child - is the UiWidget to add as child of this composite.List.add(Object)Copyright © 2001–2016 mmm-Team. All rights reserved.