Class AccordionItem
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement,AccordionItem>
org.patternfly.component.accordion.AccordionItem
- All Implemented Interfaces:
Container<HTMLDivElement,
,AccordionItem> Finder<HTMLDivElement>
,HasElement<HTMLDivElement,
,AccordionItem> HasHTMLElement<HTMLDivElement,
,AccordionItem> IsElement<HTMLDivElement>
,TypedBuilder<HTMLDivElement,
,AccordionItem> WithIdentifier<HTMLDivElement,
,AccordionItem> WithText<HTMLDivElement,
,AccordionItem> ComponentContext<HTMLDivElement,
,AccordionItem> ElementDelegate<HTMLDivElement,
AccordionItem>
public class AccordionItem
extends SubComponent<HTMLDivElement,AccordionItem>
implements ComponentContext<HTMLDivElement,AccordionItem>, ElementDelegate<HTMLDivElement,AccordionItem>, WithIdentifier<HTMLDivElement,AccordionItem>, WithText<HTMLDivElement,AccordionItem>
Represents an item within an accordion component. All content added to this item is delegated to a default
AccordionItemBody
. If you want to have multiple bodies, please use addBody(AccordionItemBody)
and add the
content to the specific AccordionItemBody
instead of this item.-
Method Summary
Modifier and TypeMethodDescriptionstatic AccordionItem
accordionItem
(String identifier) static AccordionItem
accordionItem
(String identifier, String text) add
(AccordionItemBody body) addBody
(AccordionItemBody body) delegate()
expanded()
<T> T
boolean
<T> AccordionItem
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, addAll, addAll, addAll, addAll, addAll, addAll
Methods inherited from interface org.patternfly.core.ElementDelegate
add, add, innerHtml, textContent, textNode
Methods inherited from interface org.jboss.elemento.HasElement
apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, on, on, on, run, toggle, toggle, toggle, uniqueId
-
Method Details
-
accordionItem
-
accordionItem
-
delegate
- Specified by:
delegate
in interfaceElementDelegate<HTMLDivElement,
AccordionItem>
-
addBody
-
add
-
expanded
-
text
- Specified by:
text
in interfaceWithText<HTMLDivElement,
AccordionItem>
-
store
- Specified by:
store
in interfaceComponentContext<HTMLDivElement,
AccordionItem>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLDivElement,
AccordionItem>
-
identifier
- Specified by:
identifier
in interfaceWithIdentifier<HTMLDivElement,
AccordionItem>
-
text
- Specified by:
text
in interfaceWithText<HTMLDivElement,
AccordionItem>
-
has
- Specified by:
has
in interfaceComponentContext<HTMLDivElement,
AccordionItem>
-
get
- Specified by:
get
in interfaceComponentContext<HTMLDivElement,
AccordionItem>
-