Package org.patternfly.component
Interface HasItems<E extends Element,B extends TypedBuilder<E,B>,S>
- Type Parameters:
E- the element type of the main componentB- the builder type of the main componentS- the type of the subcomponent (representing an item)
- All Superinterfaces:
IsElement<E>,Iterable<S>,TypedBuilder<E,B>
- All Known Implementing Classes:
Accordion,ActionList,ActionListGroup,AlertGroup,Breadcrumb,ChipGroup,DataList,DescriptionList,ExpandableNavigationGroup,JumpLinks,JumpLinksList,LabelGroup,List,MenuList,Navigation,NavigationGroup,SimpleList,SimpleListGroup,Tabs,Tbody,ToggleGroup,ToolbarContent,ToolbarGroup,Tr,TreeView,TreeViewItem
public interface HasItems<E extends Element,B extends TypedBuilder<E,B>,S>
extends Iterable<S>, TypedBuilder<E,B>, IsElement<E>
The HasItems interface represents a component that can contain a collection of items.
It provides methods for adding, removing, and manipulating items within the component.
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.jboss.elemento.TypedBuilder
that
-
Method Details
-
addItems
-
addItem
-
add
-
items
-
size
int size() -
isEmpty
boolean isEmpty() -
clear
void clear()
-