Class TabContainer
java.lang.Object
ch.nolix.system.element.propertieselement.AbstractPropertiesElement
ch.nolix.system.style.stylable.AbstractStylableElement<ITabContainer>
ch.nolix.system.webgui.main.AbstractControl<ITabContainer, ITabContainerStyle>
ch.nolix.system.containercontrol.container.AbstractContainer<ITabContainer, ITabContainerStyle>
ch.nolix.system.containercontrol.tabcontainer.TabContainer
- All Implemented Interfaces:
IFluentMutableMultiTokenHolder<ITabContainer>, IFluentMutableOptionalIdHolder<ITabContainer>, IMultiTokenHolder, IOptionalIdHolder, Linkable, LinkedRequestable, TypeRequestable, Clearable, Resettable, EmptinessRequestable, IHtmlGetter, IContainer<ITabContainer, ITabContainerStyle>, ITabContainer, AttributesRepresentable, IElement, SpecificationRepresentable, IMutableElement, ISizeAdjustableBox<ITabContainer>, PresenceRequestable, PresenceSettable<ITabContainer>, IStylableElement<ITabContainer>, IControl<ITabContainer, ITabContainerStyle>, IUserInputCell<ITabContainer>
public final class TabContainer
extends AbstractContainer<ITabContainer, ITabContainerStyle>
implements ITabContainer
- Author:
- Silvan Wyss
-
Field Summary
Fields inherited from class AbstractControl
DEFAULT_CURSOR_ICON, DEFAULT_PRESENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTab(ITabContainerTab tab) addTabs(IContainer<ITabContainerTab> tabs) addTabs(ITabContainerTab... tabs) voidclear()Removes the elements of the currentClearable.booleanIContainer<IControl<?, ?>> getStoredFirstTabByHeader(String header) IContainer<IControl<?, ?>> intbooleanisEmpty()onMenuButtonStyle(Consumer<IButtonStyle> menuButtonStyleEditor) voidvoidvoidselectFirstTabByHeader(String header) Methods inherited from class AbstractContainer
getOptionalJavaScriptUserInputFunction, getRole, getUserInput, hasRole, hasRole, removeRole, runHtmlEvent, setRole, setUserInputMethods inherited from class AbstractControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getHtml, getInternalId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOptionalStoredChildControlByInternalId, getPresence, getStoredChildStylableElements, getStoredLinkedObjects, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, internalRemoveControlParent, internalSetControlParent, isCollapsed, isInvisible, isLinkedTo, isLinkedToAnObject, isVisible, linkTo, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, setCollapsed, setCursorIcon, setInvisible, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidth, setVisibility, setVisibleMethods inherited from class AbstractStylableElement
addToken, getId, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setIdMethods inherited from class AbstractPropertiesElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, toStringMethods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface EmptinessRequestable
containsAnyMethods inherited from interface IContainer
getRole, hasRole, removeRole, setRoleMethods inherited from interface IControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalJavaScriptUserInputFunction, getOptionalStoredChildControlByInternalId, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, internalRemoveControlParent, internalSetControlParent, runHtmlEvent, setCursorIconMethods inherited from interface IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensMethods inherited from interface IFluentMutableOptionalIdHolder
removeId, setIdMethods inherited from interface IHtmlGetter
getHtmlMethods inherited from interface IMultiTokenHolder
getTokensMethods inherited from interface IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface IOptionalIdHolder
getId, getIdInQuotes, hasId, hasIdMethods inherited from interface ISizeAdjustableBox
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidthMethods inherited from interface IStylableElement
getStoredChildStylableElements, hasRole, resetStyleRecursivelyMethods inherited from interface IUserInputCell
getUserInput, setUserInputMethods inherited from interface LinkedRequestable
getStoredLinkedObjects, isLinkedTo, isLinkedToAnObjectMethods inherited from interface PresenceRequestable
getPresence, isCollapsed, isInvisible, isVisibleMethods inherited from interface PresenceSettable
setCollapsed, setInvisible, setVisibility, setVisibleMethods inherited from interface Resettable
resetMethods inherited from interface SpecificationRepresentable
getSpecification, hasEqualSpecificationAsElement, toFormatedStringMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Constructor Details
-
TabContainer
public TabContainer()Creates a newTabContainer.
-
-
Method Details
-
addTab
- Specified by:
addTabin interfaceITabContainer
-
addTabs
- Specified by:
addTabsin interfaceITabContainer
-
addTabs
- Specified by:
addTabsin interfaceITabContainer
-
clear
-
containsSelectedTab
public boolean containsSelectedTab()- Specified by:
containsSelectedTabin interfaceITabContainer
-
getStoredChildControls
- Specified by:
getStoredChildControlsin interfaceIControl<ITabContainer, ITabContainerStyle>
-
getStoredStructureControls
- Specified by:
getStoredStructureControlsin interfaceIControl<ITabContainer, ITabContainerStyle>
-
getStoredFirstTabByHeader
- Specified by:
getStoredFirstTabByHeaderin interfaceITabContainer
-
getStoredMenuButtonStyle
- Specified by:
getStoredMenuButtonStylein interfaceITabContainer
-
getStoredSelectedTab
- Specified by:
getStoredSelectedTabin interfaceITabContainer
-
getStoredTabs
- Specified by:
getStoredTabsin interfaceITabContainer
-
getTabCount
public int getTabCount()- Specified by:
getTabCountin interfaceITabContainer
-
internalGetStoredRootVerticalStack
- Specified by:
internalGetStoredRootVerticalStackin interfaceITabContainer
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceEmptinessRequestable- Returns:
- true if
EmptinessRequestabledoes not contain an element, false otherwise.
-
onMenuButtonStyle
- Specified by:
onMenuButtonStylein interfaceITabContainer
-
registerHtmlElementEventsAt
- Specified by:
registerHtmlElementEventsAtin interfaceIControl<ITabContainer, ITabContainerStyle>
-
selectFirstTab
public void selectFirstTab()- Specified by:
selectFirstTabin interfaceITabContainer
-
selectFirstTabByHeader
- Specified by:
selectFirstTabByHeaderin interfaceITabContainer
-