Class Tbody
java.lang.Object
org.patternfly.component.SubComponent<HTMLTableSectionElement, Tbody>
org.patternfly.component.table.Tbody
- All Implemented Interfaces:
Iterable<Tr>,ElementAttributeMethods<HTMLTableSectionElement, Tbody>,ElementClassListMethods<HTMLTableSectionElement, Tbody>,ElementConsumerMethods<HTMLTableSectionElement, Tbody>,ElementContainerMethods<HTMLTableSectionElement, Tbody>,ElementEventMethods<HTMLTableSectionElement, Tbody>,ElementIdMethods<HTMLTableSectionElement, Tbody>,ElementQueryMethods<HTMLTableSectionElement>,HTMLElementAttributeMethods<HTMLTableSectionElement, Tbody>,HTMLElementDataMethods<HTMLTableSectionElement, Tbody>,HTMLElementStyleMethods<HTMLTableSectionElement, Tbody>,HTMLElementVisibilityMethods<HTMLTableSectionElement, Tbody>,IsElement<HTMLTableSectionElement>,TypedBuilder<HTMLTableSectionElement, Tbody>,HasItems<HTMLTableSectionElement, Tbody, Tr>
public class Tbody
extends SubComponent<HTMLTableSectionElement, Tbody>
implements HasItems<HTMLTableSectionElement, Tbody, Tr>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionSame asHasItems.addItem(Object)<T> Tbodyvoidclear()voidbooleanempty(int colSpan, EmptyState emptyState) booleanisEmpty()iterator()onAdd(BiConsumer<Tbody, Tr> onAdd) onRemove(BiConsumer<Tbody, Tr> onRemove) voidremoveItem(String identifier) intsize()static Tbodytbody()Factory method to create a new instance of this component.that()Methods inherited from class org.patternfly.component.SubComponent
element, registerSubComponentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.ElementContainerMethods
add, add, add, 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.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
hiddenMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
tbody
Factory method to create a new instance of this component. -
addRows
-
addRow
Same asHasItems.addItem(Object) -
add
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLTableSectionElement, Tbody>
-
onAdd
- Specified by:
onAddin interfaceHasItems<HTMLTableSectionElement, Tbody, Tr>
-
onRemove
- Specified by:
onRemovein interfaceHasItems<HTMLTableSectionElement, Tbody, Tr>
-
empty
-
clearEmpty
public void clearEmpty() -
iterator
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLTableSectionElement, Tbody, Tr>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLTableSectionElement, Tbody, Tr>
-
contains
-
item
-
removeItem
- Specified by:
removeItemin interfaceHasItems<HTMLTableSectionElement, Tbody, Tr>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLTableSectionElement, Tbody, Tr>
-