Package org.patternfly.component.tabs
Class Tab
- All Implemented Interfaces:
Container<HTMLElement,
,Tab> Finder<HTMLElement>
,HasElement<HTMLElement,
,Tab> HasHTMLElement<HTMLElement,
,Tab> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,Tab> Closeable<HTMLElement,
,Tab> WithIcon<HTMLElement,
,Tab> WithIdentifier<HTMLElement,
,Tab> WithText<HTMLElement,
,Tab> ComponentContext<HTMLElement,
,Tab> Modifiers.Disabled<HTMLElement,
Tab>
public class Tab
extends SubComponent<HTMLElement,Tab>
implements Closeable<HTMLElement,Tab>, ComponentContext<HTMLElement,Tab>, Modifiers.Disabled<HTMLElement,Tab>, WithIdentifier<HTMLElement,Tab>, WithText<HTMLElement,Tab>, WithIcon<HTMLElement,Tab>
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Function<Tabs, elemental2.promise.Promise<TabContent>> content) add
(TabContent content) addContent
(Function<Tabs, elemental2.promise.Promise<TabContent>> content) addContent
(TabContent content) ariaCloseLabel
(String label) ariaDisabled
(boolean disabled) ariaHelpLabel
(String label) void
closeable
(CloseHandler<Tab> closeHandler) disabled
(boolean disabled) <T> T
boolean
boolean
hidden()
hidden
(boolean hidden) onClose
(CloseHandler<Tab> closeHandler) <T> Tab
static Tab
static Tab
static <E extends HTMLElement>
Tabtab
(HTMLContainerBuilder<E> builder, String identifier, String text) tabs()
Returns the enclosingTabs
component.text()
that()
Methods inherited from class org.patternfly.component.SubComponent
element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.patternfly.core.ComponentContext
get, get
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, style, style, style, style, style, style, title
Methods 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) -
addContent
-
add
-
addContent
-
add
-
closeable
-
closeable
-
icon
- Specified by:
icon
in interfaceWithIcon<HTMLElement,
Tab>
-
removeIcon
- Specified by:
removeIcon
in interfaceWithIcon<HTMLElement,
Tab>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
Tab>
-
disabled
- Specified by:
disabled
in interfaceModifiers.Disabled<HTMLElement,
Tab>
-
ariaDisabled
-
ariaDisabled
-
href
-
help
-
tooltip
-
store
- Specified by:
store
in interfaceComponentContext<HTMLElement,
Tab>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
Tab>
-
ariaLabel
-
ariaCloseLabel
-
ariaHelpLabel
-
onClose
- Specified by:
onClose
in interfaceCloseable<HTMLElement,
Tab>
-
close
- Specified by:
close
in interfaceCloseable<HTMLElement,
Tab>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
Tab>
-
tabs
Returns the enclosingTabs
component. Only valid after the tabs component has been attached! -
identifier
- Specified by:
identifier
in interfaceWithIdentifier<HTMLElement,
Tab>
-
has
- Specified by:
has
in interfaceComponentContext<HTMLElement,
Tab>
-
get
- Specified by:
get
in interfaceComponentContext<HTMLElement,
Tab>
-