Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

 

jve.generated
Interface IRowsDataObject

All Superinterfaces:
IBoundObject

All Known Implementing Classes:
DataSourceDataRows


public interface IRowsDataObject
extends IBoundObject

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

 

 

DESIGNTIME_ROWS

public static final int DESIGNTIME_ROWS

Number of example rows to generate in design time

See Also:
Constant Field Values


 

 

ALL_ROWS

public static final int ALL_ROWS

Row index used to indicate all rows changing in an RowChangeEvent

See Also:
Constant Field Values

Method Detail

 

 

get

public java.lang.Object get(int index)

Retrieve the value of the row at the given index.

Parameters:
index - index of the row to retrieve


 

 

set

public void set(int index,
                java.lang.Object value)

Set the value at the given index

Parameters:
index - the index to set
value - the new value


 

 

addRowChangeListener

public void addRowChangeListener(IRowsDataObject.RowChangeListener l)

Add a new row change listener to the listener list.

Parameters:
l - the new listener.


 

 

removeRowChangeListener

public void removeRowChangeListener(IRowsDataObject.RowChangeListener l)

Remove an existing row change listener from the listener list.

Parameters:
l - the listener to be removed.


 

 

getLength

public int getLength()

Returns the number of rows in this array

Returns:
array length, or -1 if the value of the array is null.


Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD