jbcl.control Package
java.lang.Object +----com.borland.jbcl.view.ColumnView +----com.borland.jbcl.control.DatasetColumnView
Variables Constructors Properties Methods
Implements ItemEditSite, ItemPaintSite, Serializable, Cloneable
The DatasetColumnView
component is a simple extension of ColumnView
, which acts as a persister of Column
properties. These properties are used to display Column
components in a GridControl
. In addition to all basic behavior of a ColumnView
, it fills its properties from the Column
object that is passed to its constructor methods. It has no extra functionality except for its constructors.
Data-aware controls pick up Column
properties when bound to a DataSet
. After that, to affect display, set properties of the ColumnView
or DataSetColumnView
components.
public DatasetColumnView(Column column)Creates a
DataSetColumnView
object, binds it to the specified Column
, and sets its properties to the property values of the Column
object.
Parameters:
column
Column
component to bind the DataSetColumnView
component to.
public DatasetColumnView(Column column, ColumnView clonee)Creates a
DataSetColumnView
object, binds it to the specified Column
, and sets its properties to the property values of the specified clonee
. This constructor is useful when you want to copy properties from an existing ColumnView
object and use them as default values.
Parameters:
column
Column
component to bind the DataSetColumnView
component to.
clonee
Column
component you want to clone properties from for this DataSetColumnView
.