jimm.datavision.gui.cmd
Class AbstractAggregateCommand
java.lang.Object
jimm.datavision.gui.cmd.CommandAdapter
jimm.datavision.gui.cmd.AbstractAggregateCommand
- All Implemented Interfaces:
- Command, Nameable
- Direct Known Subclasses:
- DeleteAggregateCommand, NewAggregateCommand
public class AbstractAggregateCommand
- extends CommandAdapter
A command for adding a aggregate to a field for a particular section.
- Author:
- Jim Menard, jimm@io.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
report
protected Report report
fieldWidget
protected FieldWidget fieldWidget
group
protected Group group
aggregateWidget
protected FieldWidget aggregateWidget
functionName
protected java.lang.String functionName
AbstractAggregateCommand
public AbstractAggregateCommand(Report report,
FieldWidget fw,
Group group,
java.lang.String functionName,
java.lang.String commandName)
- Constructor.
- Parameters:
report
- the report containing the field and the aggregatefw
- the field widget to which we are adding a aggregategroup
- if null
, the aggregate is added to the
report footer; else the aggregate is added to the first section in
the group's footer.commandName
- the command name
getAggregateWidget
public FieldWidget getAggregateWidget()
createAggregate
protected void createAggregate()
deleteAggregate
protected void deleteAggregate()