y.base
Interface Command

All Known Implementing Classes:
AnimationCommand

public interface Command

General command pattern interface, that supports the execution and the undoability of some code.


Method Summary
 void execute()
          Exeutes the command.
 void redo()
          Executes the command after it has been undone.
 void undo()
          Undoes the effects of this command.
 

Method Detail

execute

public void execute()
Exeutes the command.


undo

public void undo()
Undoes the effects of this command.


redo

public void redo()
Executes the command after it has been undone.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003