|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents an array (rows) of objects. Individual elements in the array
can be accessed and modified by using the get() and set() methods. Interested
parties can register as a RowChangeListener to be notified when the contents of
a particular row are changed. When all rows change, the RowChangeEvent will report
ALL_ROWS as the changed index.
| Nested Class Summary | |
static class |
IRowsDataObject.RowChangeEvent
A RowChangeEvent is fired when the contents of a row changes in the array maintained by the RowDataObject. |
static interface |
IRowsDataObject.RowChangeListener
Interface used to register for row change notification. |
| Field Summary | |
static int |
ALL_ROWS
Row index used to indicate all rows changing in an RowChangeEvent |
static int |
DESIGNTIME_ROWS
Number of example rows to generate in design time |
| Fields inherited from interface jve.generated.IBoundObject |
DELIMITER, PROPERTY_OBJ_CHANGED |
| Method Summary | |
void |
addRowChangeListener(IRowsDataObject.RowChangeListener l)
Add a new row change listener to the listener list. |
java.lang.Object |
get(int index)
Retrieve the value of the row at the given index. |
int |
getLength()
Returns the number of rows in this array |
void |
removeRowChangeListener(IRowsDataObject.RowChangeListener l)
Remove an existing row change listener from the listener list. |
void |
set(int index,
java.lang.Object value)
Set the value at the given index |
| Methods inherited from interface jve.generated.IBoundObject |
actionPerformed, addPropertyChangeListener, getObject, getProperty, getSourceObject, getType, refresh, removePropertyChangeListener, setProperty, setSourceObject, setSourceObject |
| Field Detail |
public static final int DESIGNTIME_ROWS
public static final int ALL_ROWS
| Method Detail |
public java.lang.Object get(int index)
index - index of the row to retrieve
public void set(int index,
java.lang.Object value)
index - the index to setvalue - the new valuepublic void addRowChangeListener(IRowsDataObject.RowChangeListener l)
l - the new listener.public void removeRowChangeListener(IRowsDataObject.RowChangeListener l)
l - the listener to be removed.public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||