| jimm.datavision.field.Field jimm.datavision.field.ColumnField
ColumnField | public class ColumnField extends Field (Code) | | A column field represents a data source column. The value of a column field
holds the
Column object.
author: Jim Menard, jimm@io.com |
Constructor Summary | |
public | ColumnField(Long id, Report report, Section section, Object value, boolean visible) Constructs a column field with the specified id in the specified report
section whose database
Column 's id is value. |
ColumnField | public ColumnField(Long id, Report report, Section section, Object value, boolean visible)(Code) | | Constructs a column field with the specified id in the specified report
section whose database
Column 's id is value.
Parameters: id - the new field's id Parameters: report - the report containing this element Parameters: section - the report section in which the field resides Parameters: value - the string id of a database column Parameters: visible - show/hide flag |
canBeAggregated | public boolean canBeAggregated()(Code) | | This override returns true if this column is in a detail
section and holds a numeric type.
true if this field can be aggregated |
getColumn | public Column getColumn()(Code) | | Returns the database column.
the database column |
getValue | public Object getValue()(Code) | | Returns the value of this field. For column fields, this is the current
value of the database column.
the value string |
setColumn | public void setColumn(Column newColumn)(Code) | | Sets the database column.
Parameters: newColumn - the new database column |
|
|