Index
CommandListener.java


/*
 *  "Net Libs" by Copyright (C) Michael Benson - 7/27/97
 *
 *  Loosely based on "Mac Libs" which is loosely based on the old
 *  "Mad Libs" books for creating stories from forms.
 */

package NetLibs;

import java.awt.*;
import java.applet.Applet;
import java.util.*;
import java.io.*;
import java.net.*;

import COM.bensoft.base.*;
import COM.bensoft.widgets.*;


/**
 * Interface to be implemented by registered listeners who
 * want to know when various NetLibs commands are selected.
 */
public interface CommandListener extends BensEventListener
{
	/**
	 * Receives notification that a NetLibs command has
	 * been selected.
	 *
	 * @param	command		the selected command.
	 * @return	true if it's okay to continue processing
	 *		the command; false to abort the command.
	 * @see		COM.bensoft.base.BensEventListener
	 */
	public boolean commandSelected (int command);
}