public interface UiWidgetTabPanel extends UiWidgetDynamicPanel<UiWidgetTab>, UiWidgetSwitchComposite<UiWidgetTab>, UiWidgetNative
panel widget that represents a tab panel. It
contains a number of children but only shows one of them at a time. On the top it
shows a tab header with the labels of its children.
The user can click on one of these tabs in order to see the actual content
of the according tab. tab. For convenience usage there is also
addChild(UiWidgetRegular, String).| Modifier and Type | Field and Description |
|---|---|
static String |
STYLE_PRIMARY
The default
primary style of this widget. |
STYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIA| Modifier and Type | Method and Description |
|---|---|
UiWidgetTab |
addChild(UiWidgetRegular child,
String label)
This method adds the given
UiWidgetRegular as new tab on the right of all existing tabs. |
showChild, showChild, showChildaddChild, addChildremoveChild, removeChildgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidatestatic final String STYLE_PRIMARY
primary style of this widget.UiWidgetTab addChild(UiWidgetRegular child, String label)
UiWidgetRegular as new tab on the right of all existing tabs. This is
a convenience method for the following code:
UiWidgetTabtab =widgetFactory.create(UiWidgetTab.class); tab.setTitle(title); tab.setChild(child);tabPanel.addChild(tab);
child - is the child widget to add. The given component instance must be
created by the same factory.label - is the label that will be displayed to identify the tab.UiWidgetTab for this tab. It allows to change the title, set tooltip or image (icon),
etc.Copyright © 2001–2016 mmm-Team. All rights reserved.