Class Tab
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, Tab>, ElementClassListMethods<HTMLElement, Tab>, ElementConsumerMethods<HTMLElement, Tab>, ElementContainerMethods<HTMLElement, Tab>, ElementEventMethods<HTMLElement, Tab>, ElementIdMethods<HTMLElement, Tab>, ElementQueryMethods<HTMLElement>, ElementTextDelegate<HTMLElement, Tab>, ElementTextMethods<HTMLElement, Tab>, HTMLElementAttributeMethods<HTMLElement, Tab>, HTMLElementDataMethods<HTMLElement, Tab>, HTMLElementStyleMethods<HTMLElement, Tab>, HTMLElementVisibilityMethods<HTMLElement, Tab>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, Tab>, Closeable<HTMLElement, Tab>, ComponentIcon<HTMLElement, Tab>, HasIdentifier<HTMLElement, Tab>, ComponentContext<HTMLElement, Tab>, OuiaSupport<HTMLElement, Tab>, Modifiers.Disabled<HTMLElement, Tab>
public class Tab
extends SubComponent<HTMLElement, Tab>
implements Closeable<HTMLElement, Tab>, ComponentContext<HTMLElement, Tab>, ComponentIcon<HTMLElement, Tab>, Modifiers.Disabled<HTMLElement, Tab>, ElementTextDelegate<HTMLElement, Tab>, HasIdentifier<HTMLElement, Tab>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionadd(Function<Tabs, Promise<TabContent>> content) add(TabContent content) addContent(Function<Tabs, Promise<TabContent>> content) addContent(TabContent content) ariaCloseLabel(String label) ariaDisabled(boolean disabled) ariaHelpLabel(String label) voidcloseable(CloseHandler<Tab> closeHandler) disabled(boolean disabled) <T> Tbooleanbooleanhidden()hidden(boolean hidden) Retrieves the identifier associated with this component.onClose(CloseHandler<Tab> closeHandler) selected()<T> Tabstatic Tabstatic Tabstatic <E extends HTMLElement>
Tabtab(HTMLContainerBuilder<E> builder, String identifier, String text) tabs()Returns the enclosingTabscomponent.that()Methods inherited from class SubComponent
element, ouiaComponentType, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentContext
get, getMethods inherited from interface ComponentIcon
iconMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface ElementTextDelegate
text, textMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface Modifiers.Disabled
disabled, isDisabledMethods inherited from interface OuiaSupport
initOuia, initOuia, ouiaId, ouiaSafe, ouiaTransition
-
Field Details
-
SUB_COMPONENT_ID
- See Also:
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
tab
-
tab
-
tab
public static <E extends HTMLElement> Tab tab(HTMLContainerBuilder<E> builder, String identifier, String text) -
textDelegate
- Specified by:
textDelegatein interfaceElementTextDelegate<HTMLElement, Tab>
-
addContent
-
add
-
addContent
-
add
-
closeable
-
closeable
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLElement, Tab>
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLElement, Tab>
-
disabled
- Specified by:
disabledin interfaceModifiers.Disabled<HTMLElement, Tab>
-
ariaDisabled
-
ariaDisabled
-
href
-
help
-
selected
-
tooltip
-
store
- Specified by:
storein interfaceComponentContext<HTMLElement, Tab>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, Tab>
-
ariaLabel
-
ariaCloseLabel
-
ariaHelpLabel
-
onClose
- Specified by:
onClosein interfaceCloseable<HTMLElement, Tab>
-
close
- Specified by:
closein interfaceCloseable<HTMLElement, Tab>
-
tabs
-
identifier
Description copied from interface:HasIdentifierRetrieves the identifier associated with this component.- Specified by:
identifierin interfaceHasIdentifier<HTMLElement, Tab>- Returns:
- the identifier of the component
-
has
- Specified by:
hasin interfaceComponentContext<HTMLElement, Tab>
-
get
- Specified by:
getin interfaceComponentContext<HTMLElement, Tab>
-