| java.lang.Object java.util.Observable jimm.datavision.Element jimm.datavision.field.Field jimm.datavision.field.UserColumnField
UserColumnField | public class UserColumnField extends Field implements Observer(Code) | | A user column field represents a user column, which in turn holds some SQL
that is put in the SELECT clause of a query. The value of a user column
field holds a
UserColumn object. (In the XML, the user column
field's value is the id of the user column.)
author: Jim Menard, jimm@io.com |
UserColumnField | public UserColumnField(Long id, Report report, Section section, Object value, boolean visible)(Code) | | Constructs a user column field with the specified id in the specified report
section whose
UserColumn '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 id of a user column Parameters: visible - show/hide flag |
canBeAggregated | public boolean canBeAggregated()(Code) | | This override returns true if this user column is in a
detail section. We don't really know that this user column returns
a number, so we'll err on the side of allowing aggregation.
true if this field can be aggregated |
dragString | public String dragString()(Code) | | Not really used; we drag user columns, not user column fields.
|
getUserColumn | public UserColumn getUserColumn()(Code) | | Returns the user column.
the user column |
getValue | public Object getValue()(Code) | | Returns the value of this field. For user column fields, this is the
value generated by evaluating the
UserColumn .
the result of evaluating the usercol |
setUserColumn | public void setUserColumn(UserColumn newUsercol)(Code) | | Sets the user column.
Parameters: newUsercol - the new user column |
|
|