Class powersoft.jcm.db.BoundLabel
All Packages Class Hierarchy This Package Previous Next Index
Class powersoft.jcm.db.BoundLabel
java.lang.Object
|
+----powersoft.jcm.ui.Component
|
+----powersoft.jcm.ui.Label
|
+----powersoft.jcm.db.BoundLabel
- public class BoundLabel
- extends Label
- implements DataOpenListener, DataAvailableListener, DataRequestListener, DataCloseListener
Encapsulates a label bound to a data source. The contents of the label
correspond to the contents of the column in the result set to which the
label is bound.
- See Also:
- Label
-
BoundLabel()
-
-
addDataAvailableListener(DataAvailableListener)
-
-
addDataCloseListener(DataCloseListener)
-
-
addDataOpenListener(DataOpenListener)
-
-
addDataRequestListener(DataRequestListener)
-
-
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)
-
BoundLabel
public BoundLabel()
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.
All Packages Class Hierarchy This Package Previous Next Index