Class TableObject
java.lang.Object
com.nomagic.magicreport.format.html.TableObject
The class use for collect table tag of HTML.
- Since:
- Feb 04, 2013
- Version:
- 1.0 Feb 04, 2013
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBodyRowList(RowObject rowObject) voidaddHeaderRowList(RowObject rowObject) Gets attributes.Gets bodyRowList.Gets headerRowList.Get table propertiesRemove data from tablePropertiesvoidRemove data from tablePropertiesvoidsetAttributes(List<Attribute> attributes) Sets attributes.voidsetBodyRowList(List<RowObject> bodyRowList) Sets bodyRowList.voidsetHeaderRowList(List<RowObject> headerRowList) Sets headerRowList.voidsetTableProperties(Map<String, Object> tableProperties) Set table propertiesvoidupdateTableProperties(String key, Object value) Update value in tableProperties
-
Field Details
-
TABLE_INDEX
- See Also:
-
TABLE_WIDTH
- See Also:
-
TABLE_MARGIN_LEFT
- See Also:
-
TABLE_MARGIN_RIGTH
- See Also:
-
-
Constructor Details
-
TableObject
public TableObject()
-
-
Method Details
-
getHeaderRowList
Gets headerRowList.- Returns:
- the headerRowList
-
setHeaderRowList
Sets headerRowList.- Parameters:
headerRowList- the headerRowList to set
-
getBodyRowList
Gets bodyRowList.- Returns:
- the bodyRowList
-
setBodyRowList
Sets bodyRowList.- Parameters:
bodyRowList- the bodyRowList to set
-
getAttributes
Gets attributes.- Returns:
- the attributes
-
setAttributes
Sets attributes.- Parameters:
attributes- the attributes to set
-
addBodyRowList
-
addHeaderRowList
-
getTableProperties
Get table properties- Returns:
- tableProperties
-
setTableProperties
Set table properties- Parameters:
tableProperties- tableProperties
-
updateTableProperties
Update value in tableProperties- Parameters:
key- keyvalue- value
-
removeTableProperties
Remove data from tableProperties- Parameters:
key- key key to remove
-
getTablePropertiesValue
Remove data from tableProperties- Parameters:
key- a key to remove- Returns:
- table property of specific key
-