borland Packages Class Hierarchy jbcl.dataset Package Index
java.lang.Object +----borland.jbcl.util.Variant +----borland.jbcl.dataset.ColumnVariant
Variables Properties Methods
Implements Serializable, Cloneable
This class extends the borland.jbcl.util.Variant class by adding a getter to obtain the DataSet and Column information for a Variant. For example, if a method is given a variable v that is defined as a Variant, you can use code such as
if (v instanceof ColumnVariant)
to determine if the Variant variable is part of a DataSet. If it is part of a DataSet, it can display any errors from the MaskableTextItemEditor in the status bar.
public Column getColumn()Read-only property that returns the Column component that contains the Variant.
public DataSet getDataSet()Read-only property that returns the DataSet that contains the Variant.