Package Class Use Tree Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
java.lang.Objectjve.generated.ObjectReference
jve.generated.DataSourceDataRows
Default implementation of a row data object that is retrieved by a service call on a Data Source.
Nested Class Summary
Nested classes inherited from class jve.generated.IRowsDataObject IRowsDataObject.RowChangeEvent, IRowsDataObject.RowChangeListener
Field Summary protected boolean initialized
protected java.util.List listeners
Fields inherited from class jve.generated.ObjectReference debug
Fields inherited from interface jve.generated.IRowsDataObject ALL_ROWS, DESIGNTIME_ROWS
Fields inherited from interface jve.generated.IBoundObject DELIMITER, PROPERTY_OBJ_CHANGED
Constructor Summary DataSourceDataRows()
Method Summary void actionPerformed(IActionBinder action)
Notify the bound object that an action was performed where the reference object was used to perform an action.void addRowChangeListener(IRowsDataObject.RowChangeListener l)
Add a new row change listener to the listener list.protected void createRowsFromDataSouce()
Retrive the rows object by invoking the service method on the data source.protected void fireRowChanged(int index, java.lang.Object oldVal, java.lang.Object newVal)
java.lang.Object get(int index)
Retrieve the value of the row at the given index.IDataSource getDataSource()
Get the Data Source associated with this action.int getLength()
Returns the number of rows in this arrayjava.lang.Object getObject()
Get the bound object.ObjectReference getServiceArgument()
Get the argument used as the parameter for the service call.java.lang.String getServiceSignature()
Get the service signature for this action.java.lang.Class getType()
Get the class type of the referenced object.void refresh()
Refresh the referenced object.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 indexvoid setDataSource(IDataSource source)
Set the Data Source associated with this action.void setServiceArgument(ObjectReference arg)
Set the argument for the service call, according to the method signature set with the setService method.void setServiceSignature(java.lang.String service)
This is the service method signature that is to be use.void setSourceObject(java.lang.Object rows)
Set the source object that will be used as a reference for the bound object.java.lang.String toString()
Methods inherited from class jve.generated.ObjectReference addPropertyChangeListener, addPropertyListeners, firePropertyChanged, firePropertyChanged, getErrorMessage, getProperty, getPureSourceObject, getSourceObject, log, log, refreshPropertyHelper, removePropertyChangeListener, removePropertyListeners, setProperty, setSourceObject
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jve.generated.IBoundObject addPropertyChangeListener, getProperty, getSourceObject, removePropertyChangeListener, setProperty, setSourceObject
Field Detail
protected boolean initialized
protected java.util.List listeners
Constructor Detail
public DataSourceDataRows()
Method Detail
protected void createRowsFromDataSouce()
public java.lang.Object getObject()
public void setSourceObject(java.lang.Object rows)
public void setServiceSignature(java.lang.String service)
public java.lang.String getServiceSignature()
public void setServiceArgument(ObjectReference arg)
public ObjectReference getServiceArgument()
public void refresh()
public java.lang.Object get(int index)
public void set(int index, java.lang.Object value)
public void actionPerformed(IActionBinder action)
public void setDataSource(IDataSource source)
protected void fireRowChanged(int index, java.lang.Object oldVal, java.lang.Object newVal)
public void addRowChangeListener(IRowsDataObject.RowChangeListener l)
public void removeRowChangeListener(IRowsDataObject.RowChangeListener l)
public java.lang.String toString()
public IDataSource getDataSource()
public java.lang.Class getType() throws java.lang.IllegalStateException
public int getLength()
Package Class Use Tree Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD