|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jimm.datavision.gui.cmd.CommandAdapter jimm.datavision.gui.cmd.AbstractAggregateCommand jimm.datavision.gui.cmd.DeleteAggregateCommand
public class DeleteAggregateCommand
A command for deleting a aggregate to a field from 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 | |
---|---|
DeleteAggregateCommand(Report report,
FieldWidget fw,
FieldWidget aggregateWidget,
java.lang.String funcName,
Group group)
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 DeleteAggregateCommand(Report report, FieldWidget fw, FieldWidget aggregateWidget, java.lang.String funcName, Group group)
report
- the report containing the field and the aggregatefw
- the field widget from which we are deleting the aggregateaggregateWidget
- the aggregate's field widgetfuncName
- current function of aggregate, in case we undogroup
- if null
, the aggregate is deleted from the
report footer; else the aggregate is deleted from the group's footer.Method Detail |
---|
public void perform()
CommandAdapter
perform
in interface Command
perform
in class CommandAdapter
public void undo()
CommandAdapter
undo
in interface Command
undo
in class CommandAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |