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
-
BoundTextBox()
-
-
addDataAvailableListener(DataAvailableListener)
-
-
addDataCloseListener(DataCloseListener)
-
-
addDataOpenListener(DataOpenListener)
-
-
addDataRequestListener(DataRequestListener)
-
-
change(ChangeEvent)
-
-
dataAvailable(DataAvailableEvent)
- The data source calls this method when it has data
available for the target (such as when the current
row changes).
-
dataClose(DataCloseEvent)
- The data source calls this method when its data set
is no longer available.
-
dataOpen(DataOpenEvent)
- The data source calls this method when a new set of
data is available.
-
dataRequest(DataRequestEvent)
- The data source calls this method when it wishes
the target to send changed data back to the source.
-
getDataColumns()
-
-
getDataSource()
-
-
removeDataAvailableListener(DataAvailableListener)
-
-
removeDataCloseListener(DataCloseListener)
-
-
removeDataOpenListener(DataOpenListener)
-
-
removeDataRequestListener(DataRequestListener)
-
-
reset()
-
-
setDataColumns(String)
-
-
setDataSource(DataSource)
-
BoundTextBox
public BoundTextBox()
getDataSource
public DataSource getDataSource()
setDataSource
public void setDataSource(DataSource source)
getDataColumns
public String getDataColumns()
setDataColumns
public void setDataColumns(String str)
reset
public synchronized void reset()
addDataAvailableListener
public void addDataAvailableListener(DataAvailableListener l)
removeDataAvailableListener
public void removeDataAvailableListener(DataAvailableListener l)
addDataCloseListener
public void addDataCloseListener(DataCloseListener l)
removeDataCloseListener
public void removeDataCloseListener(DataCloseListener l)
addDataOpenListener
public void addDataOpenListener(DataOpenListener l)
removeDataOpenListener
public void removeDataOpenListener(DataOpenListener l)
addDataRequestListener
public void addDataRequestListener(DataRequestListener l)
removeDataRequestListener
public void removeDataRequestListener(DataRequestListener l)
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.
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.
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.
dataClose
public void dataClose(DataCloseEvent event)
- The data source calls this method when its data set
is no longer available.
change
public void change(ChangeEvent event)
All Packages Class Hierarchy This Package Previous Next Index