org.pietschy.command

Class CommandAdapter

Implemented Interfaces:
CommandListener, EventListener

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

An empty implementation of CommandListener.

Method Summary

void
afterExecute(CommandEvent e)
Called after a command has completed execution.
void
beforeExecute(CommandEvent e)
Called just prior to a commands execution.

Method Details

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.