|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.d4sreporting.common.server.serializables.S_Table
public class S_Table
| Constructor Summary | |
|---|---|
S_Table()
default constructor |
|
S_Table(int colsNo)
actual one |
|
| Method Summary | |
|---|---|
boolean |
addRow(ArrayList<S_TableCell> row)
Gets the ArrayList of Strings row in the specified row. |
protected void |
checkCellBounds(int row,
int column)
Bounds checks that the cell exists at the specified location. |
protected void |
checkRowBounds(int row)
Checks that the row is within the correct bounds. |
boolean |
equals(Object obj)
|
int |
getCellCount(int row)
|
int |
getColsNo()
|
ArrayList<S_TableCell> |
getRow(int i)
|
int |
getRowCount()
|
ArrayList<ArrayList<S_TableCell>> |
getTable()
|
S_TableCell |
getValue(int row,
int column)
Gets the value in the specified cell. |
void |
setColsNo(int colsNo)
|
void |
setTable(ArrayList<ArrayList<S_TableCell>> table)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public S_Table()
public S_Table(int colsNo)
colsNo - the number of columns of the table| Method Detail |
|---|
public boolean addRow(ArrayList<S_TableCell> row)
row - the table's row
public S_TableCell getValue(int row,
int column)
row - the cell's rowcolumn - the cell's column
null if none is
present
IndexOutOfBoundsException
protected void checkCellBounds(int row,
int column)
row - cell's rowcolumn - cell's column
IndexOutOfBoundsExceptionprotected void checkRowBounds(int row)
row - row index to check
IndexOutOfBoundsExceptionpublic int getRowCount()
public int getCellCount(int row)
row - .
public int getColsNo()
public void setColsNo(int colsNo)
colsNo - .public ArrayList<S_TableCell> getRow(int i)
i -
public ArrayList<ArrayList<S_TableCell>> getTable()
public void setTable(ArrayList<ArrayList<S_TableCell>> table)
table - .public boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||