Class AccordionItem
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,AccordionItem>
org.patternfly.component.accordion.AccordionItem
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,AccordionItem> ElementClassListMethods<HTMLElement,,AccordionItem> ElementConsumerMethods<HTMLElement,,AccordionItem> ElementContainerDelegate<HTMLElement,,AccordionItem> ElementContainerMethods<HTMLElement,,AccordionItem> ElementEventMethods<HTMLElement,,AccordionItem> ElementIdMethods<HTMLElement,,AccordionItem> ElementQueryMethods<HTMLElement>,ElementTextDelegate<HTMLElement,,AccordionItem> ElementTextMethods<HTMLElement,,AccordionItem> HTMLElementAttributeMethods<HTMLElement,,AccordionItem> HTMLElementDataMethods<HTMLElement,,AccordionItem> HTMLElementStyleMethods<HTMLElement,,AccordionItem> HTMLElementVisibilityMethods<HTMLElement,,AccordionItem> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,AccordionItem> HasIdentifier<HTMLElement,,AccordionItem> org.patternfly.core.ComponentContext<HTMLElement,AccordionItem>
public class AccordionItem
extends SubComponent<HTMLElement,AccordionItem>
implements org.patternfly.core.ComponentContext<HTMLElement,AccordionItem>, ElementContainerDelegate<HTMLElement,AccordionItem>, ElementTextDelegate<HTMLElement,AccordionItem>, HasIdentifier<HTMLElement,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.
Text methods are delegated to the accordion toggle.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccordionItemaccordionItem(String identifier) static AccordionItemaccordionItem(String identifier, String text) add(AccordionItemBody body) addBody(AccordionItemBody body) Delegates to the default body.expanded()<T> Tboolean<T> AccordionItemDelegates to the text element of the accordion toggle.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.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.ElementContainerDelegate
add, add, addMethods inherited from interface org.jboss.elemento.ElementContainerMethods
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.jboss.elemento.HTMLElementVisibilityMethods
hidden
-
Method Details
-
accordionItem
-
accordionItem
-
containerDelegate
Delegates to the default body.- Specified by:
containerDelegatein interfaceElementContainerDelegate<HTMLElement,AccordionItem>
-
textDelegate
Delegates to the text element of the accordion toggle.- Specified by:
textDelegatein interfaceElementTextDelegate<HTMLElement,AccordionItem>
-
addBody
-
add
-
expanded
-
store
- Specified by:
storein interfaceorg.patternfly.core.ComponentContext<HTMLElement,AccordionItem>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,AccordionItem>
-
identifier
- Specified by:
identifierin interfaceHasIdentifier<HTMLElement,AccordionItem>
-
has
- Specified by:
hasin interfaceorg.patternfly.core.ComponentContext<HTMLElement,AccordionItem>
-
get
- Specified by:
getin interfaceorg.patternfly.core.ComponentContext<HTMLElement,AccordionItem>
-