Class TableObject

java.lang.Object
com.nomagic.magicreport.format.html.TableObject

@OpenApiAll public class TableObject extends Object
The class use for collect table tag of HTML.
Since:
Feb 04, 2013
Version:
1.0 Feb 04, 2013
  • Field Details

  • Constructor Details

    • TableObject

      public TableObject()
  • Method Details

    • getHeaderRowList

      public List<RowObject> getHeaderRowList()
      Gets headerRowList.
      Returns:
      the headerRowList
    • setHeaderRowList

      public void setHeaderRowList(List<RowObject> headerRowList)
      Sets headerRowList.
      Parameters:
      headerRowList - the headerRowList to set
    • getBodyRowList

      public List<RowObject> getBodyRowList()
      Gets bodyRowList.
      Returns:
      the bodyRowList
    • setBodyRowList

      public void setBodyRowList(List<RowObject> bodyRowList)
      Sets bodyRowList.
      Parameters:
      bodyRowList - the bodyRowList to set
    • getAttributes

      public List<Attribute> getAttributes()
      Gets attributes.
      Returns:
      the attributes
    • setAttributes

      public void setAttributes(List<Attribute> attributes)
      Sets attributes.
      Parameters:
      attributes - the attributes to set
    • addBodyRowList

      public void addBodyRowList(RowObject rowObject)
    • addHeaderRowList

      public void addHeaderRowList(RowObject rowObject)
    • getTableProperties

      public Map<String,Object> getTableProperties()
      Get table properties
      Returns:
      tableProperties
    • setTableProperties

      public void setTableProperties(Map<String,Object> tableProperties)
      Set table properties
      Parameters:
      tableProperties - tableProperties
    • updateTableProperties

      public void updateTableProperties(String key, Object value)
      Update value in tableProperties
      Parameters:
      key - key
      value - value
    • removeTableProperties

      public void removeTableProperties(String key)
      Remove data from tableProperties
      Parameters:
      key - key key to remove
    • getTablePropertiesValue

      public Object getTablePropertiesValue(String key)
      Remove data from tableProperties
      Parameters:
      key - a key to remove
      Returns:
      table property of specific key