TabularSummary Class Reference

Inheritance diagram for TabularSummary:
Collaboration diagram for TabularSummary:

List of all members.


Detailed Description

Author:
sschwieb

Public Methods

SortedMap< Integer, String > getRowLabels ()
SortedMap< Integer, String > getColumnLabels ()
String getCaption ()
 TabularSummary ()
 TabularSummary (String title, String caption, int x, int y)
String getTitle ()
void setRowLabel (int x, String label)
void setColumnLabel (int y, String label)
void setColumnLabel (int y, String label, NumberFormat nf)
void setValue (int x, int y, double value)
String[] getRow (int rowNo)
void setValue (int x, int y, int value)
void setRow (int x, byte[] row)
void setRow (int x, char[] row)
void setRow (int x, long[] row)
void setRow (int x, short[] row)
void setRow (int x, float[] row)
void setRow (int x, double[] row)
void setRow (int x, int[] row)
void setRow (int x, Object[] row)
void setRow (int x, List<?> row)
void setValue (int x, int y, Object value)
String toTex (double[] columnWidths, String nullValue)
String toCSV (String columnSeparator, String nullValue)
String getCSValues ()
int getNumberOfColumns ()
int getNumberOfRows ()
long getId ()
void setId (long id)
String getField (int rowNo, int columnNo)

Constructors

TabularSummary ( String  title,
String  caption,
int  x,
int  y 
)

Method Details

String getCaption ( )

Implements ITabularSummary.

SortedMap<Integer, String> getColumnLabels ( )

Implements ITabularSummary.

String getCSValues ( )

Returns the values as a String matrix. Columns are separated by tabulators, rows by newlines.

Returns:

Implements ITabularSummary.

String getField ( int  rowNo,
int  columnNo 
)

Implements ITabularSummary.

long getId ( )

Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.

Returns:
id

Implements DataObject.

int getNumberOfColumns ( )

Implements ITabularSummary.

int getNumberOfRows ( )

Implements ITabularSummary.

String [] getRow ( int  rowNo)

Implements ITabularSummary.

SortedMap<Integer,String> getRowLabels ( )

Implements ITabularSummary.

String getTitle ( )

Implements ITabularSummary.

void setColumnLabel ( int  y,
String  label 
)
void setColumnLabel ( int  y,
String  label,
NumberFormat  nf 
)
void setId ( long  id)

Set the Id of this DataObject.

Parameters:
id

Implements DataObject.

void setRow ( int  x,
double[]  row 
)
void setRow ( int  x,
float[]  row 
)
void setRow ( int  x,
short[]  row 
)
void setRow ( int  x,
int[]  row 
)
void setRow ( int  x,
Object[]  row 
)
void setRow ( int  x,
byte[]  row 
)
void setRow ( int  x,
char[]  row 
)
void setRow ( int  x,
long[]  row 
)
void setRow ( int  x,
List<?>  row 
)
void setRowLabel ( int  x,
String  label 
)
void setValue ( int  x,
int  y,
double  value 
)
void setValue ( int  x,
int  y,
Object  value 
)
void setValue ( int  x,
int  y,
int  value 
)
String toCSV ( String  columnSeparator,
String  nullValue 
)

Implements ITabularSummary.

String toTex ( double[]  columnWidths,
String  nullValue 
)

Implements ITabularSummary.