com.sun.rave.faces.data
Class DataValueBinder

java.lang.Object
  extended by com.sun.rave.faces.data.DataValueBinder
All Implemented Interfaces:
RowSetBindable, RowSetColumnBindable, java.util.EventListener, javax.faces.event.FacesListener, javax.faces.event.ValueChangeListener, javax.sql.RowSetListener

public class DataValueBinder
extends java.lang.Object
implements RowSetColumnBindable, javax.sql.RowSetListener, javax.faces.event.ValueChangeListener


Field Summary
protected  ColumnBinding boundColumn
           
protected  javax.sql.RowSet rowSet
           
protected  javax.faces.component.ValueHolder valueHolder
           
 
Fields inherited from interface com.sun.rave.faces.data.RowSetColumnBindable
PROPNAME_BOUND_COLUMN
 
Fields inherited from interface com.sun.rave.faces.data.RowSetBindable
PROPNAME_BOUND_ROWSET
 
Constructor Summary
DataValueBinder()
           
 
Method Summary
 void cursorMoved(javax.sql.RowSetEvent event)
           
protected  void dataBind()
           
protected  void dataUnbind()
           
 ColumnBinding getBoundColumn()
           
 javax.sql.RowSet getBoundRowSet()
           
 javax.faces.event.PhaseId getPhaseId()
           
 javax.faces.component.ValueHolder getValueHolder()
           
 void processValueChange(javax.faces.event.ValueChangeEvent event)
           
 void rowChanged(javax.sql.RowSetEvent event)
           
 void rowSetChanged(javax.sql.RowSetEvent event)
           
 void setBoundColumn(ColumnBinding column)
           
 void setBoundRowSet(javax.sql.RowSet rowSet)
           
 void setValueHolder(javax.faces.component.ValueHolder valueHolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowSet

protected javax.sql.RowSet rowSet

boundColumn

protected ColumnBinding boundColumn

valueHolder

protected javax.faces.component.ValueHolder valueHolder
Constructor Detail

DataValueBinder

public DataValueBinder()
Method Detail

setBoundRowSet

public void setBoundRowSet(javax.sql.RowSet rowSet)
Specified by:
setBoundRowSet in interface RowSetBindable

getBoundRowSet

public javax.sql.RowSet getBoundRowSet()
Specified by:
getBoundRowSet in interface RowSetBindable

setBoundColumn

public void setBoundColumn(ColumnBinding column)
Specified by:
setBoundColumn in interface RowSetColumnBindable

getBoundColumn

public ColumnBinding getBoundColumn()
Specified by:
getBoundColumn in interface RowSetColumnBindable

setValueHolder

public void setValueHolder(javax.faces.component.ValueHolder valueHolder)

getValueHolder

public javax.faces.component.ValueHolder getValueHolder()

dataBind

protected void dataBind()

dataUnbind

protected void dataUnbind()

rowSetChanged

public void rowSetChanged(javax.sql.RowSetEvent event)
Specified by:
rowSetChanged in interface javax.sql.RowSetListener

rowChanged

public void rowChanged(javax.sql.RowSetEvent event)
Specified by:
rowChanged in interface javax.sql.RowSetListener

cursorMoved

public void cursorMoved(javax.sql.RowSetEvent event)
Specified by:
cursorMoved in interface javax.sql.RowSetListener

getPhaseId

public javax.faces.event.PhaseId getPhaseId()

processValueChange

public void processValueChange(javax.faces.event.ValueChangeEvent event)
                        throws javax.faces.event.AbortProcessingException
Specified by:
processValueChange in interface javax.faces.event.ValueChangeListener
Throws:
javax.faces.event.AbortProcessingException