Package org.patternfly.component.table
Class Table
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLTableElement,Table>
-
- org.patternfly.component.table.Table
-
- All Implemented Interfaces:
Container<HTMLTableElement,Table>,Finder<HTMLTableElement>,HasElement<HTMLTableElement,Table>,HasHTMLElement<HTMLTableElement,Table>,IsElement<HTMLTableElement>,TypedBuilder<HTMLTableElement,Table>,Component,Modifiers.Compact<HTMLTableElement,Table>
public class Table extends BaseComponent<HTMLTableElement,Table> implements Modifiers.Compact<HTMLTableElement,Table>
A table is used to display large data sets that can be easily laid out in a simple grid with column headers.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tableadd(Tbody tbody)TableaddBody(Tbody tbody)TableaddCaption(TableCaption caption)TableaddHead(Thead head)TableariaLabel(String label)TablegridBreakpoint(GridBreakpoint breakpoint)TablenoBorders()Same as borders(true)TablenoBorders(boolean borders)Adds/removes modifier(noBorderRows)TableonSelect(SelectHandler<Tr> handler)voidselect(String key)voidselect(Tr row)voidselect(Tr row, boolean fireEvent)static Tabletable()Tbodytbody()Tablethat()-
Methods inherited from class org.patternfly.component.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
-
Methods inherited from interface org.patternfly.style.Modifiers.Compact
compact, compact
-
-
-
-
Method Detail
-
table
public static Table table()
-
addCaption
public Table addCaption(TableCaption caption)
-
noBorders
public Table noBorders()
Same as borders(true)
-
noBorders
public Table noBorders(boolean borders)
Adds/removes modifier(noBorderRows)
-
gridBreakpoint
public Table gridBreakpoint(GridBreakpoint breakpoint)
-
that
public Table that()
- Specified by:
thatin interfaceTypedBuilder<HTMLTableElement,Table>
-
onSelect
public Table onSelect(SelectHandler<Tr> handler)
-
select
public void select(String key)
-
select
public void select(Tr row)
-
select
public void select(Tr row, boolean fireEvent)
-
tbody
public Tbody tbody()
-
-