|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjimm.datavision.gui.cmd.CommandAdapter
jimm.datavision.gui.cmd.AbstractAggregateCommand
jimm.datavision.gui.cmd.NewAggregateCommand
public class NewAggregateCommand
A command for adding a aggregate to a field for a particular section.
| Field Summary |
|---|
| Fields inherited from class jimm.datavision.gui.cmd.AbstractAggregateCommand |
|---|
aggregateWidget, fieldWidget, functionName, group, report |
| Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter |
|---|
name |
| Constructor Summary | |
|---|---|
NewAggregateCommand(Report report,
FieldWidget fw,
Group group,
java.lang.String functionName)
Constructor. |
|
| Method Summary | |
|---|---|
void |
perform()
Performs the command. |
void |
undo()
Undoes the command. |
| Methods inherited from class jimm.datavision.gui.cmd.AbstractAggregateCommand |
|---|
createAggregate, deleteAggregate, getAggregateWidget |
| Methods inherited from class jimm.datavision.gui.cmd.CommandAdapter |
|---|
getName, redo, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewAggregateCommand(Report report,
FieldWidget fw,
Group group,
java.lang.String functionName)
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.functionName - the aggregate function name| Method Detail |
|---|
public void perform()
CommandAdapter
perform in interface Commandperform in class CommandAdapterpublic void undo()
CommandAdapter
undo in interface Commandundo in class CommandAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||