Class powersoft.jcm.db.BoundTextBox
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class powersoft.jcm.db.BoundTextBox

java.lang.Object
   |
   +----powersoft.jcm.ui.Component
           |
           +----powersoft.jcm.ui.TextBox
                   |
                   +----powersoft.jcm.db.BoundTextBox

public class BoundTextBox
extends TextBox
implements DataOpenListener, DataAvailableListener, DataRequestListener, DataCloseListener, ChangeListener
Encapsulates a text box bound to a data source. The bound text box can be tied to a column of a result set. The contents of the text box change as the cursor moves through the result set.
See Also:
TextBox

Constructor Index

 o BoundTextBox()

Method Index

 o addDataAvailableListener(DataAvailableListener)
 o addDataCloseListener(DataCloseListener)
 o addDataOpenListener(DataOpenListener)
 o addDataRequestListener(DataRequestListener)
 o change(ChangeEvent)
 o dataAvailable(DataAvailableEvent)
The data source calls this method when it has data available for the target (such as when the current row changes).
 o dataClose(DataCloseEvent)
The data source calls this method when its data set is no longer available.
 o dataOpen(DataOpenEvent)
The data source calls this method when a new set of data is available.
 o dataRequest(DataRequestEvent)
The data source calls this method when it wishes the target to send changed data back to the source.
 o getDataColumns()
 o getDataSource()
 o removeDataAvailableListener(DataAvailableListener)
 o removeDataCloseListener(DataCloseListener)
 o removeDataOpenListener(DataOpenListener)
 o removeDataRequestListener(DataRequestListener)
 o reset()
 o setDataColumns(String)
 o setDataSource(DataSource)

Constructors

 o BoundTextBox
  public BoundTextBox()

Methods

 o getDataSource
  public DataSource getDataSource()
 o setDataSource
  public void setDataSource(DataSource source)
 o getDataColumns
  public String getDataColumns()
 o setDataColumns
  public void setDataColumns(String str)
 o reset
  public synchronized void reset()
 o addDataAvailableListener
  public void addDataAvailableListener(DataAvailableListener l)
 o removeDataAvailableListener
  public void removeDataAvailableListener(DataAvailableListener l)
 o addDataCloseListener
  public void addDataCloseListener(DataCloseListener l)
 o removeDataCloseListener
  public void removeDataCloseListener(DataCloseListener l)
 o addDataOpenListener
  public void addDataOpenListener(DataOpenListener l)
 o removeDataOpenListener
  public void removeDataOpenListener(DataOpenListener l)
 o addDataRequestListener
  public void addDataRequestListener(DataRequestListener l)
 o removeDataRequestListener
  public void removeDataRequestListener(DataRequestListener l)
 o dataOpen
  public void dataOpen(DataOpenEvent event)
The data source calls this method when a new set of data is available. The target can prepare itself and can also make calls back on the source to bind columns, etc.
 o dataAvailable
  public void dataAvailable(DataAvailableEvent event)
The data source calls this method when it has data available for the target (such as when the current row changes). The default implementation is to simply call the DataAvailable event on the event object.
 o dataRequest
  public void dataRequest(DataRequestEvent event)
The data source calls this method when it wishes the target to send changed data back to the source. The default implementation is to simply call the DataRequest event on the event object.
 o dataClose
  public void dataClose(DataCloseEvent event)
The data source calls this method when its data set is no longer available.
 o change
  public void change(ChangeEvent event)

All Packages  Class Hierarchy  This Package  Previous  Next  Index