Package org.patternfly.component.tabs
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> org.patternfly.core.ComponentContext<HTMLElement,,Tab> org.patternfly.style.Modifiers.Disabled<HTMLElement,Tab>
public class Tab
extends SubComponent<HTMLElement,Tab>
implements Closeable<HTMLElement,Tab>, org.patternfly.core.ComponentContext<HTMLElement,Tab>, ComponentIcon<HTMLElement,Tab>, org.patternfly.style.Modifiers.Disabled<HTMLElement,Tab>, ElementTextDelegate<HTMLElement,Tab>, HasIdentifier<HTMLElement,Tab>
-
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) voiddisabled(boolean disabled) <T> Tbooleanbooleanhidden()hidden(boolean hidden) 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 org.patternfly.component.SubComponent
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.core.ComponentContext
get, getMethods inherited from interface org.patternfly.component.ComponentIcon
iconMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.ElementTextDelegate
text, textMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, isDisabled
-
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 interfaceorg.patternfly.style.Modifiers.Disabled<HTMLElement,Tab>
-
ariaDisabled
-
ariaDisabled
-
href
-
help
-
selected
-
tooltip
-
store
- Specified by:
storein interfaceorg.patternfly.core.ComponentContext<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
Returns the enclosingTabscomponent. Only valid after the tabs component has been attached! -
identifier
- Specified by:
identifierin interfaceHasIdentifier<HTMLElement,Tab>
-
has
- Specified by:
hasin interfaceorg.patternfly.core.ComponentContext<HTMLElement,Tab>
-
get
- Specified by:
getin interfaceorg.patternfly.core.ComponentContext<HTMLElement,Tab>
-