|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addColumn(java.lang.String name,
java.lang.String type)
adds a new column to the table |
void |
appendRow(java.lang.Object[] data)
appends a row to the table and sets its data |
int |
getColumnCount()
returns the number columns of the table |
int |
getColumnIndex(java.lang.String columnName)
returns the index of the submitted columns name. |
java.lang.String |
getColumnName(int col)
returns the name of the specified column. |
java.lang.String[] |
getColumnNames()
returns the names of all table columns. |
java.lang.String |
getColumnType(int col)
returns the name of the type of the specifies column. |
java.lang.String[] |
getColumnTypes()
returns the names of all column types. |
java.lang.Object[] |
getRow(int row)
returns the data of the row'th row of the table |
int |
getRowCount()
returns the number rows of the table |
java.lang.String |
getTableName()
returns the name of the table. |
java.lang.Object |
getValueAt(int row,
int col)
returns the value of the table field indexed by row and col |
java.lang.Object[] |
removeRow(int index)
removes a row from the table |
void |
setColumnName(int col,
java.lang.String name)
sets the name of a column. |
void |
setColumnType(int col,
java.lang.String type)
sets the type of a column. the implementing class have to ensure that this is a valid operation |
void |
setRow(java.lang.Object[] data,
int row)
sets the data of the row'th row |
void |
setTableName(java.lang.String tableName)
|
void |
setValueAt(java.lang.Object value,
int row,
int col)
set a value at the table field indexed by row and col |
Method Detail |
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
getTableName()
public java.lang.Object getValueAt(int row, int col)
public void setValueAt(java.lang.Object value, int row, int col)
public java.lang.Object[] getRow(int row)
public void setRow(java.lang.Object[] data, int row) throws TableException
TableException
public void appendRow(java.lang.Object[] data) throws TableException
TableException
public int getRowCount()
public void addColumn(java.lang.String name, java.lang.String type)
public int getColumnCount()
public java.lang.String[] getColumnNames()
public java.lang.String getColumnName(int col)
public java.lang.String[] getColumnTypes()
public java.lang.String getColumnType(int col)
public void setColumnType(int col, java.lang.String type) throws TableException
TableException
public void setColumnName(int col, java.lang.String name)
public java.lang.Object[] removeRow(int index)
public int getColumnIndex(java.lang.String columnName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |