IndexNetLibsConst.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.
*
* This interface contains various constants used throughout NetLibs.
*/
package NetLibs;
import java.awt.*;
import java.applet.Applet;
import java.util.*;
import java.io.*;
import java.net.*;
public interface NetLibsConst
{
//
// Size constants:
//
/** Maximum width of the applet frame. */
static final int MAXWIDTH = 500;
/** Maximum height of the applet frame. */
static final int MAXHEIGHT = 400;
/** Maximum file size in bytes for story templates and dictionaries. */
static final int MAXFILESIZE = 4096;
//
// Commands:
//
/** Automatic story generation. */
static final int CMD_AUTO_GENERATE_STORY = 1;
/** Prompt user for story generation. */
static final int CMD_PROMPT_GENERATE_STORY = 2;
/** Story generation complete. */
static final int CMD_STORY_GENERATED = 3;
}