Package org.patternfly.component
Interface Expandable<E extends Element,B extends TypedBuilder<E,B>>
- All Superinterfaces:
IsElement<E>
,TypedBuilder<E,
B>
- All Known Implementing Classes:
Alert
,Card
,DataListItem
,Drawer
,Dropdown
,ExpandableSection
,FormFieldGroup
,JumpLinks
,PageSidebar
,SingleSelect
,Tabs
,TreeViewItem
public interface Expandable<E extends Element,B extends TypedBuilder<E,B>>
extends TypedBuilder<E,B>, IsElement<E>
Contains methods and default implementations for components that are expandable.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
collapse()
Same as collapse(true)void
collapse
(boolean fireEvent) static void
collapse
(HTMLElement root, HTMLElement toggle, HTMLElement menu) static void
collapse
(HTMLElement root, HTMLElement toggle, HTMLElement menu, boolean force) default void
expand()
Same as expand(true)void
expand
(boolean fireEvent) static void
expand
(HTMLElement root, HTMLElement toggle, HTMLElement menu) static void
expand
(HTMLElement root, HTMLElement toggle, HTMLElement menu, boolean force) default boolean
expanded()
static boolean
default void
toggle()
Same as toggle(true)default void
toggle
(boolean fireEvent) Methods inherited from interface org.jboss.elemento.TypedBuilder
that
-
Method Details
-
collapse
-
collapse
-
expand
-
expand
-
expanded
-
toggle
default void toggle()Same as toggle(true) -
toggle
default void toggle(boolean fireEvent) -
collapse
default void collapse()Same as collapse(true) -
collapse
void collapse(boolean fireEvent) -
expand
default void expand()Same as expand(true) -
expand
void expand(boolean fireEvent) -
expanded
default boolean expanded()- Returns:
true
if the elements class list has the modifierClasses.expanded
,false
otherwise.
-