org.pietschy.command

Interface CommandListener

All Superinterfaces:
EventListener
Known Implementing Classes:
CommandAdapter

public interface CommandListener
extends EventListener

The CommandListener interface provides notification of a commands execution. The listener is notified just before and just after the command has been invoked.

Method Summary

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

Method Details

afterExecute

public void afterExecute(CommandEvent e)
Called just after a commands execution.
Parameters:
e - the command event.

beforeExecute

public void beforeExecute(CommandEvent e)
Called just prior to a commands execution.
Parameters:
e - the command event.