Class NetLibs.PromptWindow
All Packages Class Hierarchy This Package Previous Next Index
Class NetLibs.PromptWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----NetLibs.PromptWindow
- public class PromptWindow
- extends Frame
- implements NetLibsConst
PromptWindow implements the class which puts up a prompt
window for the user to type in words for the story.
- Author:
- Michael Benson
-
PromptWindow(NetLibs, Vector, String)
- PromptWindow constructor.
-
action(Event, Object)
- Overrides the action method in Component to check for
button clicks.
PromptWindow
public PromptWindow(NetLibs applet,
Vector prompts,
String storyName)
- PromptWindow constructor. Creates the prompt window, but
does not display it. That's up to whoever calls this.
- Parameters:
- applet - the parent applet (used for code base).
- prompts - the list of prompt strings.
- storyName - name of the story template.
action
public boolean action(Event evt,
Object arg)
- Overrides the action method in Component to check for
button clicks.
- Parameters:
- evt - the event that caused the action.
- arg - the action.
- Returns:
- true if the event has been handled; false if not.
- Overrides:
- action in class Component
- See Also:
- action
All Packages Class Hierarchy This Package Previous Next Index