|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.modelling.reporting.data.DefaultReportDataTextArray
public class DefaultReportDataTextArray
Default class for 2 dimensional string array.
Constructor Summary | |
---|---|
DefaultReportDataTextArray(ArrayList<ArrayList<String>> array)
Default class for 2 dimensional string array. |
|
DefaultReportDataTextArray(ArrayList<ArrayList<String>> array,
String atitle)
Default class for 2 dimensional string array. |
|
DefaultReportDataTextArray(int rows,
int columns)
Default class for 2 dimensional string array. |
Method Summary | |
---|---|
void |
addInLastRow(String text)
Adds the string in the last existing row of the array. |
void |
addInNewRow(String text)
Creates a new row and adds a String text in it. |
ArrayList<ArrayList<String>> |
getArray()
|
String |
getString(int row,
int column)
Returns the pointed string in the array, or null if out of bounds. |
String |
getTitle()
|
void |
setArray(ArrayList<ArrayList<String>> array)
|
void |
setTitle(String title)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultReportDataTextArray(int rows, int columns)
rows
- number of rows to allocatecolumns
- number of columns to allocatepublic DefaultReportDataTextArray(ArrayList<ArrayList<String>> array)
array
- public DefaultReportDataTextArray(ArrayList<ArrayList<String>> array, String atitle)
array
- Method Detail |
---|
public void addInLastRow(String text)
text
- text to addpublic void addInNewRow(String text)
text
- text to addpublic String getString(int row, int column)
row
- row of the stringcolumn
- column of the string
public ArrayList<ArrayList<String>> getArray()
public void setArray(ArrayList<ArrayList<String>> array)
array
- the array to setpublic String getTitle()
public void setTitle(String title)
title
- the title to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |