|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.datamessenger.util.RecordSet
|
+--com.datamessenger.util.Table
| Fields inherited from class com.datamessenger.util.RecordSet |
header,
length,
width |
| Constructor Summary | |
Table()
|
|
Table(int width)
Creates a Table with the specified number of columns. |
|
Table(java.lang.Object[] fields)
Creates a Table with a number of columns equal to the length of an Object array. |
|
Table(java.util.Vector fields)
Creates a Table with a number of columns equal to the size of a Vector. |
|
| Method Summary | |
void |
addTableListener(TableListener l)
|
void |
clearSelectedRecords()
|
protected void |
fireEvent(java.lang.String type)
|
EventBinder |
getBinder()
|
DataCell |
getCell(int column,
int row)
|
DataCell |
getCell(java.lang.Object field,
int row)
|
java.text.Format |
getColumnFormat(java.lang.Object column)
|
RecordSet |
getRecordSetInstance()
Creates a new empty RecordSet with the same column fields. |
int |
getSelectedIndex()
|
Table |
getSelectedRecords()
|
java.lang.Object |
getValue(int col,
int row)
Finds the cell value in a column at a row index. |
int |
indexOf(DataCell cell)
|
void |
insertColumnAt(java.lang.Object name,
int col)
Inserts a new column at the specified index. |
boolean |
isSelectedRecord(int row)
|
boolean |
isSelecting()
|
boolean |
isUpdating()
|
void |
removeTableListener(TableListener l)
|
void |
setColumnFormat(java.text.Format format,
java.lang.Object column)
|
void |
setLength(int length)
Sets the length of the RecordSet. |
void |
setSelectedCells(int startx,
int starty,
int endx,
int endy,
boolean select)
|
void |
setSelectedRecords(int strPos,
int endPos,
boolean select)
|
void |
setValue(java.lang.Object value,
int col,
int row)
Sets the cell value in a column at a row index. |
void |
setWidth(int width)
Sets the width of the RecordSet. |
void |
update()
|
| Methods inherited from class com.datamessenger.util.RecordSet |
add,
addColumn,
clone,
deleteColumnAt,
deleteRowAt,
fill,
fill,
getColumn,
getColumn,
getColumnForName,
getColumnIndex,
getColumnIndex,
getFillConstraints,
getHeader,
getNameField,
getRecord,
getRecords,
getRecords,
getRow,
getValue,
getValues,
indexOf,
indexOf,
insertRowAt,
length,
lock,
lookUp,
lookUp,
lookUpAll,
print,
setNameField,
setValue,
width |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Table()
public Table(int width)
width - the number of columns. This constructor defines the
column names by using the A-Z format common to spreadsheets.public Table(java.util.Vector fields)
fields - the header field names.#getValue(Object, Object)public Table(java.lang.Object[] fields)
fields - the header field names.| Method Detail |
public void insertColumnAt(java.lang.Object name,
int col)
name - The column name Objectcol - the insert index.
public java.lang.Object getValue(int col,
int row)
col - the column index.row - the row index.
public void setValue(java.lang.Object value,
int col,
int row)
col - the column name.row - the row index.public void setWidth(int width)
width - the new widthpublic void setLength(int length)
length - the new lengthpublic int indexOf(DataCell cell)
public void update()
public boolean isUpdating()
public EventBinder getBinder()
public DataCell getCell(java.lang.Object field,
int row)
public DataCell getCell(int column,
int row)
public void setColumnFormat(java.text.Format format,
java.lang.Object column)
public java.text.Format getColumnFormat(java.lang.Object column)
public void setSelectedCells(int startx,
int starty,
int endx,
int endy,
boolean select)
public void setSelectedRecords(int strPos,
int endPos,
boolean select)
public Table getSelectedRecords()
public int getSelectedIndex()
public boolean isSelectedRecord(int row)
public boolean isSelecting()
public void clearSelectedRecords()
public void addTableListener(TableListener l)
public void removeTableListener(TableListener l)
protected void fireEvent(java.lang.String type)
public RecordSet getRecordSetInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Comments, suggestions, and bug reports are welcomed and encouraged. Please refer them to our support page. Thank you. |
Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.