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

action(Event, Object). Method in class hamlet.AppButton
When the displayed button is clicked, attempts to make, register, and display a frame of the class determined by init.
action(Event, Object). Method in class hamlet.AppFrame
Handles the four default menu entries.
action(Event, Object). Method in class hamlet.HelpDialog
Looks for a click on the Close button, at which point the dialog is removed from the display.
action(Event, Object). Method in class hamlet.SendButton
When the button is clicked, sends the message to the appropriate frame.
AppButton(). Constructor for class hamlet.AppButton
AppFrame(). Constructor for class hamlet.AppFrame
Sets up the default menus.

H

handleMessage(String). Method in class hamlet.AppFrame
This is called whenever a SendButton message is sent.
HelpDialog(String). Constructor for class hamlet.HelpDialog
Creates an empty help dialog with the specified title.
helpMenu. Variable in class hamlet.AppFrame
Additional entries can be added to helpMenu via Menu.add
helpText. Static variable in class hamlet.AppFrame
Appropriate help text should be assigned to this variable

I

init(). Method in class hamlet.AppButton
Obtains the NAME parameter, determines the class to which it refers, and displays a button that brings up frames of that class.
init(). Method in class hamlet.SendButton
Obtains the CLASSNAME and MESSAGE parameters and creates the button which, when will clicked, will send the message.

M

menuBar. Variable in class hamlet.AppFrame
Additional entries can be added to menuBar via MenuBar.add

R

remove(String). Static method in class hamlet.AppButton
Removes the object of the specified class from the registry, and stops displaying it.
reset(). Method in class hamlet.AppFrame
Resets the application to its initial state.

S

SendButton(). Constructor for class hamlet.SendButton
sendMessage(String, String). Static method in class hamlet.AppButton
Calls the handleMessage method of the AppFrame of the specified class from the registry.
setText(String). Method in class hamlet.HelpDialog
Sets the text that is displayed in the help dialog.