TableRow
-
public interface TableRow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetColumnCount()java.lang.StringgetColumnTitle(int column)java.lang.String[]getColumnTitles()intgetColumnType(int column)intgetColumnType(java.lang.String columnName)int[]getColumnTypes()doublegetDouble(int column)doublegetDouble(java.lang.String columnName)floatgetFloat(int column)floatgetFloat(java.lang.String columnName)intgetInt(int column)intgetInt(java.lang.String columnName)longgetLong(int column)longgetLong(java.lang.String columnName)java.lang.StringgetString(int column)java.lang.StringgetString(java.lang.String columnName)voidprint()voidsetDouble(int column, double value)voidsetDouble(java.lang.String columnName, double value)voidsetFloat(int column, float value)voidsetFloat(java.lang.String columnName, float value)voidsetInt(int column, int value)voidsetInt(java.lang.String columnName, int value)voidsetLong(int column, long value)voidsetLong(java.lang.String columnName, long value)voidsetString(int column, java.lang.String value)voidsetString(java.lang.String columnName, java.lang.String value)voidwrite(java.io.PrintWriter writer)
-
-
-
Method Detail
-
getString
java.lang.String getString(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getInt(int),getFloat(int)- In brief:
- Get an String value from the specified column
-
getString
java.lang.String getString(java.lang.String columnName)
- Parameters:
columnName- title of the column to reference
-
getInt
int getInt(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getFloat(int),getString(int)- In brief:
- Get an integer value from the specified column
-
getInt
int getInt(java.lang.String columnName)
- Parameters:
columnName- title of the column to reference
-
getLong
long getLong(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getFloat(int),getString(int)- In brief:
- Get a long value from the specified column
-
getLong
long getLong(java.lang.String columnName)
- Parameters:
columnName- title of the column to reference
-
getFloat
float getFloat(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getInt(int),getString(int)- In brief:
- Get a float value from the specified column
-
getFloat
float getFloat(java.lang.String columnName)
- Parameters:
columnName- title of the column to reference
-
getDouble
double getDouble(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getInt(int),getString(int)- In brief:
- Get a double value from the specified column
-
getDouble
double getDouble(java.lang.String columnName)
- Parameters:
columnName- title of the column to reference
-
setString
void setString(int column, java.lang.String value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setInt(int, int),setFloat(int, float)- In brief:
- Store a String value in the specified column
-
setString
void setString(java.lang.String columnName, java.lang.String value)- Parameters:
columnName- title of the target column
-
setInt
void setInt(int column, int value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setFloat(int, float),setString(int, String)- In brief:
- Store an integer value in the specified column
-
setInt
void setInt(java.lang.String columnName, int value)- Parameters:
columnName- title of the target column
-
setLong
void setLong(int column, long value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setFloat(int, float),setString(int, String)- In brief:
- Store a long value in the specified column
-
setLong
void setLong(java.lang.String columnName, long value)- Parameters:
columnName- title of the target column
-
setFloat
void setFloat(int column, float value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setInt(int, int),setString(int, String)- In brief:
- Store a float value in the specified column
-
setFloat
void setFloat(java.lang.String columnName, float value)- Parameters:
columnName- title of the target column
-
setDouble
void setDouble(int column, double value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setFloat(int, float),setString(int, String)- In brief:
- Store a double value in the specified column
-
setDouble
void setDouble(java.lang.String columnName, double value)- Parameters:
columnName- title of the target column
-
getColumnCount
int getColumnCount()
- Returns:
- count of all columns
- In brief:
- Get the column count.
-
getColumnType
int getColumnType(java.lang.String columnName)
- Parameters:
columnName- title of the target column- Returns:
- type of the column
- In brief:
- Get the column type.
-
getColumnType
int getColumnType(int column)
- Parameters:
column- ID number of the target column
-
getColumnTypes
int[] getColumnTypes()
- Returns:
- list of all column types
- In brief:
- Get the all column types
-
getColumnTitle
java.lang.String getColumnTitle(int column)
- Parameters:
column- ID number of the target column- Returns:
- title of the column
- In brief:
- Get the column title.
-
getColumnTitles
java.lang.String[] getColumnTitles()
- Returns:
- list of all column titles
- In brief:
- Get the all column titles
-
write
void write(java.io.PrintWriter writer)
-
print
void print()
-
-