it.amattioli.applicate.commands.executors
Class UndoableExecutor

Show UML class diagram
java.lang.Object
  extended by it.amattioli.applicate.commands.executors.AbstractCommandExecutor
      extended by it.amattioli.applicate.commands.executors.UndoableExecutor
All Implemented Interfaces:
CommandExecutor

public class UndoableExecutor
extends AbstractCommandExecutor


Constructor Summary
UndoableExecutor()
           
 
Method Summary
protected  void afterCommand(Command cmd)
           
protected  void beforeCommand(Command cmd)
           
 int getSize()
           
 boolean isUndoAvailable()
           
 void setSize(int size)
           
 void undo()
           
 
Methods inherited from class it.amattioli.applicate.commands.executors.AbstractCommandExecutor
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoableExecutor

public UndoableExecutor()
Method Detail

beforeCommand

protected void beforeCommand(Command cmd)
Specified by:
beforeCommand in class AbstractCommandExecutor

afterCommand

protected void afterCommand(Command cmd)
Specified by:
afterCommand in class AbstractCommandExecutor

undo

public void undo()

isUndoAvailable

public boolean isUndoAvailable()

getSize

public int getSize()

setSize

public void setSize(int size)


Copyright © 2011. All Rights Reserved.