|
Oracle Application Development Framework Model and Business Components Java API Reference VERSION B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for allowing generic code to view a list of objects in tabular format, and also to allow editing of the objects as well as the list. Note: This interface has nothing specific to GUIs, and is suitable for implementation by back-end objects. GUI support for tables is available in TableUIDataSource.
| Field Summary | |
static int |
NOT_SORTABLE |
static int |
NOT_SORTED |
static int |
SORTED_ASCENDING |
static int |
SORTED_DESCENDING |
static int |
TYPE_BOOLEAN |
static int |
TYPE_DATE |
static int |
TYPE_ENUM |
static int |
TYPE_NUMBER |
static int |
TYPE_TEXT |
| Method Summary | |
void |
addRows(int howMany)Adds new rows, with default cell values. |
int |
getColumnCount() |
java.lang.String[] |
getColumnNames() |
int |
getColumnSortingStatus(int columnIndex) |
int |
getColumnType(int columnIndex) |
java.lang.Object |
getDataAt(int rowIndex, int columnIndex) |
java.text.DateFormat |
getDateFormat(int columnIndex)Only called for TYPE_DATE columns. |
java.lang.String[] |
getEnumValues(int columnIndex)Only called for TYPE_ENUM columns. |
int |
getMaximumLength(int columnIndex)Only called for TYPE_TEXT columns. |
int |
getRowCount() |
void |
insertRowAt(int index) |
boolean |
isReadOnly(int rowIndex, int columnIndex) |
void |
moveRow(int oldIndex, int newIndex) |
void |
removeAllRows() |
void |
removeRowAt(int index) |
void |
setDataAt(int rowIndex, int columnIndex, java.lang.Object obj) |
void |
sort(int columnIndex, boolean ascending) |
| Field Detail |
public static final int TYPE_TEXT
public static final int TYPE_NUMBER
public static final int TYPE_DATE
public static final int TYPE_BOOLEAN
public static final int TYPE_ENUM
public static final int NOT_SORTABLE
public static final int NOT_SORTED
public static final int SORTED_ASCENDING
public static final int SORTED_DESCENDING
| Method Detail |
public int getColumnCount()
public int getColumnType(int columnIndex)
public java.lang.String[] getColumnNames()
public int getColumnSortingStatus(int columnIndex)
public int getRowCount()
public java.lang.Object getDataAt(int rowIndex,
int columnIndex)
public void setDataAt(int rowIndex,
int columnIndex,
java.lang.Object obj)
public boolean isReadOnly(int rowIndex,
int columnIndex)
public void addRows(int howMany)
public void insertRowAt(int index)
public void removeRowAt(int index)
public void removeAllRows()
public void moveRow(int oldIndex,
int newIndex)
public void sort(int columnIndex,
boolean ascending)
public int getMaximumLength(int columnIndex)
public java.text.DateFormat getDateFormat(int columnIndex)
public java.lang.String[] getEnumValues(int columnIndex)
|
Oracle Application Development Framework Model and Business Components Java API Reference VERSION B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||