A B C D E F G I J M N P Q R S T U W _

A

abbreviate(String) - Static method in class ptolemy.gui.GUIStringUtilities
Abbreviate a string.
addCheckBox(String, String, boolean) - Method in class ptolemy.gui.Query
Create an on-off check box.
addChoice(String, String, String[], String) - Method in class ptolemy.gui.Query
Create an uneditable choice menu.
addChoice(String, String, String[], String, boolean) - Method in class ptolemy.gui.Query
Create a choice menu.
addDisplay(String, String, String) - Method in class ptolemy.gui.Query
Create a simple one-line text display, a non-editable value that is set externally using the setDisplay() method.
addFileChooser(String, String, String) - Method in class ptolemy.gui.Query
Create a FileChooser
addLine(String, String, String) - Method in class ptolemy.gui.Query
Create a single-line entry box with the specified name, label, and default value.
addQueryListener(QueryListener) - Method in class ptolemy.gui.Query
Add a listener.
addRadioButtons(String, String, String[], String) - Method in class ptolemy.gui.Query
Create a bank of radio buttons.
addSelectButtons(String, String, String[], Set) - Method in class ptolemy.gui.Query
Create a bank of buttons that provides a list of choices, any subset of which may be chosen at a time.
addSlider(String, String, int, int, int) - Method in class ptolemy.gui.Query
Create a slider with the specified name, label, default value, maximum, and minimum.
appendJTextArea(String) - Method in class ptolemy.gui.JTextAreaExec
Append the text message to the JTextArea and include a trailing newline.

B

BasicJApplet - class ptolemy.gui.BasicJApplet.
Base class for swing applets.
BasicJApplet() - Constructor for class ptolemy.gui.BasicJApplet
 
booleanValue(String) - Method in class ptolemy.gui.Query
Get the current value in the entry with the given name and return as a boolean.
buttonPressed() - Method in class ptolemy.gui.ComponentDialog
Return the label of the button that triggered closing the dialog, or an empty string if none.

C

cancel() - Method in class ptolemy.gui.JTextAreaExec
Cancel any running commands.
CancelException - exception ptolemy.gui.CancelException.
An exception that is not reported to the user.
CancelException() - Constructor for class ptolemy.gui.CancelException
Construct an exception with a default message.
CancelException(String) - Constructor for class ptolemy.gui.CancelException
Construct an exception with the specified message.
centerOnScreen() - Method in class ptolemy.gui.Top
Center the window on the screen.
changed(String) - Method in interface ptolemy.gui.QueryListener
Called to notify that one of the entries has changed.
clear() - Method in class ptolemy.gui.JTextAreaExec
Clear the text area, status bar and progress bar.
CloseListener - interface ptolemy.gui.CloseListener.
This is an interface for listeners that need to be informed when a window closes.
ComponentDialog - class ptolemy.gui.ComponentDialog.
This class is a modal dialog box that contains an arbitrary component.
ComponentDialog(Frame, String, Component) - Constructor for class ptolemy.gui.ComponentDialog
Construct a dialog with the specified owner, title, and component.
ComponentDialog(Frame, String, Component, String[]) - Constructor for class ptolemy.gui.ComponentDialog
Construct a dialog with the specified owner, title, component, and buttons.
ComponentDialog(Frame, String, Component, String[], String) - Constructor for class ptolemy.gui.ComponentDialog
Construct a dialog with the specified owner, title, component, buttons, and message.
construct() - Method in class ptolemy.gui.SwingWorker
Compute the value to be returned by the get method.
contents - Variable in class ptolemy.gui.ComponentDialog
The component contained by this dialog.

D

DEFAULT_ENTRY_WIDTH - Static variable in class ptolemy.gui.Query
The default width of entries created with addLine().
doubleValue(String) - Method in class ptolemy.gui.Query
Get the current value in the entry with the given name and return as a double value.

E

error(String) - Static method in class ptolemy.gui.MessageHandler
Defer to the set message handler to show the specified error message.
error(String, Exception) - Static method in class ptolemy.gui.MessageHandler
Defer to the set message handler to show the specified message and exception information.

F

finished() - Method in class ptolemy.gui.SwingWorker
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.

G

get() - Method in class ptolemy.gui.SwingWorker
Return the value created by the construct method.
getAppletInfo() - Method in class ptolemy.gui.BasicJApplet
Return generic applet information.
getContext() - Static method in class ptolemy.gui.GraphicalMessageHandler
Get the component set by a call to setContext(), or null if none.
getLastOverallURL() - Static method in class ptolemy.gui.Top
Return the most recently entered URL in the most recently invoked Open URL dialog box.
getMaximumSize() - Method in class ptolemy.gui.Query
Return the preferred size, since it usually does not make sense to stretch a query box.
getMessageHandler() - Static method in class ptolemy.gui.MessageHandler
Return the message handler instance that is used by the static methods in this class.
getParameterInfo() - Method in class ptolemy.gui.BasicJApplet
Describe the applet parameters.
getStartButton() - Method in class ptolemy.gui.JTextAreaExec
Return the Start button.
getTextWidth() - Method in class ptolemy.gui.Query
Get the preferred width to be used for entry boxes created in using addLine().
getValue() - Method in class ptolemy.gui.SwingWorker
Get the value produced by the worker thread, or null if it hasn't been constructed yet.
GraphicalMessageHandler - class ptolemy.gui.GraphicalMessageHandler.
This is a message handler that reports errors in a graphical dialog box.
GraphicalMessageHandler() - Constructor for class ptolemy.gui.GraphicalMessageHandler
 
GUIStringUtilities - class ptolemy.gui.GUIStringUtilities.
A collection of utilities for manipulating strings.

I

init() - Method in class ptolemy.gui.BasicJApplet
Initialize the applet.
interrupt() - Method in class ptolemy.gui.SwingWorker
A new method that interrupts the worker thread.
intValue(String) - Method in class ptolemy.gui.Query
Get the current value in the entry with the given name and return as an integer.
isModified() - Method in class ptolemy.gui.Top
Return true if the data associated with this window has been modified since it was first read or last saved.

J

JTextAreaExec - class ptolemy.gui.JTextAreaExec.
Execute commands in a subprocess and display them in a JTextArea.
JTextAreaExec(String, boolean) - Constructor for class ptolemy.gui.JTextAreaExec
Create the JTextArea, progress bar, status text field and optionally Start, Cancel and Clear buttons.

M

main(String[]) - Static method in class ptolemy.gui.JTextAreaExec
Main method used for testing.
message(String) - Static method in class ptolemy.gui.MessageHandler
Defer to the set message handler to show the specified message.
MessageHandler - class ptolemy.gui.MessageHandler.
This is a class that is used to report errors.
MessageHandler() - Constructor for class ptolemy.gui.MessageHandler
 

N

notifyListeners() - Method in class ptolemy.gui.Query
Nofify listeners of the current value of all entries, unless those entries have not changed since the last notification.

P

pack() - Method in class ptolemy.gui.Top
Size this window to its preferred size and make it displayable, and override the base class to populate the menu bar if the menus have not already been populated.
progressBar() - Method in class ptolemy.gui.StatusBar
Return the progress bar associated with this status bar.

Q

Query - class ptolemy.gui.Query.
Create a query with various types of entry boxes and controls.
Query() - Constructor for class ptolemy.gui.Query
Construct a panel with no entries in it.
QueryListener - interface ptolemy.gui.QueryListener.
Listener interface for changes in the query box.

R

removeQueryListener(QueryListener) - Method in class ptolemy.gui.Query
Remove a listener.
report(Exception) - Method in class ptolemy.gui.BasicJApplet
Report an exception.
report(Exception) - Method in class ptolemy.gui.Top
Report an exception.
report(String) - Method in class ptolemy.gui.BasicJApplet
Report a message to the user.
report(String) - Method in class ptolemy.gui.Top
Report a message to the user by displaying it in a status bar.
report(String, Exception) - Method in class ptolemy.gui.BasicJApplet
Report an exception with an additional message.
report(String, Exception) - Method in class ptolemy.gui.Top
Report an exception.

S

set(String, String) - Method in class ptolemy.gui.Query
Set the value in the entry with the given name.
setAndNotify(String, String) - Method in class ptolemy.gui.Query
Set the value in the entry with the given name and notify listeners.
setBackground(Color) - Method in class ptolemy.gui.Query
Set the background color for all the widgets.
setBackground(Color) - Method in class ptolemy.gui.StatusBar
Set the background color.
setBackground(Color) - Method in class ptolemy.gui.Top
Set background color.
setBoolean(String, boolean) - Method in class ptolemy.gui.Query
Set the current value in the entry with the given name.
setColumns(int) - Method in class ptolemy.gui.Query
Specify the number of columns to use.
setCommands(List) - Method in class ptolemy.gui.JTextAreaExec
Set the list of commands.
setContext(Component) - Static method in class ptolemy.gui.GraphicalMessageHandler
Set the component with respect to which the display window should be created.
setDisplay(String, String) - Method in class ptolemy.gui.Query
Set the displayed text of an entry that has been added using addDisplay.
setEnabled(String, boolean) - Method in class ptolemy.gui.Query
For line, display, check box, slider, radio button, or choice entries made, if the second argument is false, then it will be disabled.
setLine(String, String) - Method in class ptolemy.gui.Query
Set the displayed text of an item that has been added using addLine.
setMessage(String) - Method in class ptolemy.gui.ComponentDialog
Change the message that was specified in the constructor to read as specified.
setMessage(String) - Method in class ptolemy.gui.Query
Specify a message to be displayed above the query.
setMessage(String) - Method in class ptolemy.gui.StatusBar
Set the message displayed in the status bar.
setMessageHandler(MessageHandler) - Static method in class ptolemy.gui.MessageHandler
Set the message handler instance that is used by the static methods in this class.
setModified(boolean) - Method in class ptolemy.gui.Top
Record whether the data associated with this window has been modified since it was first read or last saved.
setSlider(String, int) - Method in class ptolemy.gui.Query
Set the position of an item that has been added using addSlider.
setTextWidth(int) - Method in class ptolemy.gui.Query
Specify the preferred width to be used for entry boxes created in using addLine().
setToolTip(String, String) - Method in class ptolemy.gui.Query
Specify a tool tip to appear when the mouse lingers over the label.
split(String) - Static method in class ptolemy.gui.GUIStringUtilities
If the string is longer than 80 characters, split it up by displaying adding newlines every 80 characters.
start() - Method in class ptolemy.gui.JTextAreaExec
Start running the commands.
start() - Method in class ptolemy.gui.SwingWorker
Start the worker thread.
StatusBar - class ptolemy.gui.StatusBar.
A status bar with a message and a progress bar, for putting at the bottom of application windows.
StatusBar() - Constructor for class ptolemy.gui.StatusBar
Create a new status bar with an empty label and progress at zero.
stringValue(String) - Method in class ptolemy.gui.Query
Get the current value in the entry with the given name, and return as a String.
SwingWorker - class ptolemy.gui.SwingWorker.
This is the 3rd version of SwingWorker (also known as SwingWorker 3), an abstract class that you subclass to perform GUI-related work in a dedicated thread.
SwingWorker() - Constructor for class ptolemy.gui.SwingWorker
Start a thread that will call the construct method and then exit.

T

tokenizeForExec(String) - Static method in class ptolemy.gui.GUIStringUtilities
Tokenize a String to an array of Strings for use with Runtime.exec(String []).
Top - class ptolemy.gui.Top.
This is a top-level window with a menubar and status bar.
Top() - Constructor for class ptolemy.gui.Top
Construct an empty top-level frame.

U

updateStatusBar(String) - Method in class ptolemy.gui.JTextAreaExec
Update the status area with the text message.

W

warning(String) - Static method in class ptolemy.gui.MessageHandler
Defer to the set message handler to show the specified message in a modal dialog.
warning(String, Exception) - Static method in class ptolemy.gui.MessageHandler
Show the specified message and exception information in a modal dialog.
windowClosed(Window, String) - Method in interface ptolemy.gui.CloseListener
Notify that the specified window has closed.

_

_about() - Method in class ptolemy.gui.Top
Open a dialog with basic information about this window.
_addMenus() - Method in class ptolemy.gui.Top
Add menus to the menu bar.
_addPair(String, JLabel, Component, Object) - Method in class ptolemy.gui.Query
Add a label and a widget to the panel.
_background - Variable in class ptolemy.gui.BasicJApplet
 
_background - Variable in class ptolemy.gui.Query
The background color as set by setBackground().
_buttonPressed - Variable in class ptolemy.gui.ComponentDialog
 
_clear() - Method in class ptolemy.gui.Top
Clear the current contents.
_close() - Method in class ptolemy.gui.Top
Close the window.
_concatStringArrays(String[][], String[][]) - Method in class ptolemy.gui.BasicJApplet
Concatenate two parameter info string arrays and return the result.
_constraints - Variable in class ptolemy.gui.Query
Standard constraints for use with _grid.
_context - Static variable in class ptolemy.gui.GraphicalMessageHandler
 
_directory - Static variable in class ptolemy.gui.Top
The most recent directory used in a file dialog.
_error(String) - Method in class ptolemy.gui.GraphicalMessageHandler
Show the specified error message.
_error(String) - Method in class ptolemy.gui.MessageHandler
Show the specified error message.
_error(String, Exception) - Method in class ptolemy.gui.GraphicalMessageHandler
Show the specified message and exception information.
_error(String, Exception) - Method in class ptolemy.gui.MessageHandler
Show the specified message and exception information.
_exit() - Method in class ptolemy.gui.Top
Exit the application after querying the user to save data.
_fileFilter - Variable in class ptolemy.gui.Top
The FileFilter that determines what files are displayed by the Open dialog and the Save As dialog The initial default is null, which causes no FileFilter to be applied, which results in all files being displayed.
_fileMenu - Variable in class ptolemy.gui.Top
File menu for this frame.
_fileMenuItems - Variable in class ptolemy.gui.Top
Items in the file menu.
_getBackground() - Method in class ptolemy.gui.BasicJApplet
Deprecated. Use the public method getBackground() instead.
_getName() - Method in class ptolemy.gui.Top
Get the name of this object, which in this base class is either the name of the file that has been associated with this object, or the string "Unnamed" is none.
_grid - Variable in class ptolemy.gui.Query
Layout control.
_handleClosing() - Method in class ptolemy.gui.ComponentDialog
If the contents of this dialog implements the CloseListener interface, then notify it that the window has closed, unless notification has already been done (it is guaranteed to be done only once).
_help() - Method in class ptolemy.gui.Top
Display the same information given by _about().
_helpMenu - Variable in class ptolemy.gui.Top
Help menu for this frame.
_helpMenuItems - Variable in class ptolemy.gui.Top
Help menu items.
_listeners - Variable in class ptolemy.gui.Query
List of registered listeners.
_menubar - Variable in class ptolemy.gui.Top
Menubar for this frame.
_message(String) - Method in class ptolemy.gui.GraphicalMessageHandler
Show the specified message in a modal dialog.
_message(String) - Method in class ptolemy.gui.MessageHandler
Show the specified message.
_open() - Method in class ptolemy.gui.Top
Open a file dialog to identify a file to be opened, and then call _read() to open the file.
_openURL() - Method in class ptolemy.gui.Top
Open a dialog to enter a URL, and then invoke _read() to open the URL.
_print() - Method in class ptolemy.gui.Top
Print the contents.
_read(URL) - Method in class ptolemy.gui.Top
Read the specified URL.
_save() - Method in class ptolemy.gui.Top
Save the model to the current file, if there is one, and otherwise invoke _saveAs().
_saveAs() - Method in class ptolemy.gui.Top
Query the user for a filename and save the model to that file.
_stackTraceToString(Exception) - Method in class ptolemy.gui.BasicJApplet
Get the stack trace and return as a string.
_statusBar - Variable in class ptolemy.gui.Top
The status bar.
_warning(String) - Method in class ptolemy.gui.GraphicalMessageHandler
Show the specified message in a modal dialog.
_warning(String) - Method in class ptolemy.gui.MessageHandler
Show the specified message in a modal dialog.
_warning(String, Exception) - Method in class ptolemy.gui.GraphicalMessageHandler
Show the specified message and exception information in a modal dialog.
_warning(String, Exception) - Method in class ptolemy.gui.MessageHandler
Show the specified message and exception information in a modal dialog.
_writeFile(File) - Method in class ptolemy.gui.Top
Write the model to the specified file.

A B C D E F G I J M N P Q R S T U W _