Class CellObject
java.lang.Object
com.nomagic.magicreport.format.html.CellObject
The class use for collect column object.
- Since:
- Feb 04, 2013
- Version:
- 1.0 Feb 04, 2013
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets attributes.Get cell propertiesRemove data from cellPropertiesGets content.voidRemove data from cellPropertiesvoidsetAttributes(List<Attribute> attributes) Sets attributes.voidsetCellProperties(Map<String, Object> cellProperties) Set cell propertiesvoidsetContent(String content) Sets content.voidupdateCellProperties(String key, Object value) Update value in cellProperties
-
Field Details
-
CELL_INDEX
- See Also:
-
CELL_WIDTH
- See Also:
-
CELL_ISSPANNED
- See Also:
-
CELL_COLSPAN
- See Also:
-
CELL_WIDTH_POSITION
- See Also:
-
-
Constructor Details
-
CellObject
public CellObject()
-
-
Method Details
-
getContent
Gets content.- Returns:
- the content
-
setContent
Sets content.- Parameters:
content- the content to set
-
getAttributes
Gets attributes.- Returns:
- the attributes
-
setAttributes
Sets attributes.- Parameters:
attributes- the attributes to set
-
getCellProperties
Get cell properties- Returns:
- cellProperties
-
setCellProperties
Set cell properties- Parameters:
cellProperties- cellProperties
-
updateCellProperties
Update value in cellProperties- Parameters:
key- keyvalue- value
-
removeCellProperties
Remove data from cellProperties- Parameters:
key- key key to remove
-
getCellPropertiesValue
Remove data from cellProperties- Parameters:
key- a key to remove- Returns:
- cell property value of specific key
-