public class TableBuilder.tbody extends Object
| Constructor and Description |
|---|
tbody() |
| Modifier and Type | Method and Description |
|---|---|
TableBuilder.tr |
addTr()
add new tr on list of tr in tbody and return the new tr.
|
TableBuilder.tbody |
addTr(List<Object> tdList)
Add new tr tag to the last of tbody.
|
<T extends AbstractJaxb> |
addTr(List<Object> tdList,
Map<String,Object> attrMap)
Add new tr tag to the last of tbody.
|
TableBuilder.tr |
addTr(Map<String,Object> attrMap)
Add new tr on list of tr in tbody and return the new tr.
|
Tbody |
buildTbody() |
void |
setAttr(Map<String,Object> attrMap)
set property of tbody tag by map.
|
void |
setAttr(String key,
Object value)
set property to tbody tag
|
TableBuilder.tr |
tr(int index)
tr tag of specified index on tbody.
|
public void setAttr(String key, Object value)
key - attribute name. id,title,class,style...value - value. you can use List<String>public void setAttr(Map<String,Object> attrMap)
attrMap - public TableBuilder.tr tr(int index)
index - 0 = first tr, 1 = second tr.public TableBuilder.tr addTr()
public TableBuilder.tr addTr(Map<String,Object> attrMap)
public TableBuilder.tbody addTr(List<Object> tdList) throws TagTypeUnmatchException
tdList - the value of list must be tag or String that can be included in td tag.TagTypeUnmatchExceptionpublic <T extends AbstractJaxb> TableBuilder.tbody addTr(List<Object> tdList, Map<String,Object> attrMap) throws TagTypeUnmatchException
T - tdList - the value of list must be tag or String that can be included in td tag.attrMap - TagTypeUnmatchExceptionpublic Tbody buildTbody()
Copyright © 2021 Project Mixer2. All rights reserved.