jimm.datavision.gui.cmd
Class EditAggregateFuncCommand

java.lang.Object
  extended by jimm.datavision.gui.cmd.CommandAdapter
      extended by jimm.datavision.gui.cmd.EditAggregateFuncCommand
All Implemented Interfaces:
Command, Nameable

public class EditAggregateFuncCommand
extends CommandAdapter

A command for changing an aggregate field's function.

Author:
Jim Menard, jimm@io.com

Field Summary
protected  AggregateField aggregateField
           
protected  java.lang.String newFunctionName
           
protected  java.lang.String oldFunctionName
           
 
Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter
name
 
Constructor Summary
EditAggregateFuncCommand(AggregateField f, java.lang.String functionName)
           
 
Method Summary
 void perform()
          Performs the command.
 void undo()
          Undoes the command.
 
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
 

Field Detail

aggregateField

protected AggregateField aggregateField

newFunctionName

protected java.lang.String newFunctionName

oldFunctionName

protected java.lang.String oldFunctionName
Constructor Detail

EditAggregateFuncCommand

public EditAggregateFuncCommand(AggregateField f,
                                java.lang.String functionName)
Method Detail

perform

public void perform()
Description copied from class: CommandAdapter
Performs the command. The default implementation does nothing.

Specified by:
perform in interface Command
Overrides:
perform in class CommandAdapter

undo

public void undo()
Description copied from class: CommandAdapter
Undoes the command. The default implementation does nothing.

Specified by:
undo in interface Command
Overrides:
undo in class CommandAdapter