org.gcube.application.reporting.component
Class TableWrapper

java.lang.Object
  extended by org.gcube.application.reporting.component.AbstractComponent
      extended by org.gcube.application.reporting.component.TableWrapper
All Implemented Interfaces:
ReportComponent

public class TableWrapper
extends AbstractComponent


Field Summary
 
Fields inherited from interface org.gcube.application.reporting.component.interfaces.ReportComponent
COMP_HEIGHT, COMP_WIDTH
 
Constructor Summary
TableWrapper(int numberOfColumns)
           
TableWrapper(org.gcube.portlets.d4sreporting.common.shared.Table table)
           
 
Method Summary
 List<ReportComponent> getChildren()
           
 org.gcube.portlets.d4sreporting.common.shared.BasicComponent getModelComponent()
           
 int getNumberOfColumns()
           
 String getStringValue()
           
 ArrayList<ArrayList<org.gcube.portlets.d4sreporting.common.shared.TableCell>> getTable()
           
 ReportComponentType getType()
           
 boolean hasChildren()
           
 
Methods inherited from class org.gcube.application.reporting.component.AbstractComponent
convertProperties, getId, getProperties, setId, setProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableWrapper

public TableWrapper(int numberOfColumns)

TableWrapper

public TableWrapper(org.gcube.portlets.d4sreporting.common.shared.Table table)
Method Detail

getNumberOfColumns

public int getNumberOfColumns()

getTable

public ArrayList<ArrayList<org.gcube.portlets.d4sreporting.common.shared.TableCell>> getTable()

getType

public ReportComponentType getType()

hasChildren

public boolean hasChildren()
Specified by:
hasChildren in interface ReportComponent
Specified by:
hasChildren in class AbstractComponent

getChildren

public List<ReportComponent> getChildren()
Specified by:
getChildren in interface ReportComponent
Specified by:
getChildren in class AbstractComponent

getStringValue

public String getStringValue()
Specified by:
getStringValue in interface ReportComponent
Specified by:
getStringValue in class AbstractComponent

getModelComponent

public org.gcube.portlets.d4sreporting.common.shared.BasicComponent getModelComponent()
Specified by:
getModelComponent in interface ReportComponent
Specified by:
getModelComponent in class AbstractComponent


Copyright © 2014. All Rights Reserved.