Package org.patternfly.component.tabs
Class Tab
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.tabs.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>,WithText<HTMLElement,Tab>,Modifiers.Disabled<HTMLElement,Tab>
public class Tab extends SubComponent<E,B> implements Closeable<HTMLElement,Tab>, Modifiers.Disabled<HTMLElement,Tab>, WithText<HTMLElement,Tab>, WithIcon<HTMLElement,Tab>
-
-
Method Summary
-
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.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, id, innerHtml, 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
-
-
-
-
Field Detail
-
id
public final String id
-
-
Method Detail
-
tab
public static <E extends HTMLElement> Tab tab(HTMLContainerBuilder<E> builder, String id, String text)
-
addContent
public Tab addContent(TabContent content)
-
add
public Tab add(TabContent content)
-
addContent
public Tab addContent(Function<Tabs,elemental2.promise.Promise<TabContent>> content)
-
add
public Tab add(Function<Tabs,elemental2.promise.Promise<TabContent>> content)
-
closeable
public Tab closeable()
-
closeable
public Tab closeable(CloseHandler<Tab> closeHandler)
-
removeIcon
public Tab removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLElement,Tab>
-
disabled
public Tab disabled(boolean disabled)
- Specified by:
disabledin interfaceModifiers.Disabled<HTMLElement,Tab>
-
ariaDisabled
public Tab ariaDisabled()
-
ariaDisabled
public Tab ariaDisabled(boolean disabled)
-
hidden
public Tab hidden(boolean hidden)
- Specified by:
hiddenin interfaceHasHTMLElement<HTMLElement,Tab>
-
that
public Tab that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Tab>
-
onClose
public Tab onClose(CloseHandler<Tab> closeHandler)
- Specified by:
onClosein interfaceCloseable<HTMLElement,Tab>
-
close
public void close(Event event, boolean fireEvent)
- Specified by:
closein interfaceCloseable<HTMLElement,Tab>
-
hidden
public boolean hidden()
-
text
public String text()
-
-