|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RowMetaData
A RowMetaData object can be used to find out information about the columns of a RowData object.
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnAlignment(int columnIndex)
Returns the horizontal alignment of the column data specified by columnIndex. |
int |
getColumnCount()
Returns the number of columns. |
String |
getColumnDirection(int columnIndex)
Returns the direction of the column data specified by columnIndex. |
int |
getColumnDisplaySize(int columnIndex)
Returns the display size in characters of the column specified by columnIndex. |
String |
getColumnLabel(int columnIndex)
Returns the label of the column specified by columnIndex. |
String |
getColumnName(int columnIndex)
Returns the name of the column specified by columnIndex. |
int |
getColumnType(int columnIndex)
Returns the data type of the column specified by columnIndex. |
String |
getColumnTypeName(int columnIndex)
Returns the data type name of the column specified by columnIndex. |
int |
getPrecision(int columnIndex)
Returns the precision of the column specified by columnIndex. |
int |
getScale(int columnIndex)
Returns the scale of the column specified by columnIndex. |
boolean |
isNumericData(int columnIndex)
Indicates if the column specified by columnIndex contains numeric data. |
boolean |
isTextData(int columnIndex)
Indicates if the column specified by columnIndex contains text data. |
void |
setColumnAlignment(int columnIndex,
String alignment)
Sets the specified horizontal alignment for the column data specified by columnIndex. |
void |
setColumnDirection(int columnIndex,
String alignment)
Sets the specified direction for the column data specified by columnIndex. |
void |
setColumnLabel(int columnIndex,
String label)
Sets the specified label for the column specified by columnIndex. |
| Method Detail |
|---|
String getColumnAlignment(int columnIndex)
throws RowDataException
HTMLConstants.
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
int getColumnCount()
throws RowDataException
RowDataException - If a row data error occurred.
String getColumnDirection(int columnIndex)
throws RowDataException
HTMLConstants.
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
int getColumnDisplaySize(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
String getColumnLabel(int columnIndex)
throws RowDataException
columnIndex - The column index(0-based).RowDataException - If a row data error occurred.
String getColumnName(int columnIndex)
throws RowDataException
columnIndex - The column index(0-based).RowDataException - If a row data error occurred.
int getColumnType(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
String getColumnTypeName(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
int getPrecision(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
int getScale(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
boolean isNumericData(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
boolean isTextData(int columnIndex)
throws RowDataException
columnIndex - The column index (0-based).RowDataException - If a row data error occurred.
void setColumnLabel(int columnIndex,
String label)
throws RowDataException
columnIndex - The column index (0-based).label - The label.RowDataException - If a row data error occurred.
void setColumnAlignment(int columnIndex,
String alignment)
throws RowDataException
columnIndex - The column index (0-based).alignment - The horizontal column alignment. One of the following constants
defined in HTMLConstants: LEFT, CENTER, RIGHT, or JUSTIFY.RowDataExceptionHTMLConstants
void setColumnDirection(int columnIndex,
String alignment)
throws RowDataException
columnIndex - The column index (0-based).alignment - The column direction.RowDataExceptionHTMLConstants
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||