Interface HamletSpec._Table
- All Superinterfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec._TableCol,HamletSpec._TableRow
- All Known Subinterfaces:
HamletSpec.TABLE
- All Known Implementing Classes:
Hamlet.TABLE
- Enclosing class:
- HamletSpec
-
Method Summary
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._TableCol
col, colMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._TableRow
tr, tr
-
Method Details
-
caption
HamletSpec.CAPTION caption()Add a CAPTION element.- Returns:
- a new CAPTION element builder
-
caption
Add a CAPTION element.- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
colgroup
HamletSpec.COLGROUP colgroup()Add a COLGROPU element.- Returns:
- a new COLGROUP element builder
-
thead
HamletSpec.THEAD thead()Add a THEAD element.- Returns:
- a new THEAD element builder
-
thead
Add a THEAD element.- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new THEAD element builder
-
tfoot
HamletSpec.TFOOT tfoot()Add a TFOOT element.- Returns:
- a new TFOOT element builder
-
tfoot
Add a TFOOT element.- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new TFOOT element builder
-
tbody
HamletSpec.TBODY tbody()Add a tbody (table body) element. Must be after thead/tfoot and no tr at the same level.- Returns:
- a new tbody element builder
-
tbody
Add a TBODY element.- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new TBODY element builder
-