A G O S T W

A

actionPerformed(ActionEvent) - Method in class TextWindow
Handle actionPerformed events (required by ActionListener)
addFileMenu() - Method in class TextWindow
Add a File menu to the menu bar of this TextWindow
append(String) - Method in class TextEditor
Append text to the end of the current contents of this TextEditor

G

getText() - Method in class TextEditor
Get the current contents of this TextEditor

O

open() - Method in class TextWindow
Prompt for a File (using a file dialog box) and then open that File

S

save() - Method in class TextWindow
Prompt for a File and then save the current contents of the TextEditor to that File
selectAll() - Method in class TextEditor
Select all of the text in this TextEditor
setEditable(boolean) - Method in class TextEditor
Set whether the contents of this TextEditor can be edited or not
setShouldConfirmExit(boolean) - Method in class TextWindow
Set whether exit requests should be confirmed or not
setShouldHaveScrollBar(boolean) - Method in class TextEditor
Set whether this TextEditor should have a vertical scrollbar
setText(String) - Method in class TextEditor
Set the text contained in this TextEditor
setTextEditor(TextEditor) - Method in class TextWindow
Set the TextEditor to be used in this TextWindow
setVisible(boolean) - Method in class TextWindow
Make this TextWindow visible or not

T

TextEditor - Class in <Unnamed>
A text editor with limited capabilities
TextEditor() - Constructor for class TextEditor
Default Constructor
TextWindow - Class in <Unnamed>
A window that can contain a TextEditor
TextWindow(String) - Constructor for class TextWindow
Explicit Value Constructor

W

windowActivated(WindowEvent) - Method in class TextWindow
Handle windowActivated events (required by WindowListener)
windowClosed(WindowEvent) - Method in class TextWindow
Handle windowClosed events (required by WindowListener)
windowClosing(WindowEvent) - Method in class TextWindow
Handle windowClosing events (required by WindowListener)
windowDeactivated(WindowEvent) - Method in class TextWindow
Handle windowDecativated events (required by WindowListener)
windowDeiconified(WindowEvent) - Method in class TextWindow
Handle windowDeiconified events (required by WindowListener)
windowIconified(WindowEvent) - Method in class TextWindow
Handle windowIconified events (required by WindowListener)
windowOpened(WindowEvent) - Method in class TextWindow
Handle windowOpened events (required by WindowListener)

A G O S T W

James Madison University, Department of Computer Science