Package org.patternfly.component.table
Class Table
java.lang.Object
org.patternfly.component.BaseComponent<elemental2.dom.HTMLTableElement,Table>
org.patternfly.component.table.Table
- All Implemented Interfaces:
Attachable,Container<elemental2.dom.HTMLTableElement,,Table> Finder<elemental2.dom.HTMLTableElement>,HasElement<elemental2.dom.HTMLTableElement,,Table> HasHTMLElement<elemental2.dom.HTMLTableElement,,Table> IsElement<elemental2.dom.HTMLTableElement>,TypedBuilder<elemental2.dom.HTMLTableElement,,Table> Component,Modifiers.Compact<elemental2.dom.HTMLTableElement,Table>
public class Table
extends BaseComponent<elemental2.dom.HTMLTableElement,Table>
implements Modifiers.Compact<elemental2.dom.HTMLTableElement,Table>, Attachable
A table is used to display large data sets that can be easily laid out in a simple grid with column headers.
-
Method Summary
Modifier and TypeMethodDescriptionaddCaption(TableCaption caption) voidattach(elemental2.dom.MutationRecord mutationRecord) gridBreakpoint(GridBreakpoint breakpoint) Same as borders(true)noBorders(boolean borders) Adds/removes modifier(noBorderRows)onSelect(SelectHandler<Tr> handler) voidreset()voidvoidvoidstatic Tabletable()static Tabletbody()that()thead()treeViewGridBreakpoint(TreeViewGridBreakpoint breakpoint) Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Attachable
detachMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods inherited from interface org.patternfly.style.Modifiers.Compact
compact, compact
-
Method Details
-
table
-
table
-
attach
public void attach(elemental2.dom.MutationRecord mutationRecord) - Specified by:
attachin interfaceAttachable
-
addCaption
-
addHead
-
addBody
-
add
-
noBorders
Same as borders(true) -
noBorders
Adds/removes modifier(noBorderRows) -
gridBreakpoint
-
treeViewGridBreakpoint
-
that
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLTableElement,Table>
-
ariaLabel
-
onSelect
-
reset
public void reset() -
select
-
select
-
select
-
thead
-
tbody
-