|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Row
Name: Row
Description: An interface for table rows.
| Method Summary | |
|---|---|
List |
asList()
Gets the list of elements from this row. |
String |
formatValue(int columnIdx)
Formats the given column's value for output. |
String |
formatValue(String columnName)
Formats the given column's value for output. |
int |
getAlign(int columnIdx)
Gets the alignment of the given field. |
int |
getAlign(String columnName)
Gets the alignment of the given field. |
boolean |
getBoolean(int columnIdx)
Gets the boolean value from the given row. |
boolean |
getBoolean(String columnName)
Gets the boolean value from the given row. |
Date |
getDate(int columnIdx)
Gets the Date value from the given row. |
Date |
getDate(String columnName)
Gets the Date value from the given row. |
double |
getDouble(int columnIdx)
Gets the double value from the given row. |
double |
getDouble(String columnName)
Gets the double value from the given row. |
float |
getFloat(int columnIdx)
Gets the float value from the given row. |
float |
getFloat(String columnName)
Gets the float value from the given row. |
Format |
getFormat(int columnIdx)
Gets the format of the given field. |
Format |
getFormat(String columnName)
Gets the format of the given field. |
int |
getIndex()
Gets the colum index. |
int |
getInt(int columnIdx)
Gets the integer value from the given row. |
int |
getInt(String columnName)
Gets the int value from the given row. |
long |
getLong(int columnIdx)
Gets the long value from the given row. |
long |
getLong(String columnName)
Gets the long value from the given row. |
Object |
getObject(int columnIdx)
Gets the Object value from the given row. |
Object |
getObject(String columnName)
Gets the Object value from the given row. |
String |
getString(int columnIdx)
Gets the String value from the given row. |
String |
getString(String columnName)
Gets the String value from the given row. |
Table |
getTable()
Gets the table which holds this row. |
Date |
getTime(int columnIdx)
Gets the Time value from the given row. |
Date |
getTime(String columnName)
Gets the Time value from the given row. |
Date |
getTimestamp(int columnIdx)
Gets the Timestamp value from the given row. |
Date |
getTimestamp(String columnName)
Gets the Timestamp value from the given row. |
String |
getType()
Gets the row type. |
boolean |
isEndsBlock()
Tells whether or not this row ends the current row block. |
boolean |
isStartNewPage()
Tells whether or not to start a new page before printing this row. |
boolean |
isStartsBlock()
Tells whether or not this row starts a new row block. |
boolean |
isVisible(int columnIdx)
Checks whether the given field is visible or not. |
boolean |
isVisible(String columnName)
Checks whether the given field is visible or not. |
void |
setAlign(int columnIdx,
int alignment)
Sets the row specific alignment for the given field. |
void |
setAlign(String columnName,
int alignment)
Sets the row specific alignment for the given field. |
void |
setBoolean(int columnIdx,
boolean value)
Sets the boolean value at the given row. |
void |
setBoolean(String columnName,
boolean value)
Sets the boolean value at the given row. |
void |
setDate(int columnIdx,
Date value)
Sets the Date value at the given row. |
void |
setDate(String columnName,
Date value)
Sets the Date value at the given row. |
void |
setDouble(int columnIdx,
double value)
Sets the double value at the given row. |
void |
setDouble(String columnName,
double value)
Sets the double value at the given row. |
void |
setEndsBlock(boolean endsBlock)
Sets the endsBlock flag. |
void |
setFloat(int columnIdx,
float value)
Sets the float value at the given row. |
void |
setFloat(String columnName,
float value)
Sets the float value at the given row. |
void |
setFormat(int columnIdx,
Format format)
Sets the row specific format for the given field. |
void |
setFormat(String columnName,
Format format)
Sets the row specific format for the given field. |
void |
setInt(int columnIdx,
int value)
Sets the integer value at the given row. |
void |
setInt(String columnName,
int value)
Sets the int value at the given row. |
void |
setLong(int columnIdx,
long value)
Sets the long value at the given row. |
void |
setLong(String columnName,
long value)
Sets the long value at the given row. |
void |
setObject(int columnIdx,
Object value)
Sets the Object value at the given row. |
void |
setObject(String columnName,
Object value)
Sets the Object value at the given row. |
void |
setStartNewPage(boolean startNewPage)
Sets the startNewPage flag. |
void |
setStartsBlock(boolean startsBlock)
Sets the startsBlock flag. |
void |
setString(int columnIdx,
String value)
Sets the String value at the given row. |
void |
setString(String columnName,
String value)
Sets the String value at the given row. |
void |
setTime(int columnIdx,
Date value)
Sets the Time value at the given row. |
void |
setTime(String columnName,
Date value)
Sets the Time value at the given row. |
void |
setTimestamp(int columnIdx,
Date value)
Sets the Timestamp value at the given row. |
void |
setTimestamp(String columnName,
Date value)
Sets the Timestamp value at the given row. |
void |
setVisible(int columnIdx,
boolean visible)
Sets the visibility flag for the given field. |
void |
setVisible(String columnName,
boolean visible)
Sets the visibility flag for the given field. |
| Method Detail |
|---|
String getType()
Table getTable()
List asList()
int getIndex()
String getString(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
String getString(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setString(String columnName,
String value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the date conversion failed.
void setString(int columnIdx,
String value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
int getInt(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
int getInt(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setInt(String columnName,
int value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setInt(int columnIdx,
int value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
long getLong(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
long getLong(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setLong(String columnName,
long value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setLong(int columnIdx,
long value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
float getFloat(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
float getFloat(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
void setFloat(int columnIdx,
float value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
void setFloat(String columnName,
float value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
double getDouble(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
double getDouble(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setDouble(String columnName,
double value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setDouble(int columnIdx,
double value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
boolean getBoolean(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
boolean getBoolean(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setBoolean(String columnName,
boolean value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setBoolean(int columnIdx,
boolean value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Date getDate(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Date getDate(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setDate(String columnName,
Date value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setDate(int columnIdx,
Date value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Date getTime(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Date getTime(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setTime(String columnName,
Date value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setTime(int columnIdx,
Date value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Date getTimestamp(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Date getTimestamp(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setTimestamp(String columnName,
Date value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setTimestamp(int columnIdx,
Date value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
Object getObject(String columnName)
throws ColumnNotDefinedException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
Object getObject(int columnIdx)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
void setObject(String columnName,
Object value)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
void setObject(int columnIdx,
Object value)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.value - The new value.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
String formatValue(String columnName)
throws ColumnNotDefinedException,
TypeMismatchException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
String formatValue(int columnIdx)
throws ColumnNotDefinedException,
TypeMismatchException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the data conversion failed.
boolean isVisible(String columnName)
throws ColumnNotDefinedException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
boolean isVisible(int columnIdx)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
void setVisible(String columnName,
boolean visible)
throws ColumnNotDefinedException
columnName - The name of the desired column.visible - The visibility flag.
ColumnNotDefinedException - In case the requested column does not exist.
void setVisible(int columnIdx,
boolean visible)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.visible - The visibility flag.
ColumnNotDefinedException - In case the requested column does not exist.
Format getFormat(String columnName)
throws ColumnNotDefinedException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
Format getFormat(int columnIdx)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
void setFormat(String columnName,
Format format)
throws ColumnNotDefinedException
columnName - The name of the desired column.format - The format to set.
ColumnNotDefinedException - In case the requested column does not exist.
void setFormat(int columnIdx,
Format format)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.format - The format to set.
ColumnNotDefinedException - In case the requested column does not exist.
int getAlign(String columnName)
throws ColumnNotDefinedException
columnName - The name of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
int getAlign(int columnIdx)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.
ColumnNotDefinedException - In case the requested column does not exist.
void setAlign(String columnName,
int alignment)
throws ColumnNotDefinedException
columnName - The name of the desired column.alignment - The format to set.
ColumnNotDefinedException - In case the requested column does not exist.
void setAlign(int columnIdx,
int alignment)
throws ColumnNotDefinedException
columnIdx - The index of the desired column.alignment - The format to set.
ColumnNotDefinedException - In case the requested column does not exist.boolean isStartNewPage()
void setStartNewPage(boolean startNewPage)
startNewPage - The new value for the startNewPage attribute.boolean isStartsBlock()
void setStartsBlock(boolean startsBlock)
startsBlock - The new value for the startsBlock attribute.boolean isEndsBlock()
void setEndsBlock(boolean endsBlock)
endsBlock - The new value for the endsBlock attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||