| jimm.datavision.field.Field jimm.datavision.field.ParameterField
ParameterField | public class ParameterField extends Field implements Observer(Code) | | A parameter field represents a parameter. The value of a parameter field
holds a
Parameter object. In the XML, the parameter field's value
is the id of the parameter.
author: Jim Menard, jimm@io.com |
ParameterField | public ParameterField(Long id, Report report, Section section, Object value, boolean visible)(Code) | | Constructs a parameter field with the specified id in the specified report
section whose
Parameter '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 parameter Parameters: visible - show/hide flag |
canBeAggregated | public boolean canBeAggregated()(Code) | | This override returns true if this parameter is in a detail
section and returns a number.
true if this field can be aggregated |
dragString | public String dragString()(Code) | | Not really used; we drag parameters, not parameter fields.
|
getParameter | public Parameter getParameter()(Code) | | Returns the parameter.
the parameter |
getValue | public Object getValue()(Code) | | Returns the value of this field. For parameter fields, this is the
value generated by evaluating the
Parameter .
the result of evaluating the parameter |
setParameter | public void setParameter(Parameter newParameter)(Code) | | Sets the parameter.
Parameters: newParameter - the new parameter |
|
|