A C D E G H L M P S

A

add(String) - Method in class ChatWindow
Adds a new message to the message area in the upper part of the ChatWindow.
add(String) - Method in class ListWindow
Adds a new element to the end of the list presented in the ListWindow.
add(String) - Method in class MenuWindow
Adds a new menu item to the bottom of the menu.
AlertWindow - class AlertWindow.
Implements pop-up alert boxes which displays a message and requires the user to confirm the message before proceeding.
AlertWindow() - Constructor for class AlertWindow
 

C

ChatWindow - class ChatWindow.
A ChatWindow is a window which handles the user interaction of one active chat session.
ChatWindow(int, int, String) - Constructor for class ChatWindow
Constructs a ChatWindow at a given position on the screen and with a given title which is displayed in the title bar of the window.
clear() - Method in class ChatWindow
Clears the contents of the message area in the upper part of the ChatWindow.
clear() - Method in class ListWindow
Clears the contents of the ListWindow and removes all elements in the list.
clear() - Method in class MenuWindow
Clears the menu from all menu items.

D

destroy() - Method in class ChatWindow
Destroys the ChatWindow and frees all resources associated with it.
destroy() - Method in class ListWindow
Destroys the ListWindow and frees all resources associated with it.
destroy() - Method in class MenuWindow
Destroys the MenuWindow and frees all resources associated with it.
displayAlert(int, int, String, String) - Static method in class AlertWindow
Displays an alert box containing a message.
displayPrompt(int, int, String, String) - Static method in class PromptWindow
Displays a prompt window containing a message and an input field.

E

elementSelected(String, int) - Method in class ListWindow
Returns the text associated with the currently selected item.

G

getSelectedPosition() - Method in class ListWindow
Returns the index of the currently selected item, if any, in the list.

H

hide() - Method in class ChatWindow
Makes the ChatWindow invisible.
hide() - Method in class ListWindow
Makes the ListWindow invisible.
hide() - Method in class MenuWindow
Makes the MenuWindow invisible.

L

ListWindow - class ListWindow.
A ListWindow is a window which presents a list of strings and lets the user select one of them.
ListWindow(int, int, String) - Constructor for class ListWindow
Constructs a ListWindow at a given position on the screen and with a given title which is displayed in the title bar of the window.

M

menuItemSelected(String, int) - Method in class MenuWindow
The menuItemSelected method is called whenever the user clicks on one of the buttons in the menu window.
MenuWindow - class MenuWindow.
A MenuWindow implements a programmerspecifiable menu window.
MenuWindow(int, int, String) - Constructor for class MenuWindow
Creates an empty MenuWindow containing no menu items.
messageEntered(String) - Method in class ChatWindow
The messageEntered method is called whenever the user submits a new message and controls how to handle the new message.

P

PromptWindow - class PromptWindow.
Implements pop-up input boxes which displays a message and prompts the user for a text.
PromptWindow() - Constructor for class PromptWindow
 

S

show() - Method in class ChatWindow
Makes the ChatWindow visible.
show() - Method in class ListWindow
Makes the ListWindow visible.
show() - Method in class MenuWindow
Makes the MenuWindow visible.

A C D E G H L M P S