org.axway.grapes.server.webapp.views.utils
Class Table

java.lang.Object
  extended by org.axway.grapes.server.webapp.views.utils.Table

public class Table
extends Object

Table

Utility class that displays a table of element

Author:
jdcoffre

Constructor Summary
Table(String... headers)
           
 
Method Summary
 void addRow(String... cells)
          Add a row to the table if it does not already exist
 Row getHeaders()
           
 List<Row> getRows()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table(String... headers)
Method Detail

getHeaders

public Row getHeaders()

addRow

public void addRow(String... cells)
Add a row to the table if it does not already exist

Parameters:
cells - String...

getRows

public List<Row> getRows()

size

public int size()


Copyright © 2014. All Rights Reserved.