Class WTabGroup
- java.lang.Object
-
- com.github.bordertech.wcomponents.AbstractWComponent
-
- com.github.bordertech.wcomponents.AbstractContainer
-
- com.github.bordertech.wcomponents.WTabGroup
-
- All Implemented Interfaces:
Container,Disableable,WComponent,WebComponent,Serializable
public class WTabGroup extends AbstractContainer implements Disableable
Deprecated.No replacement: must not be used as causes accessibility failure.WTabGroup encapsulates a related group of tabs.- Since:
- 1.0.0
- Author:
- Yiannis Paschalidis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.bordertech.wcomponents.AbstractWComponent
AbstractWComponent.WComponentRef
-
-
Field Summary
-
Fields inherited from interface com.github.bordertech.wcomponents.WComponent
DEFAULT_APPLICATION_ID, DEFAULT_INTERNAL_ID, DEFAULT_NO_ID, ID_CONTEXT_SEPERATOR, ID_FRAMEWORK_ASSIGNED_SEPERATOR, ID_VALIDATION_PATTERN
-
-
Constructor Summary
Constructors Constructor Description WTabGroup(WDecoratedLabel label)Deprecated.Creates a WTabGroup.WTabGroup(String groupName)Deprecated.Creates a WTabGroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(WTab tab)Deprecated.use e.g.voidaddSeparator()Deprecated.No separators in TabGroups as it does not conform with a11y requirements.WTabaddTab(WComponent content, WDecoratedLabel label, WTabSet.TabMode mode)Deprecated.Adds a tab to the tab set.WTabaddTab(WComponent content, WDecoratedLabel label, WTabSet.TabMode mode, char accessKey)Deprecated.Adds a tab to the tab set.WTabaddTab(WComponent content, String tabName, WTabSet.TabMode mode)Deprecated.Adds a tab to the tab set.WTabaddTab(WComponent content, String tabName, WTabSet.TabMode mode, char accessKey)Deprecated.Adds a tab to the tab set.booleanisDisabled()Deprecated.TabGroups do not exist and therefore cannot be disabled.voidremove(WComponent child)Deprecated.voidsetDisabled(boolean disabled)Deprecated.TabGroups do not exist and therefore cannot be disabled.StringtoString()Deprecated.Creates a String representation of this component; usually for debugging purposes.-
Methods inherited from class com.github.bordertech.wcomponents.AbstractContainer
getChildAt, getChildCount, getChildren, getIndexOfChild
-
Methods inherited from class com.github.bordertech.wcomponents.AbstractWComponent
addHtmlClass, addHtmlClass, addNotify, afterPaint, assertAddSupported, beforePaint, createErrorDiagnostic, createErrorDiagnostic, forward, getAccessibleText, getAttribute, getBaseUrl, getComponentModel, getDefaultModel, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getId, getIdName, getInternalId, getLabel, getName, getOrCreateComponentModel, getParent, getScratchMap, getTabIndex, getTag, getTemplate, getTemplateMarkUp, getToolTip, handleRequest, hasNoComponentModel, hasTabIndex, initialiseComponentModel, invokeLater, invokeLaters, isDebugStructure, isDefaultState, isFlagSet, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, newComponentModel, paint, paintComponent, preparePaint, preparePaintComponent, removeAttribute, removeComponentModel, removeHtmlClass, removeHtmlClass, removeNotify, replaceWComponent, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFlag, setFocussed, setHidden, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showErrorIndicators, showErrorIndicatorsForComponent, showWarningIndicators, showWarningIndicatorsForComponent, tidyUpUIContext, tidyUpUIContextForTree, validate, validateComponent, writeReplace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.bordertech.wcomponents.WComponent
addHtmlClass, addHtmlClass, forward, getAccessibleText, getAttribute, getBaseUrl, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getId, getIdName, getInternalId, getLabel, getName, getParent, getTabIndex, getTag, getToolTip, handleRequest, hasTabIndex, invokeLater, isDefaultState, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, paint, preparePaint, removeAttribute, removeHtmlClass, removeHtmlClass, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFocussed, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showErrorIndicators, showWarningIndicators, tidyUpUIContextForTree, validate
-
-
-
-
Constructor Detail
-
WTabGroup
public WTabGroup(String groupName)
Deprecated.Creates a WTabGroup.- Parameters:
groupName- the tab group name.
-
WTabGroup
public WTabGroup(WDecoratedLabel label)
Deprecated.Creates a WTabGroup.- Parameters:
label- the tab group label.
-
-
Method Detail
-
addSeparator
@Deprecated public void addSeparator()
Deprecated.No separators in TabGroups as it does not conform with a11y requirements.Adds a separator to the tab group.
-
isDisabled
@Deprecated public boolean isDisabled()
Deprecated.TabGroups do not exist and therefore cannot be disabled.Indicates whether the WTabGroup is disabled.- Specified by:
isDisabledin interfaceDisableable- Returns:
- true if the input is disabled, otherwise false.
-
setDisabled
@Deprecated public void setDisabled(boolean disabled)
Deprecated.TabGroups do not exist and therefore cannot be disabled.Sets whether the WTabSet is disabled.- Specified by:
setDisabledin interfaceDisableable- Parameters:
disabled- if true, the input is disabled. If false, it is enabled.
-
addTab
public WTab addTab(WComponent content, String tabName, WTabSet.TabMode mode)
Deprecated.Adds a tab to the tab set.- Parameters:
content- the tab set content.tabName- the tab name.mode- the tab mode.- Returns:
- the tab which was added to the group.
-
addTab
public WTab addTab(WComponent content, String tabName, WTabSet.TabMode mode, char accessKey)
Deprecated.Adds a tab to the tab set.- Parameters:
content- the tab set content.tabName- the tab name.mode- the tab mode.accessKey- the access key used to activate the tab.- Returns:
- the tab which was added to the group.
-
addTab
public WTab addTab(WComponent content, WDecoratedLabel label, WTabSet.TabMode mode)
Deprecated.Adds a tab to the tab set.- Parameters:
content- the tab set content.label- the tab's label, which can contain rich content (images or other components).mode- the tab mode.- Returns:
- the tab which was added to the group.
-
addTab
public WTab addTab(WComponent content, WDecoratedLabel label, WTabSet.TabMode mode, char accessKey)
Deprecated.Adds a tab to the tab set.- Parameters:
content- the tab set content.label- the tab's label, which can contain rich content (images or other components).mode- the tab mode.accessKey- the access key used to activate the tab.- Returns:
- the tab which was added to the group.
-
add
@Deprecated public void add(WTab tab)
Deprecated.Adds a tab to the tab set.- Parameters:
tab- the tab to add.
-
remove
public void remove(WComponent child)
Deprecated.
-
toString
public String toString()
Deprecated.Description copied from class:AbstractWComponentCreates a String representation of this component; usually for debugging purposes.- Overrides:
toStringin classAbstractWComponent- Returns:
- a String representation of this component, for debugging purposes.
-
-