| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Table
| Method Summary | |
|---|---|
 void | 
addColumn(String name,
                   int type)
adds a new column to the table  | 
 void | 
appendRow(Object[] data)
appends a row to the table and sets its data  | 
 int | 
getColumnCount()
returns the number columns of the table  | 
 int | 
getColumnIndex(String columnName)
returns the index of the submitted columns name.  | 
 String | 
getColumnName(int col)
returns the name of the specified column.  | 
 String[] | 
getColumnNames()
returns the names of all table columns.  | 
 int | 
getColumnType(int col)
returns the name of the type of the specifies column.  | 
 int[] | 
getColumnTypes()
returns the names of all column types.  | 
 Object[] | 
getRow(int row)
returns the data of the row'th row of the table  | 
 int | 
getRowCount()
returns the number rows of the table  | 
 String | 
getTableName()
returns the name of the table.  | 
 Object | 
getValueAt(int row,
                     int col)
returns the value of the table field indexed by row and col  | 
 Object[] | 
removeRow(int index)
removes a row from the table  | 
 void | 
setColumnName(int col,
                           String name)
sets the name of a column.  | 
 void | 
setColumnType(int col,
                           int type)
sets the type of a column. the implementing class have to ensure that this is a valid operation  | 
 void | 
setRow(Object[] data,
             int row)
sets the data of the row'th row  | 
 void | 
setTableName(String tableName)
 | 
 void | 
setValueAt(Object value,
                     int row,
                     int col)
set a value at the table field indexed by row and col  | 
| Method Detail | 
|---|
String getTableName()
void setTableName(String tableName)
getTableName()
Object getValueAt(int row,
                  int col)
void setValueAt(Object value,
                int row,
                int col)
Object[] getRow(int row)
void setRow(Object[] data,
            int row)
            throws TableException
TableException
void appendRow(Object[] data)
               throws TableException
TableExceptionint getRowCount()
void addColumn(String name,
               int type)
int getColumnCount()
String[] getColumnNames()
String getColumnName(int col)
int[] getColumnTypes()
int getColumnType(int col)
void setColumnType(int col,
                   int type)
                   throws TableException
TableException
void setColumnName(int col,
                   String name)
Object[] removeRow(int index)
int getColumnIndex(String columnName)
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org