org.pietschy.command
Class CommandAdapter

java.lang.Object
  extended by org.pietschy.command.CommandAdapter
All Implemented Interfaces:
java.util.EventListener, CommandListener

public abstract class CommandAdapter
extends java.lang.Object
implements CommandListener

An empty implementation of CommandListener.


Constructor Summary
CommandAdapter()
           
 
Method Summary
 void afterExecute(CommandEvent e)
          Called after a command has completed execution.
 void beforeExecute(CommandEvent e)
          Called just prior to a commands execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandAdapter

public CommandAdapter()
Method Detail

afterExecute

public void afterExecute(CommandEvent e)
Called after a command has completed execution. Do nothing implementation.

Specified by:
afterExecute in interface CommandListener
Parameters:
e - the command event.

beforeExecute

public void beforeExecute(CommandEvent e)
Called just prior to a commands execution. Do nothing implementation.

Specified by:
beforeExecute in interface CommandListener
Parameters:
e - the command event.