Index of all Fields and Methods
All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

_applet. Variable in class COM.bensoft.widgets.ImageCanvas
_fileName. Variable in class COM.bensoft.widgets.ImageCanvas
_image. Variable in class COM.bensoft.widgets.ImageCanvas

A

action(Event, Object). Method in class NetLibs.NetLibs
Overrides the action method in Component to check for button clicks.
action(Event, Object). Method in class NetLibs.PromptWindow
Overrides the action method in Component to check for button clicks.
addCommandListener(CommandListener). Method in class NetLibs.NetLibsCommand
Add a "command" listener.
addListener(BensEventListener). Method in class COM.bensoft.base.BensEventMulticaster
Add a listener.
autoGenerateStory(). Method in class NetLibs.NetLibs
Generates a story automatically from the dictionaries.

B

BensEventMulticaster(). Constructor for class COM.bensoft.base.BensEventMulticaster
EventMulticaster constructor.
BensUtils(). Constructor for class COM.bensoft.base.BensUtils

C

capitalizePhrase(String). Static method in class COM.bensoft.base.BensUtils
Capitalize all words in a phrase.
CMD_AUTO_GENERATE_STORY. Static variable in interface NetLibs.NetLibsConst
Automatic story generation.
CMD_PROMPT_GENERATE_STORY. Static variable in interface NetLibs.NetLibsConst
Prompt user for story generation.
CMD_STORY_GENERATED. Static variable in interface NetLibs.NetLibsConst
Story generation complete.
commandSelected(int). Method in interface NetLibs.CommandListener
Receives notification that a NetLibs command has been selected.
commandSelected(int). Method in class NetLibs.NetLibs
This is a "listener" which is called whenever a command is selected.
createMenuMar(String[]). Static method in class COM.bensoft.base.BensUtils
Create a menu bar.

D

doCommand(int). Method in class NetLibs.NetLibsCommand
Determine which command has been issued, call the command listeners, then do the command.

E

elements(). Method in class COM.bensoft.base.BensEventMulticaster
Allow user to iterate through the list of listeners.

G

getImage(). Method in class COM.bensoft.widgets.ImageCanvas
Returns the current image.
getImageFileName(). Method in class COM.bensoft.widgets.ImageCanvas
Returns the current image file name.
getIndefiniteArticle(String, boolean). Static method in class COM.bensoft.base.BensUtils
Get the indefinite article that should precede a word.
getMax(). Method in class COM.bensoft.widgets.ProgressMeter
Returns the current upper limit.
getMin(). Method in class COM.bensoft.widgets.ProgressMeter
Returns the current lower limit.
getNetLibsCommand(). Method in class NetLibs.NetLibs
Get the NetLibsCommand object to issue a command.
getPrompts(Applet, String). Method in class NetLibs.StoryTemplate
Reads in a prompt file and separates the prompts.
getRandomWord(Applet, String). Method in class NetLibs.StoryTemplate
Gets a random word of type prompt.
getTemplate(Applet, String). Method in class NetLibs.StoryTemplate
Reads in a story template.
getValue(). Method in class COM.bensoft.widgets.ProgressMeter
Returns the current value of the progress meter.

H

hasListeners(). Method in class COM.bensoft.base.BensEventMulticaster
Returns whether or not there are any listeners present.

I

ImageAnimator(Applet, String, int, int, int, int). Constructor for class COM.bensoft.widgets.ImageAnimator
ImageAnimator constructor.
ImageCanvas(Applet, int, int). Constructor for class COM.bensoft.widgets.ImageCanvas
ImageCanvas constructor.
ImageCanvas(Applet, String, int, int). Constructor for class COM.bensoft.widgets.ImageCanvas
ImageCanvas constructor.
increment(int). Method in class COM.bensoft.widgets.ProgressMeter
Increments the current value of the progress meter and redraws it.
init(). Method in class NetLibs.NetLibs
NetLibs initialization.

M

MAXFILESIZE. Static variable in interface NetLibs.NetLibsConst
Maximum file size in bytes for story templates and dictionaries.
MAXHEIGHT. Static variable in interface NetLibs.NetLibsConst
Maximum height of the applet frame.
MAXWIDTH. Static variable in interface NetLibs.NetLibsConst
Maximum width of the applet frame.

N

NetLibs(). Constructor for class NetLibs.NetLibs
NetLibsCommand(NetLibs). Constructor for class NetLibs.NetLibsCommand
NetLibsCommands constructor.

P

paint(Graphics). Method in class COM.bensoft.widgets.ImageCanvas
Overrides the action method in Canvas to redraw the image.
paint(Graphics). Method in class COM.bensoft.widgets.ProgressMeter
Overrides the action method in Canvas to redraw the progress meter.
ProgressMeter(). Constructor for class COM.bensoft.widgets.ProgressMeter
ProgressMeter constructor.
promptGenerateStory(). Method in class NetLibs.NetLibs
Generates a story by prompting the user for words.
PromptWindow(NetLibs, Vector, String). Constructor for class NetLibs.PromptWindow
PromptWindow constructor.

R

removeCommandListener(CommandListener). Method in class NetLibs.NetLibsCommand
Remove a "command" listener.
removeListener(BensEventListener). Method in class COM.bensoft.base.BensEventMulticaster
Remove a listener.
run(). Method in class COM.bensoft.widgets.ImageAnimator
Run the animation thread until it is interruped.

S

setImage(Image). Method in class COM.bensoft.widgets.ImageCanvas
Sets the actual image and redraws.
setImageFileName(String). Method in class COM.bensoft.widgets.ImageCanvas
Sets the image file name and redraw the image.
setLimits(int, int). Method in class COM.bensoft.widgets.ProgressMeter
Sets the upper and lower limits of the progress meter.
setValue(int). Method in class COM.bensoft.widgets.ProgressMeter
Sets the current value of the progress meter and redraws it.
start(). Method in class COM.bensoft.widgets.ImageAnimator
Start the animation thread.
stop(). Method in class COM.bensoft.widgets.ImageAnimator
Stop the animation thread.
StoryTemplate(). Constructor for class NetLibs.StoryTemplate
StoryTemplate constructor.
substituteWords(String, Vector). Method in class NetLibs.NetLibs
Gets the story template and substitutes the chosen words into the story.