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

A

AbstractAction2 - Class in edu.princeton.swing
AbstractAction2 extends action to provide convenient get/set methods as well as a method to create a JMenuItem from this action.
AbstractAction2() - Constructor for class edu.princeton.swing.AbstractAction2
Creates a new AbstractAction2.
AbstractAction2(String) - Constructor for class edu.princeton.swing.AbstractAction2
Creates a new AbstractAction2.
AbstractAction2(String, Icon) - Constructor for class edu.princeton.swing.AbstractAction2
Creates a new AbstractAction2.
accept(File) - Method in class edu.princeton.swing.ExtensionFileFilter
Extend FileFilter to accept only files with an extension matching one added to the filter.
ActionedUndoManager - Class in edu.princeton.swing
ActionedUndoManager extends UndoManager to provide usable Action objects for the undo and redo properties.
ActionedUndoManager() - Constructor for class edu.princeton.swing.ActionedUndoManager
Creates a new ActionedUndoManager.
ActionedUndoManager.RedoAction - Class in edu.princeton.swing
RedoAction is an action which calls the redo() method of its ActionedUndoManager.
ActionedUndoManager.RedoAction() - Constructor for class edu.princeton.swing.ActionedUndoManager.RedoAction
Creates a new RedoAction.
ActionedUndoManager.UndoAction - Class in edu.princeton.swing
UndoAction is an action which calls the undo() method of its ActionedUndoManager.
ActionedUndoManager.UndoAction() - Constructor for class edu.princeton.swing.ActionedUndoManager.UndoAction
Creates a new UndoAction.
actionPerformed(ActionEvent) - Method in class edu.princeton.swing.ActionedUndoManager.RedoAction
Implements ActionListener to perform the redo operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.swing.ActionedUndoManager.UndoAction
Implements ActionListener to perform the undo operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.swing.ClipboardTargetManager.CopyAction
Implements ActionListener to perform the cut operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.swing.ClipboardTargetManager.CutAction
Implements ActionListener to perform the cut operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.swing.ClipboardTargetManager.PasteAction
Implements ActionListener to perform the cut operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.swing.ClipboardTargetManager.SelectAllAction
Implements ActionListener to perform the cut operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Implement ActionListener to pay attention to changes in the disabledCheckbox and changeButton.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.choosers.TFontChooserPane
Implement ActionListener to pay attention to changes in the areaComboBox.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.choosers.TStyleChooserPane
Implement ActionListener to pay attention to changes in the boldCheckbox and changeButton.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TExampleDialog
Implement ActionListener to pass the command onto doCommand().
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TFrame
Implement ActionListener to pass the command onto doCommand().
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TFrame.TFrameAction
Implements ActionListener to perform the redo operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TOptionsFrame
Implement ActionListener to pass the command onto doCommand().
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TOptionsFrame.FileHistoryAction
Implements ActionListener to perform the redo operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TOptionsFrame.OptionsAction
Implements ActionListener to perform the redo operation.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TSimMachinePane.Listener
Implement ActionListener to listen for actions on the switches.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement ActionListener to pass commands to the doCommand() method.
actionPerformed(ActionEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement ActionListener to pass commands to the doCommand() method.
add(TWord, TWord, TExceptionHandler) - Static method in class edu.princeton.toy.lang.TWord
Implements the addition operator for the TWord type.
add(TWordBuffer) - Method in class edu.princeton.toy.lang.TWordBuffer
Adds the contents of one TWordBuffer to the end of this buffer.
add(TWord[]) - Method in class edu.princeton.toy.lang.TWordBuffer
Adds the contents of one TWordBuffer to the end of this buffer.
add(TWord[], int, int) - Method in class edu.princeton.toy.lang.TWordBuffer
Adds the contents of one TWordBuffer to the end of this buffer.
add(TWord) - Method in class edu.princeton.toy.lang.TWordBuffer
Adds the specified TWord to the end of the buffer.
ADD_COMMAND - Static variable in class edu.princeton.toy.TStdinPane
The command to add the contents of the inputField to the stdin stream of the virtualMachine.
addActionListener(ActionListener) - Method in class edu.princeton.swing.PList
Adds a listener to monitor action events (enter key events) on the PTextField.
addActionListener(ActionListener) - Method in class edu.princeton.swing.PTextField
Adds a listener to monitor action events (enter key events) on the PTextField.
addActionListener(ActionListener) - Method in class edu.princeton.swing.PTree
Adds a listener to monitor action events (enter key events) on the PTextField.
addChangeListener(ChangeListener) - Method in class edu.princeton.toy.lang.TVirtualMachine
Adds a listener to monitor changes in the state of this machine.
addChangeListener(ChangeListener) - Method in class edu.princeton.toy.TSimMachinePane
Adds a listener to monitor changes in the state of the switches.
addEdit(UndoableEdit) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
addEdit(UndoableEdit) - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Attempts to merge another edit with the current edit.
addExtension(String) - Method in class edu.princeton.swing.ExtensionFileFilter
Adds an extension to the list of accepted extensions.
addImpl(Component, Object, int) - Method in class edu.princeton.toy.TReferencePane
Override addImpl to prevent the JToolbar from being placed in either the BorderLayout.EAST or BorderLayout.WEST.
addPropertyChangeListener(PropertyChangeListener) - Method in class edu.princeton.swing.DefaultPropertiedListSelectionModel
Adds a PropertyChangeListener to the model to listen for changes in "selectionMode".
addPropertyChangeListener(PropertyChangeListener) - Method in class edu.princeton.swing.PDefaultListSelectionModel
Adds a PropertyChangeListener to the model to listen for changes in "selectionMode".
addPropertyChangeListener(PropertyChangeListener) - Method in interface edu.princeton.swing.PListSelectionModel
Adds a PropertyChangeListener to the model to listen for changes in "selectionMode".
addPropertyChangeListener(PropertyChangeListener) - Method in interface edu.princeton.swing.PropertiedListSelectionModel
Adds a PropertyChangeListener to the model to listen for changes in "selectionMode".
ADDR_BIT_COUNT - Static variable in class edu.princeton.toy.TSimMachinePane
The number of addr switches in the TSimMachinePane.
addTextListener(TextListener) - Method in class edu.princeton.swing.text.HighlightedDocument
Adds a listener to monitor changes in the text of the document.
addUndoableEditListener(UndoableEditListener) - Method in class edu.princeton.swing.text.HighlightedDocument
Adds a listener to monitor undoable changes in the document.
allowRender(HighlightedDocumentRenderer, Object) - Method in class edu.princeton.swing.text.HighlightedDocument
Obtains a read lock and passes the protected data to an implementation of HighlightedDocumentRenderer.
and(TWord, TWord, TExceptionHandler) - Static method in class edu.princeton.toy.lang.TWord
Implements the bitwise-and operator for the TWord type.
APPLY_COMMAND - Static variable in class edu.princeton.toy.TOptionsFrame
 
assignStyles() - Method in class edu.princeton.swing.text.DefaultHighlightedDocument
Updates the charStyles array based on chars, charCount, lineOffsets, and lineCount.
assignStyles() - Method in class edu.princeton.swing.text.HighlightedDocument
Updates the charStyles array based on chars, charCount, lineOffsets, and lineCount.
assignStyles() - Method in class edu.princeton.toy.TProgramDocument
Parses toy code and uses it to highlight the syntax, update the title, and and update the warning list.
AUTO_CHECK_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
The key for wheter or not to automatically check the user's syntax as he types.
AUTO_COMPLETER_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
The key for the autocompleter entry.
AUTO_COMPLETERS - Static variable in class edu.princeton.toy.TOptionsFrame
A set of AutoCompleters which can be used by a PHighlightedTextArea.
autocomment() - Method in class edu.princeton.toy.TProgramDocument
Updates pseudocode comments and performs minor stylistic changes (standardizing capitalization and putting '//'s before all comments).
AutoCompleter - Interface in edu.princeton.swing.text
AutoCompleter is an interface which describes the auto-completion behavior of a PHighlightedTextArea.

B

BACKGROUND_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
BIT_COUNT - Static variable in class edu.princeton.toy.lang.TWord
The number of bits a TWord would take.
BLUE_AREA_BORDER - Static variable in class edu.princeton.toy.TSimMachinePane
The border of the blue area in the TSimMachinePane.
BLUE_AREA_COLOR - Static variable in class edu.princeton.toy.TSimMachinePane
The color of the blue area in the TSimMachinePane.
BLUE_STYLE - Static variable in class edu.princeton.swing.PHyperlink
 

C

CANCEL_COMMAND - Static variable in class edu.princeton.toy.TExampleDialog
 
CANCEL_COMMAND - Static variable in class edu.princeton.toy.TOptionsFrame
 
canCopy() - Method in interface edu.princeton.swing.ClipboardTarget
Returns wheter or not the copy operation can be performed on this ClipboardTarget.
canCopy() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns wheter or not the copy operation can be performed on this ClipboardTarget.
canCopy() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
canCopy() - Method in class edu.princeton.swing.PList
Returns wheter or not the copy operation can be performed on this ClipboardTarget.
canCopy() - Method in class edu.princeton.swing.PTextArea
Returns wheter or not the copy operation can be performed on this ClipboardTarget.
canCopy() - Method in class edu.princeton.swing.PTextField
Returns wheter or not the copy operation can be performed on this ClipboardTarget.
canCopy() - Method in class edu.princeton.swing.PTree
Returns wheter or not the copy operation can be performed on this ClipboardTarget.
canCut() - Method in interface edu.princeton.swing.ClipboardTarget
Returns wheter or not the cut operation can be performed on this ClipboardTarget.
canCut() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns wheter or not the cut operation can be performed on this ClipboardTarget.
canCut() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
canCut() - Method in class edu.princeton.swing.PList
Returns wheter or not the cut operation can be performed on this ClipboardTarget.
canCut() - Method in class edu.princeton.swing.PTextArea
Returns wheter or not the cut operation can be performed on this ClipboardTarget.
canCut() - Method in class edu.princeton.swing.PTextField
Returns wheter or not the cut operation can be performed on this ClipboardTarget.
canCut() - Method in class edu.princeton.swing.PTree
Returns wheter or not the cut operation can be performed on this ClipboardTarget.
canPaste() - Method in interface edu.princeton.swing.ClipboardTarget
Returns wheter or not the paste operation can be performed on this ClipboardTarget.
canPaste() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns wheter or not the paste operation can be performed on this ClipboardTarget.
canPaste() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
canPaste() - Method in class edu.princeton.swing.PList
Returns wheter or not the paste operation can be performed on this ClipboardTarget.
canPaste() - Method in class edu.princeton.swing.PTextArea
Returns wheter or not the paste operation can be performed on this ClipboardTarget.
canPaste() - Method in class edu.princeton.swing.PTextField
Returns wheter or not the paste operation can be performed on this ClipboardTarget.
canPaste() - Method in class edu.princeton.swing.PTree
Returns wheter or not the paste operation can be performed on this ClipboardTarget.
canRedo() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns wheter or not this edit is alive.
canSelectAll() - Method in interface edu.princeton.swing.ClipboardTarget
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget.
canSelectAll() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget.
canSelectAll() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
canSelectAll() - Method in class edu.princeton.swing.PList
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget.
canSelectAll() - Method in class edu.princeton.swing.PTextArea
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget.
canSelectAll() - Method in class edu.princeton.swing.PTextField
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget.
canSelectAll() - Method in class edu.princeton.swing.PTree
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget.
canUndo() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns wheter or not this edit is alive.
CARET_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
caretPosition - Variable in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
 
CASCADE_X - Static variable in class edu.princeton.toy.TFrame
The displacement in the x direction between cascaded windows.
CASCADE_Y - Static variable in class edu.princeton.toy.TFrame
The displacement in the y direction between cascaded windows.
CHANGE_CHECKING_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
CHANGE_COMMAND - Static variable in class edu.princeton.toy.choosers.TColorChooserPane
The command that causes the TColorChooserPane to open a color chooser dialog.
CHANGE_COMMAND - Static variable in class edu.princeton.toy.choosers.TStyleChooserPane
The command that causes the TStyleChooserPane to open a color chooser dialog.
CHANGE_EXECUTION_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
CHANGE_HANDLER_COMMAND - Static variable in class edu.princeton.toy.TStdoutPane
The command to call up the Exception Handling pane of the TOptionsFrame.
changedUpdate(DocumentEvent) - Method in class edu.princeton.toy.TBaseConverterPane.Listener
Implement DocumentListener to pass DocumentEvents to the documentChanged() method.
CHARACTER_ALLOWED - Static variable in class edu.princeton.swing.text.HighlightedDocument
An array of all characters allowed in a HighlightedDocument.
characters(char[], int, int) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
charCount - Variable in class edu.princeton.swing.text.HighlightedDocument
 
chars - Variable in class edu.princeton.swing.text.HighlightedDocument
 
charStyles - Variable in class edu.princeton.swing.text.HighlightedDocument
 
CHECK_SYNTAX_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
checkPermission(Permission) - Method in class edu.princeton.toy.TSecurityManager
 
checkPermission(Permission, Object) - Method in class edu.princeton.toy.TSecurityManager
 
CLASSIC_HOVER_STYLE - Static variable in class edu.princeton.swing.PHyperlink
 
CLASSIC_STYLE - Static variable in class edu.princeton.swing.PHyperlink
 
clear() - Method in class edu.princeton.toy.lang.TWordBuffer
Sets the size of the buffer to 0.
CLEAR_ODOMETER_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
clearExtensions() - Method in class edu.princeton.swing.ExtensionFileFilter
Removes all extensions from the list of accepted extensions.
ClipboardTarget - Interface in edu.princeton.swing
ClipboardTarget is a simple interface that describes possible targets for the standard clipboard operations.
ClipboardTargetManager - Class in edu.princeton.swing
ClipboardTargetManager is kept informed of all
ClipboardTargetManager.CopyAction - Class in edu.princeton.swing
CopyAction is an action which calls the copy() method of the ClipboardTargetManager.
ClipboardTargetManager.CopyAction() - Constructor for class edu.princeton.swing.ClipboardTargetManager.CopyAction
Creates a new CopyAction.
ClipboardTargetManager.CutAction - Class in edu.princeton.swing
CutAction is an action which calls the cut() method of the ClipboardTargetManager.
ClipboardTargetManager.CutAction() - Constructor for class edu.princeton.swing.ClipboardTargetManager.CutAction
Creates a new CutAction.
ClipboardTargetManager.PasteAction - Class in edu.princeton.swing
PasteAction is an action which calls the paste() method of the ClipboardTargetManager.
ClipboardTargetManager.PasteAction() - Constructor for class edu.princeton.swing.ClipboardTargetManager.PasteAction
Creates a new PasteAction.
ClipboardTargetManager.SelectAllAction - Class in edu.princeton.swing
SelectAllAction is an action which calls the selectAll() method of the ClipboardTargetManager.
ClipboardTargetManager.SelectAllAction() - Constructor for class edu.princeton.swing.ClipboardTargetManager.SelectAllAction
Creates a new SelectAllAction.
CLOCK_PERIOD_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
The key for the clock periods.
CLOCK_PERIODS - Static variable in class edu.princeton.toy.TOptionsFrame
The possible values for the clock periods.
clone() - Method in class edu.princeton.toy.lang.TWordBuffer
Returns a clone of this TWordBuffer (the array objects will be reallocated and copied.
CLOSE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
COLOR_COLOR_KEYS - Static variable in class edu.princeton.toy.TOptionsFrame
 
COLOR_DISABLED_DESCRIPTIONS - Static variable in class edu.princeton.toy.TOptionsFrame
 
COLOR_DISABLED_KEYS - Static variable in class edu.princeton.toy.TOptionsFrame
 
COLOR_NAMES - Static variable in class edu.princeton.toy.TOptionsFrame
 
COLUMN_MARKERS_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
COMMAND_UNINITIALIZED - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when the fetch-execute loop attempts to execute the command in an uninitialized memory memory.
COMMENT_COLUMN - Static variable in class edu.princeton.toy.TProgramDocument
The column at which normal (non-autocomment) comments begin.
commentLine(String) - Static method in class edu.princeton.toy.lang.TWord
takes a line that has an instruction and inserts a comment into the line preserving what ever user comments there are.
CONFIGURATION_FILE - Static variable in class edu.princeton.toy.TConfigurationManager
The filename of the configuration file (to be found in the user's home directory).
coordinateToOffset(Point) - Method in class edu.princeton.swing.text.HighlightedDocument
Takes a (column, line) pair and returns the nearest valid offset.
coordinateToOffset(int, int) - Method in class edu.princeton.swing.text.HighlightedDocument
Takes a (column, line) pair and returns the nearest valid offset.
copy() - Method in interface edu.princeton.swing.ClipboardTarget
Copies the selection to the clipboard.
copy() - Static method in class edu.princeton.swing.ClipboardTargetManager
Executes the copy() method of the ClipboardTarget which most recently owned the focus.
copy() - Method in class edu.princeton.swing.PHighlightedTextArea
Performs the copy operation on the selected text.
copy() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
copy() - Method in class edu.princeton.swing.PList
Copies the selection to the clipboard.
copy() - Method in class edu.princeton.swing.PTree
Copies the selection to the clipboard.
COPY_ACTION - Static variable in class edu.princeton.swing.ClipboardTargetManager
An implementation of Action to use for the copy operation.
COPY_ICON - Static variable in class edu.princeton.swing.ClipboardTargetManager
The copy icon.
COPY_ICON_BYTES - Static variable in class edu.princeton.swing.ClipboardTargetManager
The bytes for the copy icon.
COPY_KEYSTROKE - Static variable in class edu.princeton.swing.ClipboardTargetManager
The keystroke generally associated with the copy action.
CORE_AREA_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
createDefaultPopupMenu() - Static method in class edu.princeton.swing.ClipboardTargetManager
Creates a basic JPopupMenu which contains MenuItems for all the clipboard actions.
createInitialFrame() - Static method in class edu.princeton.toy.TFrame
Creates the first frame, initializing locations and bounds from the TOptionFrame's memory of the last closed TFrame.
createMenuItem() - Method in class edu.princeton.swing.AbstractAction2
Creates a new JMenuItem for this Action.
createPosition(int) - Method in class edu.princeton.swing.text.HighlightedDocument
Creates a position at a given offset which will move with the text.
createPositionTriplet() - Method in class edu.princeton.swing.text.HighlightedDocument
Creates a position triplet.
createSelectionModel() - Method in class edu.princeton.swing.PList
Override the createSelectionModel function to use our own selectionModel function which actually monitors the selection mode.
CURRENT_DIRECTORY_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
 
cut() - Method in interface edu.princeton.swing.ClipboardTarget
Copies the selection to the clipboard and remove it from the object.
cut() - Static method in class edu.princeton.swing.ClipboardTargetManager
Executes the cut() method of the ClipboardTarget which most recently owned the focus.
cut() - Method in class edu.princeton.swing.PHighlightedTextArea
Performs the cut operation on the selected text.
cut() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
cut() - Method in class edu.princeton.swing.PList
Copies the selection to the clipboard and remove it from the object.
cut() - Method in class edu.princeton.swing.PTree
Copies the selection to the clipboard and remove it from the object.
CUT_ACTION - Static variable in class edu.princeton.swing.ClipboardTargetManager
An implementation of Action to use for the cut operation.
CUT_ICON - Static variable in class edu.princeton.swing.ClipboardTargetManager
The cut icon.
CUT_ICON_BYTES - Static variable in class edu.princeton.swing.ClipboardTargetManager
The bytes for the cut icon.
CUT_KEYSTROKE - Static variable in class edu.princeton.swing.ClipboardTargetManager
The keystroke generally associated with the cut action.

D

DATA_BIT_COUNT - Static variable in class edu.princeton.toy.TSimMachinePane
The number of addr switches in the TSimMachinePane.
DEBUG_MODE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
DEFAULT_AUTO_COMPLETER - Static variable in class edu.princeton.swing.PHighlightedTextArea
A static instance of DefaultAutoCompleter for general usage.
DEFAULT_BACKGROUND - Static variable in class edu.princeton.swing.PHighlightedTextArea
The default background color.
DEFAULT_FONT - Static variable in class edu.princeton.toy.TBaseConverterPane
The font which this TBaseConverterPane starts out with.
DEFAULT_FOREGROUND - Static variable in class edu.princeton.swing.PHighlightedTextArea
The default foreground color.
DEFAULT_STYLE - Static variable in class edu.princeton.swing.text.HighlightStyle
The plain black style.
DEFAULT_TITLE - Static variable in class edu.princeton.toy.TProgramDocument
The default title a workspace should take if no program line was found.
DefaultAutoCompleter - Class in edu.princeton.swing.text
DefaultAutoCompleter is the simplest implementation of AutoCompleter.
DefaultAutoCompleter() - Constructor for class edu.princeton.swing.text.DefaultAutoCompleter
 
DefaultHighlightedDocument - Class in edu.princeton.swing.text
DefaultHighlightedDocument is a simple subclass of HighlightedDocument.
DefaultHighlightedDocument() - Constructor for class edu.princeton.swing.text.DefaultHighlightedDocument
Constructs a DefaultHighlightedDocument.
DefaultHighlightedDocument(String) - Constructor for class edu.princeton.swing.text.DefaultHighlightedDocument
Constructs a DefaultHighlightedDocument.
DefaultPropertiedListSelectionModel - Class in edu.princeton.swing
DefaultPropertiedListSelectionModel extends to add DefaultListSelectionModel support.
DefaultPropertiedListSelectionModel() - Constructor for class edu.princeton.swing.DefaultPropertiedListSelectionModel
Creates a new DefaultPropertiedListSelectionModel.
DEFAULTS_COMMAND - Static variable in class edu.princeton.toy.TOptionsFrame
 
DefaultTristateButtonModel - Class in edu.princeton.swing
DefaultTristateButtonModel is a subclass of DefaultButtonModel to implement TristateButtonModel.
DefaultTristateButtonModel() - Constructor for class edu.princeton.swing.DefaultTristateButtonModel
Constructs a DefaultTristateButtonModel.
DefaultTristateButtonModel(ButtonModel) - Constructor for class edu.princeton.swing.DefaultTristateButtonModel
Constructs a DefaultTristateButtonModel.
DESCRIPTION_ROWS - Static variable in class edu.princeton.toy.TExampleDialog
The maximum number of rows of the text which will be shown by the description.
DETAIL_AREA_BORDER - Static variable in class edu.princeton.toy.TSimDetailPane
The border of the detail area in the TSimDetailPane.
dialogInit() - Method in class edu.princeton.toy.TExampleDialog
Called by the constructors to init the JDialog properly.
die() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Frees resources associated with an edit.
digitCount - Variable in class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
 
discardAllEdits() - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
dispose() - Method in class edu.princeton.toy.TExampleDialog
Override dispose() to also unregister the program text area.
dispose() - Method in class edu.princeton.toy.TFrame
Override this method to prevent unclean disposals.
dispose() - Method in class edu.princeton.toy.TOptionsFrame
Override this method to prevent unclean disposals.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TAutoCompleteChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TCheckingChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TFontChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TPerformanceChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.choosers.TStyleChooserPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TCorePane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TExampleDialog
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TFrame
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TOptionsFrame
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimDetailPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimMachinePane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimMemPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimStdin2Pane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimStdinPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimStdout2Pane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TSimStdoutPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TStdinPane
Performs a command based on the argument.
doCommand(String, Object) - Method in class edu.princeton.toy.TStdoutPane
Performs a command based on the argument.
doRender(char[], byte[], int, int[], int, Object) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Paints the TextArea using the protected data of the document.
doRender(char[], byte[], int, int[], int, Object) - Method in interface edu.princeton.swing.text.HighlightedDocumentRenderer
When the doRender method of HighlightedDocument is called, it obtains a read lock and passes its protected data to the specified instance of HighlightedDocumentRenderer.

E

EDIT_MODE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
EDITING_CHECKING_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
EDITING_COLORS_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
EDITING_FONTS_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
EDITING_HIGHLIGHTING_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
EDITING_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
edu.princeton.swing - package edu.princeton.swing
 
edu.princeton.swing.text - package edu.princeton.swing.text
 
edu.princeton.toy - package edu.princeton.toy
 
edu.princeton.toy.choosers - package edu.princeton.toy.choosers
 
edu.princeton.toy.lang - package edu.princeton.toy.lang
 
EnabledListCellRenderer - Class in edu.princeton.swing
A subclass of DefaultListCellRenderer which displays disabled text as though it were enabled text.
EnabledListCellRenderer() - Constructor for class edu.princeton.swing.EnabledListCellRenderer
Creates a new EnabledListCellRenderer.
end() - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
endDocument() - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
endElement(String, String, String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
endPrefixMapping(String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
ENTER_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
equals(Object) - Method in class edu.princeton.swing.text.HighlightStyle
Returns true if two HighlightStyles are identical.
equals(Object) - Method in class edu.princeton.toy.lang.TWord
Evaluates wheter or not two TWords have the same values.
equals(Object) - Method in class edu.princeton.toy.lang.TWordBuffer
Returns wheter or not two buffers contain the same data.
equals(Object) - Method in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
Returns wheter or not this WarningInfoStruct conveys the same information as another.
error(SAXParseException) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
EXAMPLE_MANIFEST_FILE - Static variable in class edu.princeton.toy.TExampleManager
The filename of the example manifest.
EXCEPTION_TYPE_KEYS - Static variable in class edu.princeton.toy.TOptionsFrame
The keys corresponding to TExceptionType.TYPES.
EXECUTION_EXCEPTION_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
EXECUTION_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
EXECUTION_PERFORMANCE_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
exportProperties(Map) - Static method in class edu.princeton.toy.TConfigurationManager
Exports a set of properties to the toy.conf file.
ExtensionFileFilter - Class in edu.princeton.swing
ExtensionFileFilter extends FileFilter to provide a generalized extension-based file filter.
ExtensionFileFilter() - Constructor for class edu.princeton.swing.ExtensionFileFilter
Creates a new ExtensionFileFilter.
ExtensionFileFilter(String) - Constructor for class edu.princeton.swing.ExtensionFileFilter
Creates a new ExtensionFileFilter.
ExtensionFileFilter(String, String) - Constructor for class edu.princeton.swing.ExtensionFileFilter
Creates a new ExtensionFileFilter.
EXTRA_INFO_KEY - Static variable in class edu.princeton.swing.AbstractAction2
The key used for storing a random object containing extraneous information.

F

FAMILIES - Static variable in class edu.princeton.toy.lang.TExceptionType
A string array containing the names of the families.
fatalError(SAXParseException) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
FILE_HISTORY_ACTIONS - Static variable in class edu.princeton.toy.TOptionsFrame
The actions to load a given recently opened file.
FILE_HISTORY_KEYS - Static variable in class edu.princeton.toy.TOptionsFrame
 
FILE_HISTORY_SIZE - Static variable in class edu.princeton.toy.TOptionsFrame
 
filterString(String) - Method in class edu.princeton.swing.text.HighlightedDocument
Filters out all "non-standard" ASCII characters from the string.
finalize() - Method in class edu.princeton.swing.PHighlightedTextArea
Stops the caret-blinking thread.
finalize() - Method in class edu.princeton.toy.lang.TVirtualMachine
Override the finalize() method to also interrupt the Runner.
fireStateChanged() - Method in class edu.princeton.toy.lang.TVirtualMachine
Fires a state changed event to all the listeners.
fireStateChanged() - Method in class edu.princeton.toy.TSimMachinePane
Fires a state changed event to all the listeners.
focusedCellBorder - Variable in class edu.princeton.swing.PList
 
FOLLOW_CARET - Static variable in class edu.princeton.swing.PHighlightedTextArea
The value that highlightedLine should take so that the line highlight will follow the caret.
FONT_AREA_KEYS - Static variable in class edu.princeton.toy.TOptionsFrame
 
FONT_AREA_NAMES - Static variable in class edu.princeton.toy.TOptionsFrame
 
FONT_FAMILIES - Static variable in class edu.princeton.toy.choosers.TFontChooserPane
A list of all font families.
FONT_SIZES - Static variable in class edu.princeton.toy.choosers.TFontChooserPane
A list of all font sizes.
FONT_STYLE_MASKS - Static variable in class edu.princeton.toy.choosers.TFontChooserPane
Font style masks corresponding to the FONT_STYLES array.
FONT_STYLES - Static variable in class edu.princeton.toy.choosers.TFontChooserPane
Strings corresponding to the styles available.
FontInfo - Class in edu.princeton.swing.text
FontInfo is a class that analyzes a font to see if it is monospaced over a specified set of characters.
FontInfo(Font, boolean[]) - Constructor for class edu.princeton.swing.text.FontInfo
Creates a new FontInfo object.
FOREGROUND_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
freePosition(HighlightedDocument.Position) - Method in class edu.princeton.swing.text.HighlightedDocument
Frees a position from future updates.
freePositionTriplet(HighlightedDocument.PositionTriplet) - Method in class edu.princeton.swing.text.HighlightedDocument
Frees a position triplet from future updates.
FUNCTION_COMMAND - Static variable in class edu.princeton.toy.TFrame
 

G

getAccelerator() - Method in class edu.princeton.swing.AbstractAction2
Gets the accelerator keystroke for this Action.
getActionCommand() - Method in class edu.princeton.swing.AbstractAction2
Gets the action command for this Action.
getActionCommand() - Method in class edu.princeton.swing.PList
Returns the action command associated with the enter key being pressed.
getActionCommand() - Method in class edu.princeton.swing.PTextField
Returns the action command associated with the enter key being pressed.
getActionCommand() - Method in class edu.princeton.swing.PTree
Returns the action command associated with the enter key being pressed.
getActiveColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in an active, non-disabled state.
getActiveUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in an active, non-disabled state.
getActualPreferredScrollableViewportSize() - Method in class edu.princeton.swing.PScrollablePanel
Returns the value passed to setPreferredScrollableViewportSize().
getAddr() - Method in class edu.princeton.toy.TSimMachinePane
Returns the TWord derived from the positions of the addr switches.
getAutoCheck() - Method in class edu.princeton.toy.choosers.TCheckingChooserPane
Returns wheter or not the syntax should be checked automatically as the user types.
getAutoCheck() - Static method in class edu.princeton.toy.TOptionsFrame
Returns wheter or not the syntax should be checked automatically as the user types.
getAutoCompleter() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns the AutoCompleter for this PHighlightedTextArea.
getAutoCompleterId() - Method in class edu.princeton.toy.choosers.TAutoCompleteChooserPane
Returns the index of the autoCompleter which should be used when editing a TOY program.
getBackgroundIcon() - Method in class edu.princeton.swing.PImagePanel
Gets the background icon.
getBoldCharacterWidths() - Method in class edu.princeton.swing.text.FontInfo
Returns the set of all character widths for the bold flavor of the font.
getBoldItalicCharacterWidths() - Method in class edu.princeton.swing.text.FontInfo
Returns the set of all character widths for the bold-italic flavor of the font.
getBorderInsets(Component) - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Returns the insets of the border.
getBorderInsets(Component, Insets) - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Reinitialize the insets parameter with this Border's current Insets.
getBufferedReader(String) - Static method in class edu.princeton.toy.TResourceLoader
Returns the BufferedReader object for a JARed file.
getBuildDate() - Static method in class edu.princeton.toy.TMain
Returns the build date, as parsed from the version file.
getCaretColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color of the caret.
getCaretPosition() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns the location of the caret.
getCaretPositionOffset() - Method in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Returns the offset of the caretPosition.
getCellEditorValue() - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellEditor
Returns the value contained in the editor (that would be the CheckBoxCell we were given to edit).
getCharacterHeight() - Method in class edu.princeton.swing.text.FontInfo
Gets the maximum character height for the font over the specified set of characters.
getClockPeriod() - Method in class edu.princeton.toy.choosers.TPerformanceChooserPane
Returns the clock period (in milliseconds) that the user selected.
getClockPeriod() - Method in interface edu.princeton.toy.lang.TVirtualMachine.ExecutionController
This function is called by the TVirtualMachine's runner after it has recieved an order for a batch of steps to be run.
getClockPeriod() - Method in class edu.princeton.toy.TFrame
This function is called by the TVirtualMachine's runner after it has recieved an order for a batch of steps to be run.
getClockPeriod() - Static method in class edu.princeton.toy.TOptionsFrame
Returns the clock period (in milliseconds) that the vitrual machine should attempt to attain.
getClockPeriodDocument() - Static method in class edu.princeton.toy.TOptionsFrame
Returns a document containing a text representation of the clock period that the vitrual machine should attempt to attain.
getColor() - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Returns the color of the border.
getColor() - Method in class edu.princeton.swing.text.HighlightStyle
Returns the color which the highlighted text should take.
getColor(int) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Gets the color for a given index.
getColumnMarkers() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the location of the column markers.
getConsumedStdin() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the TWordBuffer containing all of the words which have been read already.
getConsumedStdin(TWordBuffer) - Method in class edu.princeton.toy.lang.TVirtualMachine
Copies all of the words which have been read already to the provided TWordBuffer.
getCoreDump() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns a core dump of the toy machine.
getCoreDump(boolean) - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns a core dump of the toy machine.
getCurrentDirectory() - Static method in class edu.princeton.toy.TOptionsFrame
Gets the directory in which JFileChoosers should start.
getCurrentInstruction() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the current instruction.
getD() - Method in class edu.princeton.toy.lang.TWord
Returns the second leftmost/most-significant four bits of the TWord.
getData() - Method in class edu.princeton.toy.TSimMachinePane
Returns the TWord derived from the positions of the data switches.
getDescription() - Method in class edu.princeton.swing.ExtensionFileFilter
Gets a description of this filter.
getDescription() - Method in class edu.princeton.toy.lang.TExceptionType
Returns the description of this TExceptionType.
getDisabledColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in a non-visited, disabled state.
getDisabledTextColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color for the text if this component is disabled.
getDisabledUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in a non-visited, disabled state.
getDistinguishUninitialized() - Method in class edu.princeton.toy.lang.TVirtualMachine
A convenience method for determining wheter or not uninitialied values should be distinguished from a simple zero.
getDocument() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns the document that this PHighlightedTextArea represents.
getElementAt(int) - Method in class edu.princeton.toy.TStdinPane.ListModel
 
getElementAt(int) - Method in class edu.princeton.toy.TStdoutPane.ListModel
 
getExampleCount() - Static method in class edu.princeton.toy.TExampleManager
Returns the number of examples which have been sucessfully loaded.
getExampleText(int) - Static method in class edu.princeton.toy.TExampleManager
Returns the program text of the requested example.
getExampleTitle(int) - Static method in class edu.princeton.toy.TExampleManager
Returns the title of the requested example.
getExceptionHandler() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the exception handler.
getExceptionHandler() - Static method in class edu.princeton.toy.TOptionsFrame
Gets the exception handler that all TVirtualMachines should use.
getExtension(int) - Method in class edu.princeton.swing.ExtensionFileFilter
Return the extension at a given index.
getExtensionCount() - Method in class edu.princeton.swing.ExtensionFileFilter
Return the number of extensions this filter will accept.
getExtraInfo() - Method in class edu.princeton.swing.AbstractAction2
Gets the extra info for this Action.
getFamily() - Method in class edu.princeton.toy.lang.TExceptionType
Returns the family of this TExceptionType.
getFileFromHistory(int) - Static method in class edu.princeton.toy.TOptionsFrame
Gets a File object from the list of recent files.
getFocusedCellBorder() - Method in class edu.princeton.swing.PList
Return the border that should be rendered for a focused cell.
getFont() - Method in class edu.princeton.swing.text.FontInfo
Returns the font represented by this FontInfo object.
getFont(int) - Method in class edu.princeton.toy.choosers.TFontChooserPane
Gets the font for a given area.
getFrameIcon() - Static method in class edu.princeton.toy.TMain
Returns the frame icon that should be used in this OS.
getHeightTrackingPolicy() - Method in class edu.princeton.swing.PScrollablePanel
Returns the height-tracking policy of the PScrollablePanel.
getHighlightColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color for the background in a line which is highlighted.
getHighlightedLine() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the line which is to be highlighted.
getHighlightedTextColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color for the text in a line which is highlighted.
getHoverColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in a hover, non-visited, non-active, non-disabled state.
getHoverUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in a hover, non-visited, non-active, non-disabled state.
getIcon(byte, short) - Static method in class edu.princeton.toy.TImageManager
Returns the requested unscaled image encapsulated in an icon.
getIcon(byte, int, short) - Static method in class edu.princeton.toy.TImageManager
Returns the requested scaled image encapsulated in an icon.
getIgnoreWarnings() - Method in class edu.princeton.toy.choosers.TCheckingChooserPane
Returns wheter or not regular warnings should be ignored when the syntax of a program is being checked.
getIgnoreWarnings() - Static method in class edu.princeton.toy.TOptionsFrame
Returns wheter or not regular warnings should be ignored when the syntax of a program is being checked.
getImage(byte, short) - Static method in class edu.princeton.toy.TImageManager
Returns the requested unscaled image.
getImage(byte, int, short) - Static method in class edu.princeton.toy.TImageManager
Returns the requested scaled image.
getImage(String) - Static method in class edu.princeton.toy.TResourceLoader
Returns the Image object for a JARed picture.
getImm() - Method in class edu.princeton.toy.lang.TWord
Returns the rightmost/least-significant eight bits of the TWord.
getIndex() - Method in class edu.princeton.toy.TFrame.WorkspaceMenuItem
Returns the index of the WorkspaceMenuItem.
getInitialStdin() - Method in class edu.princeton.toy.TProgramDocument
Returns the initial values which should be in stdin whenever the workspace is reset.
getInitialStdin(TWordBuffer) - Method in class edu.princeton.toy.TProgramDocument
Returns the initial values which should be in stdin whenever the workspace is reset.
getInputStream(String) - Static method in class edu.princeton.toy.TResourceLoader
Returns the InputStream object for a JARed file.
getInsertMode() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns wheter or not this component is in insert mode.
getItalicCharacterWidths() - Method in class edu.princeton.swing.text.FontInfo
Returns the set of all character widths for the italic flavor of the font.
getLastEditHorizontalDividerLocation() - Static method in class edu.princeton.toy.TOptionsFrame
Returns the location of the horizontal divider of the edit pane of the last TFrame which was closed.
getLastFrameBounds() - Static method in class edu.princeton.toy.TOptionsFrame
Returns a copy of the bounds for the last TFrame which was closed.
getLastSimHorizontalDividerLocation() - Static method in class edu.princeton.toy.TOptionsFrame
Returns the location of the horizontal divider of the sim pane of the last TFrame which was closed.
getLastVerticalDividerLocation() - Static method in class edu.princeton.toy.TOptionsFrame
Returns the location of the vertical divider of the last TFrame which was closed.
getLength() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the number of characters in the document.
getLineCount() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the number of lines in the document.
getLineDefined(int, boolean) - Method in class edu.princeton.toy.TProgramDocument
Returns the line on which the given memory address was defined.
getLineNumberColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color of the line numbers.
getLineSpacing() - Method in class edu.princeton.swing.text.FontInfo
Gets the recommended number pixels which should vertically separate each line.
getLinkColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in a non-hover, non-visited, non-active, non-disabled state.
getLinkUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in a non-hover, non-visited, non-active, non-disabled state.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class edu.princeton.swing.PList.PListCellRenderer
Override getListCellRendererComponent() to correctly render the border specified by the PList.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class edu.princeton.swing.PWrappedList.CellRenderer
Implement ListCellRenderer.
getLongDescription() - Method in class edu.princeton.swing.AbstractAction2
Gets the long description for this Action.
getMachinePane() - Method in class edu.princeton.toy.TSimDetailPane
Returns the machinePane attached to this TSimDetailPane.
getMarkerColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color for the column marker.
getMaxCharacterWidth() - Method in class edu.princeton.swing.text.FontInfo
Returns the maximum width attained by one of the characters in the specified set of characters.
getMaxLineLength() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the length of the longest line.
getMem(TWord[]) - Method in class edu.princeton.toy.lang.TVirtualMachine
Copies all of the virtual machine's memory onto the given TWord array.
getMem(int) - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the value at the requested memory memory.
getMemDump() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns a memory dump of the toy machine, which could be parsed by Visual X-TOY as another program.
getMnemonic() - Method in class edu.princeton.swing.AbstractAction2
Gets the mnemonic key for this Action.
getModel() - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCell
Returns the model associated with the checkbox.
getName() - Method in class edu.princeton.swing.AbstractAction2
Gets the name of this Action.
getName() - Method in class edu.princeton.toy.lang.TExceptionType
Returns the name of this TExceptionType.
getOffset() - Method in class edu.princeton.swing.text.HighlightedDocument.Position
Returns the offset encapsulated by this Position.
getOp() - Method in class edu.princeton.toy.lang.TWord
Returns the leftmost/most-significant four bits of the TWord.
getPad() - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Returns the number of pixels of transparent space before the underline.
getPlainCharacterWidths() - Method in class edu.princeton.swing.text.FontInfo
Returns the set of all character widths for the plain flavor of the font.
getPopupMenu() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the popup menu for this component.
getPopupMenu() - Method in class edu.princeton.swing.PList
Gets the popup menu for this component.
getPopupMenu() - Method in class edu.princeton.swing.PTextArea
Gets the popup menu for this component.
getPopupMenu() - Method in class edu.princeton.swing.PTextField
Gets the popup menu for this component.
getPopupMenu() - Method in class edu.princeton.swing.PTree
Gets the popup menu for this component.
getPositionOffsets() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns an integer array containing a backup image of the position HashSet.
getPreferredScrollableViewportSize() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement scrollable to make the viewport's preferred size that of the InternalTextArea's.
getPreferredScrollableViewportSize() - Method in class edu.princeton.swing.PScrollablePanel
Returns the preferred size of the viewport for a view component.
getPreferredScrollableViewportSize() - Method in class edu.princeton.toy.TSimMemPane
Implement scrollable to make the viewport's preferred size that of the page size at the PREFERRED_SCALE.
getPreferredScrollableViewportSize() - Method in class edu.princeton.toy.TSimStdin2Pane
Implement scrollable to make the viewport's preferred size that of the page size at the PREFERRED_SCALE.
getPreferredScrollableViewportSize() - Method in class edu.princeton.toy.TSimStdinPane
Implement scrollable to make the viewport's preferred size that of the page size at the PREFERRED_SCALE.
getPreferredScrollableViewportSize() - Method in class edu.princeton.toy.TSimStdout2Pane
Implement scrollable to make the viewport's preferred size that of the page size at the PREFERRED_SCALE.
getPreferredScrollableViewportSize() - Method in class edu.princeton.toy.TSimStdoutPane
Implement scrollable to make the viewport's preferred size that of the page size at the PREFERRED_SCALE.
getPreferredSize() - Method in class edu.princeton.swing.PImagePanel
Override javax.swing.JComponent's getPreferredSize method so that the background image is taken into consideration.
getPreferredSize() - Method in class edu.princeton.swing.PWrappedList.CellRenderer
Overridden to get wrapping to work.
getPresentationName() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns a string describing the edit.
getProgramCtr() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the program counter.
getProperty(String) - Static method in class edu.princeton.toy.TConfigurationManager
Returns the value of the requested parameter.
getReader(String) - Static method in class edu.princeton.toy.TResourceLoader
Returns the Reader object for a JARed file.
getRecentTarget() - Static method in class edu.princeton.swing.ClipboardTargetManager
Returns the ClipboardTarget which most recently owned the focus.
getRedoAction() - Method in class edu.princeton.swing.ActionedUndoManager
Returns an action that calls the redo method of this ActionedUndoManager.
getRedoPresentationName() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns a string describing the edit.
getRefreshRate() - Method in class edu.princeton.toy.choosers.TPerformanceChooserPane
Returns the refresh rate (in steps per refresh) that the user selected.
getRefreshRate() - Static method in class edu.princeton.toy.TOptionsFrame
Returns the refresh rate (in steps per refresh) that the TFrame should use in rendering a running toy machine.
getRefreshRateDocument() - Static method in class edu.princeton.toy.TOptionsFrame
Returns a document containing a text representation of the refresh rate that the TFrame should use in rendering a running toy machine.
getRegister(int) - Method in class edu.princeton.toy.lang.TVirtualMachine
Get the value of a particular register.
getS() - Method in class edu.princeton.toy.lang.TWord
Returns the third leftmost/most-significant four bits of the TWord.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement scrollable to make the block increment a full page.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.swing.PScrollablePanel
Components that display logical rows or columns should compute the scroll increment that will completely expose one block of rows or columns, depending on the value of orientation.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimMemPane
Implement scrollable to make the block increment a full page.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdin2Pane
Implement scrollable to make the block increment a full page.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdinPane
Implement scrollable to make the block increment a full page.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdout2Pane
Implement scrollable to make the block increment a full page.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdoutPane
Implement scrollable to make the block increment a full page.
getScrollableTracksViewportHeight() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableTracksViewportHeight() - Method in class edu.princeton.swing.PScrollablePanel
Return true if a viewport should always force the height of this Scrollable to match the height of the viewport.
getScrollableTracksViewportHeight() - Method in class edu.princeton.toy.TSimMemPane
Implement scrollable to make the InternalTextArea's height always equal to that of it's viewport's.
getScrollableTracksViewportHeight() - Method in class edu.princeton.toy.TSimStdin2Pane
Implement scrollable to make the InternalTextArea's height always equal to that of it's viewport's.
getScrollableTracksViewportHeight() - Method in class edu.princeton.toy.TSimStdinPane
Implement scrollable to make the InternalTextArea's height always equal to that of it's viewport's.
getScrollableTracksViewportHeight() - Method in class edu.princeton.toy.TSimStdout2Pane
Implement scrollable to make the InternalTextArea's height always equal to that of it's viewport's.
getScrollableTracksViewportHeight() - Method in class edu.princeton.toy.TSimStdoutPane
Implement scrollable to make the InternalTextArea's height always equal to that of it's viewport's.
getScrollableTracksViewportWidth() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableTracksViewportWidth() - Method in class edu.princeton.swing.PScrollablePanel
Return true if a viewport should always force the width of this Scrollable to match the width of the viewport.
getScrollableTracksViewportWidth() - Method in class edu.princeton.swing.PWrappedList
We override this function to enable proper word-wrapping in a JScrollPane.
getScrollableTracksViewportWidth() - Method in class edu.princeton.toy.TSimMemPane
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableTracksViewportWidth() - Method in class edu.princeton.toy.TSimStdin2Pane
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableTracksViewportWidth() - Method in class edu.princeton.toy.TSimStdinPane
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableTracksViewportWidth() - Method in class edu.princeton.toy.TSimStdout2Pane
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableTracksViewportWidth() - Method in class edu.princeton.toy.TSimStdoutPane
Implement scrollable to make the InternalTextArea's size the greater of its own size and its viewport's size.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement scrollable to make the unit increment a tenth of a page.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.swing.PScrollablePanel
Components that display logical rows or columns should compute the scroll increment that will completely expose one new row or column, depending on the value of orientation.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimMemPane
Implement scrollable to make the unit increment a tenth of a page.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdin2Pane
Implement scrollable to make the unit increment a tenth of a page.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdinPane
Implement scrollable to make the unit increment a tenth of a page.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdout2Pane
Implement scrollable to make the unit increment a tenth of a page.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.princeton.toy.TSimStdoutPane
Implement scrollable to make the unit increment a tenth of a page.
getSelectedText() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns the selected text.
getSelectedTextColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color for the text which is in the selected range.
getSelectionColor() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the color for the background which is in the selected range.
getSelectionDot() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the end of the selection which is supposed to 'move'.
getSelectionDotOffset() - Method in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Returns the offset of the selectionDot.
getSelectionEnd() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the end of the selection.
getSelectionEndOffset() - Method in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Returns the greater of the offsets of the selectionDot and selectionMark.
getSelectionMark() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the end of the selection which is supposed to be 'anchored'.
getSelectionMarkOffset() - Method in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Returns the offset of the selectionMark.
getSelectionStart() - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the start of the selection.
getSelectionStartOffset() - Method in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Returns the lesser of the offsets of the selectionDot and selectionMark.
getShortDescription() - Method in class edu.princeton.swing.AbstractAction2
Gets the short description for this Action.
getShowLineNumbers() - Method in class edu.princeton.swing.PHighlightedTextArea
Indicates wheter or not the lines are numbered.
getSize() - Method in class edu.princeton.toy.lang.TWordBuffer
Returns the number of lines we have so far.
getSize() - Method in class edu.princeton.toy.TStdinPane.ListModel
Returns the number of elements in the model.
getSize() - Method in class edu.princeton.toy.TStdoutPane.ListModel
Returns the number of elements in the model.
getSmallIcon() - Method in class edu.princeton.swing.AbstractAction2
Gets the small icon for this Action.
getStderr() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the standard error stream.
getStdout() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the TWordBuffer containing all of the words which have been outputted by the virtual machine.
getStdout(TWordBuffer) - Method in class edu.princeton.toy.lang.TVirtualMachine
Copies all of the words which have been outputted by the virtual machine to the provided TWordBuffer.
getStyle(int) - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the style for a specified index.
getStyle(int) - Method in class edu.princeton.toy.choosers.TStyleChooserPane
Gets the style for a given index.
getStyleCount() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns the number of styles represented in this JHighlightTextArea.
getStyleCount() - Method in class edu.princeton.swing.text.DefaultHighlightedDocument
Returns the number of distinct styles used by this type of document.
getStyleCount() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the number of distinct styles used by this type of document.
getStyleCount() - Method in class edu.princeton.toy.TProgramDocument
Returns the number of distinct styles used by this type of document.
getStyleMask() - Method in class edu.princeton.swing.text.HighlightStyle
Returns the style mask which can be sent straight to the constructor of Font.
getT() - Method in class edu.princeton.toy.lang.TWord
Returns the rightmost/least-significant four bits of the TWord.
getTabSize() - Method in class edu.princeton.swing.text.DefaultHighlightedDocument
Returns the number of spaces to replace all tabs with.
getTabSize() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the number of spaces to replace all tabs with.
getTabSize() - Method in class edu.princeton.toy.TProgramDocument
Returns the number of spaces to replace all tabs with.
getText() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns the text of the document.
getText() - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the text of the document.
getText(int, int) - Method in class edu.princeton.swing.text.HighlightedDocument
Returns part of the text of the document.
getThickness() - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Returns the thickness of the underline.
getTitle() - Method in class edu.princeton.toy.TProgramDocument
Returns the title of the workspace.
getTreeCellEditorComponent(JTree, Object, boolean, boolean, boolean, int) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellEditor
Implement TreeCellEditor to extract the CheckBoxCell from a DefaultMutableTreeNode, configure its display properties, and return that component.
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellRenderer
Implement TreeCellRenderer to extract the CheckBoxCell from a DefaultMutableTreeNode, configure its display properties, and return that component.
getType() - Method in exception edu.princeton.toy.lang.TException
Returns the type of this exception.
getUnconsumedStdin() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns the TWordBuffer containing all of the words which have not been read yet.
getUnconsumedStdin(TWordBuffer) - Method in class edu.princeton.toy.lang.TVirtualMachine
Copies all of the words which have not been read yet to the provided TWordBuffer.
getUndoAction() - Method in class edu.princeton.swing.ActionedUndoManager
Returns an action that calls the undo method of this ActionedUndoManager.
getUndoPresentationName() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns a string describing the edit.
getUnfocusedCellBorder() - Method in class edu.princeton.swing.PList
Return the border that should be rendered for an unfocused cell.
getUrl(String) - Static method in class edu.princeton.toy.TResourceLoader
Returns the URL object for a JARed resource.
getValue() - Method in class edu.princeton.toy.lang.TWord
Returns the short primitive to which this TWord corresponds.
getVersion() - Static method in class edu.princeton.toy.TMain
Returns the version, as parsed from the version file.
getVirtualMachine() - Method in class edu.princeton.toy.TCorePane
Returns the virtualMachine attached to this TCorePane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimDetailPane
Returns the virtualMachine attached to this TSimDetailPane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimMachinePane
Returns the virtualMachine attached to this TSimMachinePane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimMemPane
Returns the virtualMachine attached to this TSimMemPane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimStdin2Pane
Returns the virtualMachine attached to this TSimStdin2Pane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimStdinPane
Returns the virtualMachine attached to this TSimStdinPane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimStdout2Pane
Returns the virtualMachine attached to this TSimStdout2Pane.
getVirtualMachine() - Method in class edu.princeton.toy.TSimStdoutPane
Returns the virtualMachine attached to this TSimStdoutPane.
getVirtualMachine() - Method in class edu.princeton.toy.TStdinPane
Returns the virtualMachine attached to this TStdinPane.
getVirtualMachine() - Method in class edu.princeton.toy.TStdoutPane
Returns the virtualMachine attached to this TStdoutPane.
getVisitedColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in a non-hover, visited, non-active, non-disabled state.
getVisitedDisabledColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in a visited, disabled state.
getVisitedDisabledUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in a visited, disabled state.
getVisitedHoverColor() - Method in class edu.princeton.swing.PHyperlink
Returns the color of the link in a hover, visited, non-active, non-disabled state.
getVisitedHoverUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in a hover, visited, non-active, non-disabled state.
getVisitedUnderline() - Method in class edu.princeton.swing.PHyperlink
Returns wheter or not to underline the link in a non-hover, visited, non-active, non-disabled state.
getWarnings(boolean) - Method in class edu.princeton.toy.TProgramDocument
Returns a list of warnings along with character indices of the start and end of the relevant text.
getWarnings(TProgramDocument.WarningInfoStruct, boolean) - Method in class edu.princeton.toy.TProgramDocument
Returns a list of warnings along with character indices of the start and end of the relevant text.
getWidthTrackingPolicy() - Method in class edu.princeton.swing.PScrollablePanel
Returns the width-tracking policy of the PScrollablePanel.
getWillThrow(int) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane
Returns wheter or not the virtual toy machines should throw all exceptions of the given type.
getWillThrow(int) - Method in class edu.princeton.toy.lang.TDefaultExceptionHandler
Gets wheter or not the handler should throw a raised exception of the specified type.
getWillThrow(TExceptionType) - Method in class edu.princeton.toy.lang.TDefaultExceptionHandler
Gets wheter or not the handler should throw a raised exception of the specified type.
getWillThrow(int) - Method in interface edu.princeton.toy.lang.TExceptionHandler
Gets wheter or not the handler should throw a raised exception of the specified type.
getWillThrow(TExceptionType) - Method in interface edu.princeton.toy.lang.TExceptionHandler
Gets wheter or not the handler should throw a raised exception of the specified type.
getWord(short) - Static method in class edu.princeton.toy.lang.TWord
Returns a TWord initialize to the given value.
getWord(int) - Method in class edu.princeton.toy.lang.TWordBuffer
Returns the TWord at the given index.
getWordBounds(int) - Method in class edu.princeton.swing.text.HighlightedDocument
Returns the bounds of the word containing the character at the given offset.

H

hasEncounteredError() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns true iff an error has been encountered.
hasFatalError - Variable in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
 
hashCode() - Method in class edu.princeton.toy.lang.TExceptionType
Returns the hash-code of this TExceptionType.
HEADER_BAR - Static variable in class edu.princeton.toy.TProgramDocument
The bar the separates the description of a program from the code of the program.
HEIGHT - Static variable in class edu.princeton.toy.TOptionsFrame
 
HEX_DIGITS - Static variable in class edu.princeton.swing.text.HighlightStyle
An array to convert an integer between 0 and 16 to a hexidecimal digit.
HEX_DIGITS - Static variable in class edu.princeton.toy.lang.TWord
An array to convert an integer between 0 and 16 to a hexidecimal digit.
HEX_PAIRS - Static variable in class edu.princeton.toy.lang.TWord
An array to convert an integer between 0 and 256 to a pair of hexidecimal digit.
hexDigitToInt(char) - Static method in class edu.princeton.swing.text.HighlightStyle
Returns the hexidecimal value of a character.
hexDigitToInt(char) - Static method in class edu.princeton.toy.lang.TWord
Returns the hexidecimal value of a character.
HIDE_WARNINGS_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
HIGHLIGHT_STYLE_KEYS - Static variable in class edu.princeton.toy.TOptionsFrame
The keys corresponding to HIGHLIGHT_STYLE_NAMES.
HIGHLIGHT_STYLE_NAMES - Static variable in class edu.princeton.toy.TOptionsFrame
A description of the syntax styles used by a TProgramDocument.
HIGHLIGHTED_LINE_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
HIGHLIGHTED_TEXT_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
HighlightedDocument - Class in edu.princeton.swing.text
HighlightedDocument is an abstract representation of a document which supports syntax highlighting.
HighlightedDocument() - Constructor for class edu.princeton.swing.text.HighlightedDocument
Constructs a HighlightedDocument.
HighlightedDocument.Position - Class in edu.princeton.swing.text
Position is a simple implementation of javax.swing.text.Position.
HighlightedDocument.Position(int, int) - Constructor for class edu.princeton.swing.text.HighlightedDocument.Position
Instantiates a new Position.
HighlightedDocument.PositionTriplet - Class in edu.princeton.swing.text
PositionTriplet maintains three positions which permits efficient synchronous changes.
HighlightedDocument.PositionTriplet(HighlightedDocument.Position, HighlightedDocument.Position, HighlightedDocument.Position) - Constructor for class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Creates a new PositionTriplet.
HighlightedDocument.UndoableEdit - Class in edu.princeton.swing.text
UndoableEdit is a simple implementation of javax.swing.undo.UndoableEdit.
HighlightedDocument.UndoableEdit(int, StringBuffer, StringBuffer, boolean) - Constructor for class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
 
HighlightedDocument.UndoableEdit(int, int, StringBuffer, boolean) - Constructor for class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Creates a new UndoableEdit.
HighlightedDocumentRenderer - Interface in edu.princeton.swing.text
A HighlightedDocumentRenderer is an interface which describes a class which can recieve special read privileges to the protected data of a HighlightedDocument.
HighlightStyle - Class in edu.princeton.swing.text
HighlightStyle encapsulates the stylistic variations which different highlights in a THighlightedTextArea may take.
HighlightStyle(Color, boolean, boolean) - Constructor for class edu.princeton.swing.text.HighlightStyle
Instantiates a new HighlightStyle.

I

id - Variable in class edu.princeton.swing.text.HighlightedDocument.Position
 
ignorableWhitespace(char[], int, int) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
IGNORE_WARNINGS_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
The key for wheter or not to ignore warnings.
IndentingAutoCompleter - Class in edu.princeton.swing.text
IndentingAutoCompleter is an implementation of AutoCompleter which will intercept tab keystrokes when more than one line is selected and indent the block (if shift is held down, the block will be unindented).
IndentingAutoCompleter() - Constructor for class edu.princeton.swing.text.IndentingAutoCompleter
 
initHyperlink() - Method in class edu.princeton.swing.PHyperlink
Called by the constructors to initialize the hyperlink.
initializedValue() - Method in class edu.princeton.toy.lang.TWord
Returns the initialized equivalent of this word.
initMem(TWord[]) - Method in class edu.princeton.toy.lang.TVirtualMachine
Initializes all of memory with an array of size exactly MEM_COUNT containing no null values.
insertString(int, String, boolean) - Method in class edu.princeton.swing.text.HighlightedDocument
Inserts a string at the specified index.
insertUpdate(DocumentEvent) - Method in class edu.princeton.toy.TBaseConverterPane.Listener
Implement DocumentListener to pass DocumentEvents to the documentChanged() method.
installMappings(JComponent) - Static method in class edu.princeton.swing.ClipboardTargetManager
Installs the InputMap and ActionMap mappings necessary to get the JComponent to behave correctly when the keyboard trigger for a clipboard action is fired.
INSTR_BIT_COUNT - Static variable in class edu.princeton.toy.TSimMachinePane
The number of instr lights in the TSimMachinePane.
interceptKeyEvent(PHighlightedTextArea, KeyEvent) - Method in interface edu.princeton.swing.text.AutoCompleter
The PHighlightedTextArea will pass all key events to its auto-completer before processing the event for itself.
interceptKeyEvent(PHighlightedTextArea, KeyEvent) - Method in class edu.princeton.swing.text.DefaultAutoCompleter
The PHighlightedTextArea will pass all key events to its auto-completer before processing the event for itself.
interceptKeyEvent(PHighlightedTextArea, KeyEvent) - Method in class edu.princeton.swing.text.IndentingAutoCompleter
The PHighlightedTextArea will pass all key events to its auto-completer before processing the event for itself.
interceptKeyEvent(PHighlightedTextArea, KeyEvent) - Method in class edu.princeton.toy.TCommentingAutoCompleter
The PHighlightedTextArea will pass all key events to its auto-completer before processing the event for itself.
interceptKeyEvent(PHighlightedTextArea, KeyEvent) - Method in class edu.princeton.toy.TUncommentingAutoCompleter
The PHighlightedTextArea will pass all key events to its auto-completer before processing the event for itself.
interrupt() - Method in class edu.princeton.toy.lang.TVirtualMachine
Will cause the runner (started by the run method) to stop.
INTERRUPT_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
interrupted - Variable in class edu.princeton.toy.lang.TVirtualMachine.Runner
 
isBold() - Method in class edu.princeton.swing.text.HighlightStyle
Returns wheter or not the highlighted text should be bold.
isBorderOpaque() - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Returns whether or not the border is opaque.
isCommand(String) - Static method in class edu.princeton.toy.lang.TWord
checks if the given parameter is a valid TOY instruction
isDisabled(int) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Returns wheter or not the color for a given index should be used.
isDone() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns wheter or not the GUI should continue stepping.
isEditable() - Method in class edu.princeton.swing.PHighlightedTextArea
Returns wheter or not this component is editable by the user.
isFocusTraversable() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
TODO: Stop using this method when more people switch to 1.4.
isFocusTraversable() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
TODO: Stop using this method when more people switch to 1.4.
isHexDigit(char) - Static method in class edu.princeton.swing.text.HighlightStyle
Returns whether or not a character is a hexidecimal digit.
isHexDigit(char) - Static method in class edu.princeton.toy.lang.TWord
Returns whether or not a character is a hexidecimal digit.
isInitialized() - Method in class edu.princeton.toy.lang.TWord
Returns wheter or not this word has been defined yet.
isItalic() - Method in class edu.princeton.swing.text.HighlightStyle
Returns wheter or not the highlighted text should be italicized.
isManagingFocus() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
TODO: Stop using this method when more people switch to 1.4.
isMonospaced() - Method in class edu.princeton.swing.text.FontInfo
Returns wheter or not the font is monspaced over the specified set of characters.
isPrepared(byte) - Static method in class edu.princeton.toy.TImageManager
Returns wheter or not a group of unscaled images has been prepared.
isPrepared(byte, int) - Static method in class edu.princeton.toy.TImageManager
Returns wheter or not a group of scaled images has been prepared.
isPseudoCode(String) - Static method in class edu.princeton.toy.lang.TWord
Checks if the given string is a valid TOY pseudocode
isReady() - Static method in class edu.princeton.toy.TConfigurationManager
Indicates wheter or not each example in the manifest either does not exist or has been loaded and processed.
isReady() - Static method in class edu.princeton.toy.TExampleManager
Indicates wheter or not each example in the manifest either does not exist or has been loaded and processed.
isRunning() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns wheter or not the runner (started by the run method) is running.
isRunning - Variable in class edu.princeton.toy.lang.TVirtualMachine.Runner
 
isRunning - Variable in class edu.princeton.toy.TSimMachinePane.Runner
 
isRunning - Variable in class edu.princeton.toy.TSimStdin2Pane.Runner
 
isRunning - Variable in class edu.princeton.toy.TSimStdout2Pane.Runner
 
isSignificant() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns true (this edit involved a document mutation).
isTristate() - Method in class edu.princeton.swing.DefaultTristateButtonModel
Returns true if the button is in tristate.
isTristate() - Method in interface edu.princeton.swing.TristateButtonModel
Returns true if the button is in tristate.

L

LAST_EDIT_HORIZONTAL_DIVIDER_LOCATION_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
 
LAST_FRAME_BOUNDS_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
 
LAST_OPTIONS_FRAME_POSITION_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
 
LAST_SIM_HORIZONTAL_DIVIDER_LOCATION_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
 
LAST_VERTICAL_DIVIDER_LOCATION_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
 
leftShift(TWord, TWord, TExceptionHandler) - Static method in class edu.princeton.toy.lang.TWord
Implements the logical-left-shift operator for the TWord type.
LINE_NUMBERS_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
lineCount - Variable in class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
 
lineCount - Variable in class edu.princeton.swing.text.HighlightedDocument
 
lineOffsets - Variable in class edu.princeton.swing.text.HighlightedDocument
 
LOAD_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
LONG_DESCRIPTION_KEY - Static variable in class edu.princeton.swing.AbstractAction2
The key used for storing a longer description for the action, could be used for context-sensitive help.
LOOK_COMMAND - Static variable in class edu.princeton.toy.TFrame
 

M

MACHINE_SCALED_BUTTON_ENTER_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Enter button.
MACHINE_SCALED_BUTTON_ENTER_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Enter button.
MACHINE_SCALED_BUTTON_INTERRUPT_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Interrupt button.
MACHINE_SCALED_BUTTON_INTERRUPT_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Interrupt button.
MACHINE_SCALED_BUTTON_LOAD_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Load button.
MACHINE_SCALED_BUTTON_LOAD_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Load button.
MACHINE_SCALED_BUTTON_LOOK_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Look button.
MACHINE_SCALED_BUTTON_LOOK_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Look button.
MACHINE_SCALED_BUTTON_RESET_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Reset button.
MACHINE_SCALED_BUTTON_RESET_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Reset button.
MACHINE_SCALED_BUTTON_RUN_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Run button.
MACHINE_SCALED_BUTTON_RUN_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Run button.
MACHINE_SCALED_BUTTON_STEP_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the Step button.
MACHINE_SCALED_BUTTON_STEP_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the Step button.
MACHINE_SCALED_DIGIT_BLANK - Static variable in class edu.princeton.toy.TImageManager
The index of the blank LCD digit.
MACHINE_SCALED_DIGITS - Static variable in class edu.princeton.toy.TImageManager
The indices of the LCD Digits.
MACHINE_SCALED_IMAGE_GROUP - Static variable in class edu.princeton.toy.TImageManager
The index of the machine scaled image group.
MACHINE_SCALED_LABEL_ADDR - Static variable in class edu.princeton.toy.TImageManager
The index of the "ADDR" label.
MACHINE_SCALED_LABEL_DATA - Static variable in class edu.princeton.toy.TImageManager
The index of the "DATA" label.
MACHINE_SCALED_LABEL_INSTR - Static variable in class edu.princeton.toy.TImageManager
The index of the "INSTR" label.
MACHINE_SCALED_LABEL_INWAIT - Static variable in class edu.princeton.toy.TImageManager
The index of the "INWAIT" label.
MACHINE_SCALED_LABEL_PC - Static variable in class edu.princeton.toy.TImageManager
The index of the "PC" label.
MACHINE_SCALED_LABEL_READY - Static variable in class edu.princeton.toy.TImageManager
The index of the "READY" label.
MACHINE_SCALED_LABEL_STDOUT - Static variable in class edu.princeton.toy.TImageManager
The index of the "STDOUT" label.
MACHINE_SCALED_LIGHT_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the unlit state of the light.
MACHINE_SCALED_LIGHT_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the lit state of the light.
MACHINE_SCALED_SWITCH_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the down state of the switch.
MACHINE_SCALED_SWITCH_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the up state of the switch.
main(String[]) - Static method in class edu.princeton.toy.TMain
Parses the version file, launches a splash window until all the example, image, and parameter managers are ready.
MAX_ALLOWED_CHARACTER - Static variable in class edu.princeton.swing.text.HighlightedDocument
The allowed character with the greatest integer encoding.
MAX_SCALE - Static variable in class edu.princeton.toy.TImageManager
The maximum scale to which the images can be scaled.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimDetailPane
The maxmimum scale which the TSimDetailPane can be scaled to.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimMachinePane
The maxmimum scale to which the TSimMachinePane can be scaled.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimMemPane
The maxmimum scale which the TSimMemPane can be scaled to.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimStdin2Pane
The maxmimum scale which the TSimStdin2Pane can be scaled to.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimStdinPane
The maxmimum scale which the TSimStdinPane can be scaled to.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimStdout2Pane
The maxmimum scale which the TSimStdout2Pane can be scaled to.
MAX_SCALE - Static variable in class edu.princeton.toy.TSimStdoutPane
The maxmimum scale which the TSimStdoutPane can be scaled to.
MAX_VALUE - Static variable in class edu.princeton.toy.lang.TWord
The maximum value a TWord can take.
MAX_WARNINGS - Static variable in class edu.princeton.toy.TProgramDocument
The maximum number of warnings before a fatal error is thrown.
maxLineLength - Variable in class edu.princeton.swing.text.HighlightedDocument
 
MEM_COUNT - Static variable in class edu.princeton.toy.lang.TVirtualMachine
The size of the memory array.
MEM_OUT_OF_BOUNDS - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when an operator attempts to access a memory memory that is not between 0000 and 00FF.
MEMORY_UNINITIALIZED - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when the value of an uninitialized memory memory is accessed by an operation.
METAL_STYLE - Static variable in class edu.princeton.swing.PHyperlink
 
MIN_SCALE - Static variable in class edu.princeton.toy.TSimDetailPane
The minimum scale which the TSimDetailPane can be scaled to.
MIN_SCALE - Static variable in class edu.princeton.toy.TSimMachinePane
The minimum scale which the TSimMachinePane can be scaled to.
MIN_SCALE - Static variable in class edu.princeton.toy.TSimMemPane
The minimum scale which the TSimMemPane can be scaled to.
MIN_SCALE - Static variable in class edu.princeton.toy.TSimStdin2Pane
The minimum scale which the TSimStdin2Pane can be scaled to.
MIN_SCALE - Static variable in class edu.princeton.toy.TSimStdinPane
The minimum scale which the TSimStdinPane can be scaled to.
MIN_SCALE - Static variable in class edu.princeton.toy.TSimStdout2Pane
The minimum scale which the TSimStdout2Pane can be scaled to.
MIN_SCALE - Static variable in class edu.princeton.toy.TSimStdoutPane
The minimum scale which the TSimStdoutPane can be scaled to.
MIN_VALUE - Static variable in class edu.princeton.toy.lang.TWord
The minimum value a TWord can take.
modelToView(Point) - Method in class edu.princeton.swing.PHighlightedTextArea
Converts a (column, line) coordinate in the text to an actual pixel coordinate in the PHighlightedTextArea.
modelToView(int, int) - Method in class edu.princeton.swing.PHighlightedTextArea
Converts a (column, line) coordinate in the text to an actual pixel coordinate in the PHighlightedTextArea.
mouseClicked(MouseEvent) - Method in class edu.princeton.swing.PHyperlink.Listener
Implement MouseListener to update the model's state based on mouse events.
mouseClicked(MouseEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement MouseListener to stop the runner if the user clicks on the inputField.
mouseClicked(MouseEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement MouseListener to stop the runner if the user clicks on the stderrTextArea.
mouseEntered(MouseEvent) - Method in class edu.princeton.swing.PHyperlink.Listener
Implement MouseListener to update the model's state based on mouse events.
mouseEntered(MouseEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement MouseListener to stop the runner if the user clicks on the inputField.
mouseEntered(MouseEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement MouseListener to stop the runner if the user clicks on the stderrTextArea.
mouseExited(MouseEvent) - Method in class edu.princeton.swing.PHyperlink.Listener
Implement MouseListener to update the model's state based on mouse events.
mouseExited(MouseEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement MouseListener to stop the runner if the user clicks on the inputField.
mouseExited(MouseEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement MouseListener to stop the runner if the user clicks on the stderrTextArea.
mousePressed(MouseEvent) - Method in class edu.princeton.swing.PHyperlink.Listener
Implement MouseListener to update the model's state based on mouse events.
mousePressed(MouseEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement MouseListener to stop the runner if the user clicks on the inputField.
mousePressed(MouseEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement MouseListener to stop the runner if the user clicks on the stderrTextArea.
mouseReleased(MouseEvent) - Method in class edu.princeton.swing.PHyperlink.Listener
Implement MouseListener to update the model's state based on mouse events.
mouseReleased(MouseEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement MouseListener to stop the runner if the user clicks on the inputField.
mouseReleased(MouseEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement MouseListener to stop the runner if the user clicks on the stderrTextArea.

N

NAME_KEY - Static variable in class edu.princeton.swing.AbstractAction2
The key used for storing the name for the action, used for a menu or button.
needsInput() - Method in class edu.princeton.toy.lang.TVirtualMachine
Returns wheter or not the GUI should prompt the user for input.
NEVER_HIGHLIGHT - Static variable in class edu.princeton.swing.PHighlightedTextArea
The value that highlightedLine should take so that no line is highlighted.
NEW_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
NO_CHANGE - Static variable in class edu.princeton.swing.PHighlightedTextArea
The value to pass to select(int, int, int) which will be interpreted as the command not to change a specified value.
NO_CHANGE - Static variable in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
The value to pass to set so that the specified position's offset will not change.
NO_HIGHLIGHT - Static variable in class edu.princeton.swing.PHighlightedTextArea
The value that highlightedLine should take so that no line is highlighted.
notationDecl(String, String, String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.

O

offset - Variable in class edu.princeton.swing.text.HighlightedDocument.Position
 
offsetToCoordinate(int) - Method in class edu.princeton.swing.text.HighlightedDocument
Takes an offset and returns the nearest valid (column, line) pair.
OK_COMMAND - Static variable in class edu.princeton.toy.TOptionsFrame
 
ONE - Static variable in class edu.princeton.toy.lang.TWord
A constant for getWord((short)0).
OPEN_COMMAND - Static variable in class edu.princeton.toy.TExampleDialog
 
OPEN_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
OPEN_EXAMPLE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
OPEN_STDIN_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
OPTIONS_ACTION - Static variable in class edu.princeton.toy.TOptionsFrame
An action to open the options frame.
ORIGINAL_IMAGE_SCALES - Static variable in class edu.princeton.toy.TImageManager
The scale by which the raw images are loaded.
OUT_OF_BOUNDS_FAMILY - Static variable in class edu.princeton.toy.lang.TExceptionType
The identifier of the the family of overflow TExceptionTypes.
OUTSIDE_MARGIN_COLUMN - Static variable in class edu.princeton.toy.TProgramDocument
The column at which text is considered past the margin.
OVERFLOW - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when the result of the operation is not representable as a 16-bit two's complement signed integers.
OVERFLOW_FAMILY - Static variable in class edu.princeton.toy.lang.TExceptionType
The identifier of the the family of overflow TExceptionTypes.

P

paint(Graphics) - Method in class edu.princeton.swing.PTristateCheckBox
Override paint() to paint the tristate checkbox differently if it's in tristate.
paintBorder(Component, Graphics, int, int, int, int) - Method in class edu.princeton.swing.PHyperlink.UnderlineBorder
Paints the border for the specified component with the specified position and size.
paintComponent(Graphics) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
Override the paintComponent() function of JComponent.
paintComponent(Graphics) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Override the paintComponent() function of JComponent.
paintComponent(Graphics) - Method in class edu.princeton.swing.PImagePanel
Override javax.swing.JComponent's paintComponent method to paint the background appropriately.
paintComponent(Graphics) - Method in class edu.princeton.toy.TSimMemPane
Override paintComponent() to make this TSimMemPane actually paint the memory information.
paintComponent(Graphics) - Method in class edu.princeton.toy.TSimStdin2Pane
Override paintComponent() to make this TSimStdin2Pane actually paint the memory information.
paintComponent(Graphics) - Method in class edu.princeton.toy.TSimStdinPane
Override paintComponent() to make this TSimStdinPane actually paint the memory information.
paintComponent(Graphics) - Method in class edu.princeton.toy.TSimStdout2Pane
Override paintComponent() to make this TSimStdout2Pane actually paint the memory information.
paintComponent(Graphics) - Method in class edu.princeton.toy.TSimStdoutPane
Override paintComponent() to make this TSimStdoutPane actually paint the memory information.
paintWindowImmediately(Component) - Static method in class edu.princeton.swing.PSwingUtilities
Paints the window containing this component immediately.
parseStyle(String) - Static method in class edu.princeton.swing.text.HighlightStyle
Decodes the string produced by toString() back into a HighlightStyle.
parseWord(String, int) - Static method in class edu.princeton.toy.lang.TWord
Parses a TWord from a string.
paste() - Method in interface edu.princeton.swing.ClipboardTarget
Inserts the contents of the clipbaord into the object.
paste() - Static method in class edu.princeton.swing.ClipboardTargetManager
Executes the paste() method of the ClipboardTarget which most recently owned the focus.
paste() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
paste() - Method in class edu.princeton.swing.PHighlightedTextArea
Performs the paste operation on the selected text.
paste() - Method in class edu.princeton.swing.PList
Inserts the contents of the clipbaord into the object.
paste() - Method in class edu.princeton.swing.PTree
Inserts the contents of the clipbaord into the object.
PASTE_ACTION - Static variable in class edu.princeton.swing.ClipboardTargetManager
An implementation of Action to use for the paste operation.
PASTE_ICON - Static variable in class edu.princeton.swing.ClipboardTargetManager
The paste icon.
PASTE_ICON_BYTES - Static variable in class edu.princeton.swing.ClipboardTargetManager
The bytes for the paste icon.
PASTE_KEYSTROKE - Static variable in class edu.princeton.swing.ClipboardTargetManager
The keystroke generally associated with the paste action.
PC_BIT_COUNT - Static variable in class edu.princeton.toy.TSimMachinePane
The number of pc lights in the TSimMachinePane.
PC_OUT_OF_BOUNDS - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when the program counter exceeds FF.
PC_START - Static variable in class edu.princeton.toy.lang.TVirtualMachine
The address on which the Virtual Machine begins execution.
PC_START_VALUE - Static variable in class edu.princeton.toy.lang.TVirtualMachine
The address on which the Virtual Machine begins execution.
PDefaultListSelectionModel - Class in edu.princeton.swing
PDefaultListSelectionModel extends to add DefaultListSelectionModel support.
PDefaultListSelectionModel() - Constructor for class edu.princeton.swing.PDefaultListSelectionModel
Creates a new PDefaultListSelectionModel.
PHighlightedTextArea - Class in edu.princeton.swing
PHighlightedTextArea is a multi-purpose text area which supports syntax highlighting, line highlighting, and column markers.
PHighlightedTextArea() - Constructor for class edu.princeton.swing.PHighlightedTextArea
Constructs a new PHighlightedTextArea.
PHighlightedTextArea(HighlightedDocument) - Constructor for class edu.princeton.swing.PHighlightedTextArea
Constructs a new PHighlightedTextArea.
PHighlightedTextArea(int, int) - Constructor for class edu.princeton.swing.PHighlightedTextArea
Constructs a new PHighlightedTextArea.
PHighlightedTextArea(HighlightedDocument, int, int) - Constructor for class edu.princeton.swing.PHighlightedTextArea
Constructs a new PHighlightedTextArea.
PHighlightedTextArea.InternalNumberedArea - Class in edu.princeton.swing
InternalNumberedArea is the subcomponent of PHighlightedTextArea which shows the line numbers.
PHighlightedTextArea.InternalNumberedArea() - Constructor for class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
 
PHighlightedTextArea.InternalTextArea - Class in edu.princeton.swing
InternalTextArea is the subcomponent of PHighlightedTextArea which shows the editable program code.
PHighlightedTextArea.InternalTextArea() - Constructor for class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
 
PHyperlink - Class in edu.princeton.swing
PHyperlink is a subclass of AbstractButton which looks and feels like a hyperlink.
PHyperlink() - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink(String) - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink(String, Icon) - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink(String, Icon, byte) - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink(Action) - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink(Action, byte) - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink(String, Icon, Color, boolean, Color, boolean, Color, boolean, Color, boolean, Color, boolean, Color, boolean, Color, boolean) - Constructor for class edu.princeton.swing.PHyperlink
Create a new PHyperlink.
PHyperlink.HyperlinkButtonModel - Class in edu.princeton.swing
HyperlinkButtonModel is similar to JToggleButton.ToggleButtonModel except that once it is selected, it doesn't ever toggle back without an explicit setSelected() call.
PHyperlink.HyperlinkButtonModel() - Constructor for class edu.princeton.swing.PHyperlink.HyperlinkButtonModel
Construct a new HyperlinkButtonModel.
PHyperlink.Listener - Class in edu.princeton.swing
Listener implements ChangeListener to listen for changes in the ButtonModel's state and MouseListener to listen for mouse actions on the label.
PHyperlink.Listener() - Constructor for class edu.princeton.swing.PHyperlink.Listener
Creates a new Listener object.
PHyperlink.UnderlineBorder - Class in edu.princeton.swing
UnderlineBorder is a simple subclass of AbstractBorder that draws an underline.
PHyperlink.UnderlineBorder(Color, int, int) - Constructor for class edu.princeton.swing.PHyperlink.UnderlineBorder
Creates a new UnderlineBorder.
PImagePanel - Class in edu.princeton.swing
PImagePanel is like a JPanel, except that its background can be set to an image.
PImagePanel(Icon, LayoutManager) - Constructor for class edu.princeton.swing.PImagePanel
Constructs a new PImagePanel.
PImagePanel(Icon) - Constructor for class edu.princeton.swing.PImagePanel
Constructs a new PImagePanel.
PImagePanel() - Constructor for class edu.princeton.swing.PImagePanel
Constructs a new PImagePanel.
PLACEHOLDER_BORDER - Static variable in class edu.princeton.toy.TSimMachinePane
The border of the resizing placeholder in the TSimMachinePane.
PList - Class in edu.princeton.swing
PList extends JList to provide ClipboardTarget support.
PList() - Constructor for class edu.princeton.swing.PList
Constructs a new PList.
PList(ListModel) - Constructor for class edu.princeton.swing.PList
Constructs a new PList.
PList(Object[]) - Constructor for class edu.princeton.swing.PList
Constructs a new PList.
PList(Vector) - Constructor for class edu.princeton.swing.PList
Constructs a new PList.
PList.Listener - Class in edu.princeton.swing
The Listener listenes to the selection model of this list to capture PropertyChangeEvents.
PList.Listener() - Constructor for class edu.princeton.swing.PList.Listener
Creates a new Listener.
PList.PListCellRenderer - Class in edu.princeton.swing
PListCellRenderer is a subclass of DefaultListCellRenderer which will correctly render the border specified by the PList.
PList.PListCellRenderer() - Constructor for class edu.princeton.swing.PList.PListCellRenderer
Create a new PListCellRenderer.
PListSelectionModel - Interface in edu.princeton.swing
PListSelectionModel extends to add PropertyChangeListener support.
pop() - Method in class edu.princeton.toy.lang.TWordBuffer
Returns the TWord at the beginning of the buffer after removing it from the buffer.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimDetailPane
The scale used in determining the preferred size of the TSimDetailPane.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimMachinePane
The scale used in determining the preferred size of the TSimMachinePane.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimMemPane
The scale used in determining the preferred size of the TSimMemPane.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimStdin2Pane
The scale used in determining the preferred size of the TSimStdin2Pane.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimStdinPane
The scale used in determining the preferred size of the TSimStdinPane.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimStdout2Pane
The scale used in determining the preferred size of the TSimStdout2Pane.
PREFERRED_SCALE - Static variable in class edu.princeton.toy.TSimStdoutPane
The scale used in determining the preferred size of the TSimStdoutPane.
prepare(byte) - Static method in class edu.princeton.toy.TImageManager
Returns only when a group of unscaled images has been prepared.
prepare(byte, int) - Static method in class edu.princeton.toy.TImageManager
Returns only when a group of scaled images has been prepared.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.swing.PWrappedList
Capture resize events.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TOptionsFrame
Intercept ComponentEvents to pick up COMPONENT_MOVED events.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimDetailPane
Intercept ComponentEvents to do resize and move the detailPanel when this component is resized.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimMachinePane
Intercept ComponentEvents to do resize and move the bluePanel when this component is resized.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimMemPane
Intercept ComponentEvents to do resize and move the memPanel when this component is resized.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimStdin2Pane
Intercept ComponentEvents to do resize and move the memPanel when this component is resized.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimStdinPane
Intercept ComponentEvents to do resize and move the memPanel when this component is resized.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimStdout2Pane
Intercept ComponentEvents to do resize and move the memPanel when this component is resized.
processComponentEvent(ComponentEvent) - Method in class edu.princeton.toy.TSimStdoutPane
Intercept ComponentEvents to do resize and move the memPanel when this component is resized.
processFocusEvent(FocusEvent) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Intercept FocusEvents to notify the ClipboardTargetManager of the event.
processFocusEvent(FocusEvent) - Method in class edu.princeton.swing.PList
Intercept FocusEvents to notify the ClipboardTargetManager of the event.
processFocusEvent(FocusEvent) - Method in class edu.princeton.swing.PTextArea
Intercept FocusEvents to notify the ClipboardTargetManager of the event.
processFocusEvent(FocusEvent) - Method in class edu.princeton.swing.PTextField
Intercept FocusEvents to notify the ClipboardTargetManager of the event.
processFocusEvent(FocusEvent) - Method in class edu.princeton.swing.PTree
Intercept FocusEvents to notify the ClipboardTargetManager of the event.
processHierarchyBoundsEvent(HierarchyEvent) - Method in class edu.princeton.toy.TSimMemPane
Intercept HierarchyEvents to do resize and move the detailPanel when this component is resized.
processHierarchyBoundsEvent(HierarchyEvent) - Method in class edu.princeton.toy.TSimStdin2Pane
Intercept HierarchyEvents to do resize and move the detailPanel when this component is resized.
processHierarchyBoundsEvent(HierarchyEvent) - Method in class edu.princeton.toy.TSimStdinPane
Intercept HierarchyEvents to do resize and move the detailPanel when this component is resized.
processHierarchyBoundsEvent(HierarchyEvent) - Method in class edu.princeton.toy.TSimStdout2Pane
Intercept HierarchyEvents to do resize and move the detailPanel when this component is resized.
processHierarchyBoundsEvent(HierarchyEvent) - Method in class edu.princeton.toy.TSimStdoutPane
Intercept HierarchyEvents to do resize and move the detailPanel when this component is resized.
processingInstruction(String, String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
processKeyEvent(KeyEvent) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Intercept KeyEvents to perform the usual action.
processKeyEvent(KeyEvent) - Method in class edu.princeton.swing.PTextField
Intercept KeyEvents to send off ActionEvents when enter is pressed.
processMouseEvent(MouseEvent) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
Intercept mouse clicks to perform the usual action.
processMouseEvent(MouseEvent) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Intercept mouse clicks to perform the usual action.
processMouseEvent(MouseEvent) - Method in class edu.princeton.swing.PList
Intercept MouseEvents to activate the popupMenu at the right time.
processMouseEvent(MouseEvent) - Method in class edu.princeton.swing.PTextArea
Intercept MouseEvents to activate the popupMenu at the right time.
processMouseEvent(MouseEvent) - Method in class edu.princeton.swing.PTextField
Intercept MouseEvents to activate the popupMenu at the right time.
processMouseEvent(MouseEvent) - Method in class edu.princeton.swing.PTree
Intercept MouseEvents to activate the popupMenu at the right time.
processMouseEvent(MouseEvent) - Method in class edu.princeton.toy.TSimMemPane
Process MouseEvents to mark the beginning of a mouse dragging session.
processMouseEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdin2Pane
Process MouseEvents to mark the beginning of a mouse dragging session and to catch the mouse leaving.
processMouseEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdinPane
Process MouseEvents to mark the beginning of a mouse dragging session.
processMouseEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdout2Pane
Process MouseEvents to mark the beginning of a mouse dragging session and to catch the mouse leaving.
processMouseEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdoutPane
Process MouseEvents to mark the beginning of a mouse dragging session.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalNumberedArea
Intercept mouse dragging to perform the usual action.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Intercept mouse dragging to perform the usual action.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.toy.TSimMemPane
Process MouseEvents to scroll the pane when the mouse is dragged.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdin2Pane
Process MouseEvents to scroll the pane when the mouse is dragged and get the selectedIndex of the component.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdinPane
Process MouseEvents to scroll the pane when the mouse is dragged.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdout2Pane
Process MouseEvents to scroll the pane when the mouse is dragged and get the selectedIndex of the component.
processMouseMotionEvent(MouseEvent) - Method in class edu.princeton.toy.TSimStdoutPane
Process MouseEvents to scroll the pane when the mouse is dragged.
processWindowEvent(WindowEvent) - Method in class edu.princeton.toy.TFrame
Intercept WindowEvents to pick up WINDOW_CLOSING events.
processWindowEvent(WindowEvent) - Method in class edu.princeton.toy.TOptionsFrame
Intercept WindowEvents to pick up WINDOW_CLOSING events.
PROGRAM_AREA_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
PROMISCUOUS_EXCEPTION_HANDLER - Static variable in interface edu.princeton.toy.lang.TExceptionHandler
An implementation of TExceptionHandler which ignores all exceptions.
PropertiedListSelectionModel - Interface in edu.princeton.swing
PropertiedListSelectionModel extends to add PropertyChangeListener support.
propertyChange(PropertyChangeEvent) - Method in class edu.princeton.swing.PList.Listener
Implement PropertyChangeListener to notify the ClipboardTargetManager of a possible change in the canX() methods.
propertyChange(PropertyChangeEvent) - Method in class edu.princeton.swing.PTree.Listener
Implement PropertyChangeListener to notify the ClipboardTargetManager of a possible change in the canX() methods.
propertyChange(PropertyChangeEvent) - Method in class edu.princeton.toy.TSimMachinePane.Listener
Implement PropertyChangeListener to update the state of the buttons whenever the action's state changes.
PRUDISH_EXCEPTION_HANDLER - Static variable in interface edu.princeton.toy.lang.TExceptionHandler
An implementation of TExceptionHandler which throws all exceptions.
PScrollablePanel - Class in edu.princeton.swing
PScrollablePanel is just like a JPanel except that it implements scrollable.
PScrollablePanel() - Constructor for class edu.princeton.swing.PScrollablePanel
Creates a new PScrollablePanel.
PScrollablePanel(boolean) - Constructor for class edu.princeton.swing.PScrollablePanel
Creates a new PScrollablePanel.
PScrollablePanel(LayoutManager) - Constructor for class edu.princeton.swing.PScrollablePanel
Creates a new PScrollablePanel.
PScrollablePanel(LayoutManager, boolean) - Constructor for class edu.princeton.swing.PScrollablePanel
Creates a new PScrollablePanel.
PSpacer - Class in edu.princeton.swing
PSpacer is a transparent JComponent whose miminumSize, preferredSize, and maximumSize have all been set to a certain value upon construction.
PSpacer(int, int) - Constructor for class edu.princeton.swing.PSpacer
Constructs a new PSpacer.
PSpacer(Dimension) - Constructor for class edu.princeton.swing.PSpacer
Constructs a new PSpacer.
PSwingUtilities - Class in edu.princeton.swing
PSwingUtilities contains some standard swing library functions for Princeton's swing extensions.
PSwingUtilities() - Constructor for class edu.princeton.swing.PSwingUtilities
 
PTextArea - Class in edu.princeton.swing
PTextArea extends JTextArea to provide ClipboardTarget support.
PTextArea() - Constructor for class edu.princeton.swing.PTextArea
Constructs a new PTextArea.
PTextArea(String) - Constructor for class edu.princeton.swing.PTextArea
Constructs a new PTextArea.
PTextArea(int, int) - Constructor for class edu.princeton.swing.PTextArea
Constructs a new PTextArea.
PTextArea(String, int, int) - Constructor for class edu.princeton.swing.PTextArea
Constructs a new PTextArea.
PTextArea(Document) - Constructor for class edu.princeton.swing.PTextArea
Constructs a new PTextArea.
PTextArea(Document, String, int, int) - Constructor for class edu.princeton.swing.PTextArea
Constructs a new PTextArea.
PTextField - Class in edu.princeton.swing
PTextField extends JTextField to provide ClipboardTarget support.
PTextField() - Constructor for class edu.princeton.swing.PTextField
Constructs a new PTextField.
PTextField(Document, String, int) - Constructor for class edu.princeton.swing.PTextField
Constructs a new PTextField.
PTextField(int) - Constructor for class edu.princeton.swing.PTextField
Constructs a new PTextField.
PTextField(String) - Constructor for class edu.princeton.swing.PTextField
Constructs a new PTextField.
PTextField(String, int) - Constructor for class edu.princeton.swing.PTextField
Constructs a new PTextField.
PTransparentPanel - Class in edu.princeton.swing
PTransparentPanel is just like a JPanel except that it doesn't fill the background with its background color.
PTransparentPanel(LayoutManager) - Constructor for class edu.princeton.swing.PTransparentPanel
Constructs a new PTransparentPanel.
PTransparentPanel() - Constructor for class edu.princeton.swing.PTransparentPanel
Constructs a new PTransparentPanel.
PTree - Class in edu.princeton.swing
PTree extends JTree to provide ClipboardTarget support.
PTree() - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree(Hashtable) - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree(Object[]) - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree(TreeModel) - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree(TreeNode) - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree(TreeNode, boolean) - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree(Vector) - Constructor for class edu.princeton.swing.PTree
Constructs a new PTree.
PTree.Listener - Class in edu.princeton.swing
The Listener listenes to the selection model of this list to capture PropertyChangeEvents.
PTree.Listener() - Constructor for class edu.princeton.swing.PTree.Listener
Creates a new Listener.
PTristateCheckBox - Class in edu.princeton.swing
PTristateCheckBox is a subclass of JCheckBox which supports the rendering of a TristateButtonModel.
PTristateCheckBox() - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(Icon) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(Icon, boolean) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(Icon, boolean, boolean) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(String) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(Action) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(String, boolean) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(String, boolean, boolean) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(String, Icon) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(String, Icon, boolean) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
PTristateCheckBox(String, Icon, boolean, boolean) - Constructor for class edu.princeton.swing.PTristateCheckBox
Create a new PTristateCheckBox.
putFileIntoHistory(File) - Static method in class edu.princeton.toy.TOptionsFrame
Puts a File object in the list of recent files.
PWrappedList - Class in edu.princeton.swing
PWrappedList is a JList which word-wraps its cells.
PWrappedList() - Constructor for class edu.princeton.swing.PWrappedList
Constructs a new PWrappedList.
PWrappedList(ListModel) - Constructor for class edu.princeton.swing.PWrappedList
Constructs a new PWrappedList.
PWrappedList(Object[]) - Constructor for class edu.princeton.swing.PWrappedList
Constructs a new PWrappedList.
PWrappedList(Vector) - Constructor for class edu.princeton.swing.PWrappedList
Constructs a new PWrappedList.
PWrappedList.CellRenderer - Class in edu.princeton.swing
CellRenderer is the class which renders PWrappedList cells.
PWrappedList.CellRenderer() - Constructor for class edu.princeton.swing.PWrappedList.CellRenderer
Instantiates a CellRenderer.

Q

QUIT_COMMAND - Static variable in class edu.princeton.toy.TFrame
 

R

raise(TExceptionType) - Method in class edu.princeton.toy.lang.TDefaultExceptionHandler
Throws a TException with the specified type iff the specified exception was not set to be ignored.
raise(TExceptionType) - Method in interface edu.princeton.toy.lang.TExceptionHandler
Throws a TException with the specified type iff the specified exception was not set to be ignored.
readLock() - Method in class edu.princeton.swing.text.HighlightedDocument
Obtains a read-lock for this HighlightedDocument.
readUnlock() - Method in class edu.princeton.swing.text.HighlightedDocument
Releases the read-lock for this HighlightedDocument.
recalculateSizes() - Method in class edu.princeton.swing.PHighlightedTextArea
Recalculates the preferred/minimum sizes of the InternalNumberedArea and InternalTextArea.
redo() - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
redo() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Redoes an edit.
REDO_ICON - Static variable in class edu.princeton.swing.ActionedUndoManager
The redo icon.
REDO_ICON_BYTES - Static variable in class edu.princeton.swing.ActionedUndoManager
The bytes for the redo icon.
redoTo(UndoableEdit) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
REFERENCE_AREA_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
REFERENCE_TEXT - Static variable in class edu.princeton.toy.TReferencePane
The text that is displayed in the reference text area.
REFRESH_RATE_KEY - Static variable in class edu.princeton.toy.TOptionsFrame
The key for the clock periods.
REFRESH_RATES - Static variable in class edu.princeton.toy.TOptionsFrame
The possible refresh rate values.
REGISTER_COUNT - Static variable in class edu.princeton.toy.lang.TVirtualMachine
The number of registers.
REGISTER_OUT_OF_BOUNDS - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when an operator attempts to access a register that is not valid (attempting to assign a value to R[0]).
REGISTER_UNINITIALIZED - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when the value of an uninitialized register is accessed by an operation.
registerComponent(Component, int) - Static method in class edu.princeton.toy.TOptionsFrame
Registers a component to receive font assignments for a particular area.
registerHighlightedTextArea(PHighlightedTextArea) - Static method in class edu.princeton.toy.TOptionsFrame
Registers a PHighlightedTextArea to receive non-font assignments (color, column markers, etc...).
REGULAR_UNSCALED_CHECK_SYNTAX_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the check syntax icon for the toolbar.
REGULAR_UNSCALED_DEBUG_MODE_ICON_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the debug mode off icon for the toolbar.
REGULAR_UNSCALED_DEBUG_MODE_ICON_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the debug mode on icon for the toolbar.
REGULAR_UNSCALED_EDIT_MODE_ICON_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the edit mode off icon for the toolbar.
REGULAR_UNSCALED_EDIT_MODE_ICON_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the edit mode on icon for the toolbar.
REGULAR_UNSCALED_FRAME_ICON_OTHER_OS - Static variable in class edu.princeton.toy.TImageManager
The index of the icon for the frame.
REGULAR_UNSCALED_FRAME_ICON_WINDOWS - Static variable in class edu.princeton.toy.TImageManager
The index of the icon for the frame.
REGULAR_UNSCALED_IMAGE_GROUP - Static variable in class edu.princeton.toy.TImageManager
The index of the regular unscaled image group.
REGULAR_UNSCALED_INTERRUPT_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the interrupt icon for the toolbar.
REGULAR_UNSCALED_NEW_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the new icon for the toolbar.
REGULAR_UNSCALED_OPEN_EXAMPLE_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the open example icon for the toolbar.
REGULAR_UNSCALED_OPEN_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the open icon for the toolbar.
REGULAR_UNSCALED_RESET_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the reset icon for the toolbar.
REGULAR_UNSCALED_RUN_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the run icon for the toolbar.
REGULAR_UNSCALED_SAVE_ALL_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the save all icon for the toolbar.
REGULAR_UNSCALED_SAVE_AS_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the save as icon for the toolbar.
REGULAR_UNSCALED_SAVE_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the save icon for the toolbar.
REGULAR_UNSCALED_SIM_MODE_ICON_OFF - Static variable in class edu.princeton.toy.TImageManager
The index of the sim mode off icon for the toolbar.
REGULAR_UNSCALED_SIM_MODE_ICON_ON - Static variable in class edu.princeton.toy.TImageManager
The index of the sim mode on icon for the toolbar.
REGULAR_UNSCALED_STEP_ICON - Static variable in class edu.princeton.toy.TImageManager
The index of the step icon for the toolbar.
remove(int, int, boolean) - Method in class edu.princeton.swing.text.HighlightedDocument
Removes a segment of text specified by its offset and length.
REMOVE_COMMAND - Static variable in class edu.princeton.toy.TStdinPane
The command to remove the selected items from the stdin stream of the virtualMachine.
removeActionListener(ActionListener) - Method in class edu.princeton.swing.PList
Removes a listener from this component.
removeActionListener(ActionListener) - Method in class edu.princeton.swing.PTextField
Removes a listener from this component.
removeActionListener(ActionListener) - Method in class edu.princeton.swing.PTree
Removes a listener from this component.
removeChangeListener(ChangeListener) - Method in class edu.princeton.toy.lang.TVirtualMachine
Removes a listener from this machine.
removeChangeListener(ChangeListener) - Method in class edu.princeton.toy.TSimMachinePane
Removes a listener from this machine.
removePropertyChangeListener(PropertyChangeListener) - Method in class edu.princeton.swing.DefaultPropertiedListSelectionModel
Removes a PropertyChangeListener from the model.
removePropertyChangeListener(PropertyChangeListener) - Method in class edu.princeton.swing.PDefaultListSelectionModel
Removes a PropertyChangeListener from the model.
removePropertyChangeListener(PropertyChangeListener) - Method in interface edu.princeton.swing.PListSelectionModel
Removes a PropertyChangeListener from the model.
removePropertyChangeListener(PropertyChangeListener) - Method in interface edu.princeton.swing.PropertiedListSelectionModel
Removes a PropertyChangeListener from the model.
removeTextListener(TextListener) - Method in class edu.princeton.swing.text.HighlightedDocument
Removes a listener from this document.
removeUndoableEditListener(UndoableEditListener) - Method in class edu.princeton.swing.text.HighlightedDocument
Removes a listener from this document.
removeUpdate(DocumentEvent) - Method in class edu.princeton.toy.TBaseConverterPane.Listener
Implement DocumentListener to pass DocumentEvents to the documentChanged() method.
replace(int, int, String, boolean) - Method in class edu.princeton.swing.text.HighlightedDocument
Replaces the text in a given range with the specified string.
replace(int, int, String, boolean, boolean, int[], boolean) - Method in class edu.princeton.swing.text.HighlightedDocument
Replaces the text in a given range with the specified string.
replaceEdit(UndoableEdit) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
replaceEdit(UndoableEdit) - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns false (this edit should never replace another).
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimDetailPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimMachinePane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimMemPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimStdin2Pane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimStdinPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimStdout2Pane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
RESCALE_COMMAND - Static variable in class edu.princeton.toy.TSimStdoutPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
reset() - Method in class edu.princeton.toy.lang.TVirtualMachine
Wipes out the memory and registers, resets the programCtr to PC_START, and flushes the streams.
reset(TVirtualMachine) - Method in class edu.princeton.toy.TProgramDocument
Resets the virtual machine then copies the program and initial stdin back in.
RESET_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
resolveEntity(String, String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
revalidateImmediately(Component) - Static method in class edu.princeton.swing.PSwingUtilities
Causes the nearest enclosing validate-root to be validated immediately.
REVERT_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
rightShift(TWord, TWord, TExceptionHandler) - Static method in class edu.princeton.toy.lang.TWord
Implements the arithmatic-right-shift operator for the TWord type.
ROOT_NODE - Static variable in class edu.princeton.toy.TOptionsFrame
 
run() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement runnable to blink the caret.
run(TVirtualMachine.ExecutionController) - Method in class edu.princeton.toy.lang.TVirtualMachine
Executes the command which programCtr points to and increments programCtr if necessary n times, dispatching ChangeEvents to all the listeners afterwards.
run() - Method in class edu.princeton.toy.lang.TVirtualMachine.Runner
Implement Runnable to run the TVirtualMachine.
run() - Method in class edu.princeton.toy.TConfigurationManager
Implement the Runnable interface to parse the conf file in a separate thread.
run() - Method in class edu.princeton.toy.TExampleManager
Implement the Runnable interface to load the example files in a separate thread.
run() - Method in class edu.princeton.toy.TFrame.Runner
 
run() - Method in class edu.princeton.toy.TOptionsFrame.ShutdownHook
Saves all the autogenerate fields into a copy of the appliedOptions Mapping and exports it to the toy.conf file.
run() - Method in class edu.princeton.toy.TSimMachinePane.Runner
Implement Runnable to run the TSimMachinePane.
run() - Method in class edu.princeton.toy.TSimStdin2Pane.Runner
Implement Runnable to run the TSimStdin2Pane.
run() - Method in class edu.princeton.toy.TSimStdout2Pane.Runner
Implement Runnable to run the TSimStdout2Pane.
run() - Method in class edu.princeton.toy.TStdinPane.Runner
Implement runnable to blink the inputField.
run() - Method in class edu.princeton.toy.TStdoutPane.Runner
Implement runnable to blink the stderrTextArea.
RUN_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
runningThread - Variable in class edu.princeton.toy.TFrame.Runner
 

S

SAVE_AS_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
SAVE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
SAVE_CORE_DUMP_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
SAVE_MEM_DUMP_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
SAVE_STDIN_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
SAVE_STDOUT_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
SCALED_IMAGE_PATHS - Static variable in class edu.princeton.toy.TImageManager
The paths to all the scaled images, relative to the root of the jar file.
scrollToCaret() - Method in class edu.princeton.swing.PHighlightedTextArea
If this PHighlightedTextArea is in a JViewport, the viewport's viewPosition will be changed so that the caret (or the highlighted line, if the caret is not visible) is showing.
scrollToFrontier(boolean) - Method in class edu.princeton.toy.TSimStdin2Pane
Ensures that the cell representing the stdin word at the frontier of either the consumed stdin list or the unconsumed stdin list is visible.
scrollToFrontier(boolean) - Method in class edu.princeton.toy.TSimStdinPane
Ensures that the cell representing the stdin word at the frontier of either the consumed stdin list or the unconsumed stdin list is visible.
scrollToFrontier() - Method in class edu.princeton.toy.TSimStdout2Pane
Ensures that the cell representing the word at the frontier of the stdout list is visible.
scrollToFrontier() - Method in class edu.princeton.toy.TSimStdoutPane
Ensures that the cell representing the word at the frontier of the stdout list is visible.
scrollToPc() - Method in class edu.princeton.toy.TSimMemPane
Ensures that the cell representing the memory memory to which the pc points is visible.
select(int, int) - Method in class edu.princeton.swing.PHighlightedTextArea
Selects the specified range of text.
select(int, int, int) - Method in class edu.princeton.swing.PHighlightedTextArea
Selects the specified range of text and moves the caret to a specified location.
SELECT_ALL_ACTION - Static variable in class edu.princeton.swing.ClipboardTargetManager
An implementation of Action to use for the selectAll operation.
SELECT_ALL_ICON - Static variable in class edu.princeton.swing.ClipboardTargetManager
The paste icon.
SELECT_ALL_ICON_BYTES - Static variable in class edu.princeton.swing.ClipboardTargetManager
The bytes for the select all icon.
SELECT_ALL_KEYSTROKE - Static variable in class edu.princeton.swing.ClipboardTargetManager
The keystroke generally associated with the select all action.
selectAll() - Method in interface edu.princeton.swing.ClipboardTarget
Selects everything in the object.
selectAll() - Static method in class edu.princeton.swing.ClipboardTargetManager
Executes the selectAll() method of the ClipboardTarget which most recently owned the focus.
selectAll() - Method in class edu.princeton.swing.PHighlightedTextArea.InternalTextArea
Implement ClipboardTarget to pass clipboard requests to the JHighlghtedTextArea.
selectAll() - Method in class edu.princeton.swing.PHighlightedTextArea
Selects all of the text.
selectAll() - Method in class edu.princeton.swing.PList
Selects everything in the object.
selectAll() - Method in class edu.princeton.swing.PTree
Selects everything in the object.
SELECTED_TEXT_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
SELECTION_COLOR_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
selectionDot - Variable in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
 
selectionEnd - Variable in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
 
selectionMark - Variable in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
 
selectionsEqual(TProgramDocument.WarningInfoStruct) - Method in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
Returns wheter or not this WarningInfoStruct conveys the same information as another (except possibly warnings).
selectionStart - Variable in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
 
set(int, int, int) - Method in class edu.princeton.swing.text.HighlightedDocument.PositionTriplet
Moves the offsets of the triplets to the valid position nearest to the specified offset.
setAccelerator(KeyStroke) - Method in class edu.princeton.swing.AbstractAction2
Sets the accelerator keystroke for this Action.
setActionCommand(String) - Method in class edu.princeton.swing.AbstractAction2
Sets the action command for this Action.
setActionCommand(String) - Method in class edu.princeton.swing.PList
Sets the action command associated with the enter key being pressed.
setActionCommand(String) - Method in class edu.princeton.swing.PTextField
Sets the action command associated with the enter key being pressed.
setActionCommand(String) - Method in class edu.princeton.swing.PTree
Sets the action command associated with the enter key being pressed.
setActiveColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in an active, non-disabled state.
setActiveUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in an active, non-disabled state.
setAutoCheck(boolean) - Method in class edu.princeton.toy.choosers.TCheckingChooserPane
Sets wheter or not the syntax should be checked automatically as the user types.
setAutoCheck(boolean) - Static method in class edu.princeton.toy.TFrame
Starts or stops the auto-syntax-check runner.
setAutoCompleter(AutoCompleter) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the AutoCompleter for this PHighlightedTextArea.
setAutoCompleterId(int) - Method in class edu.princeton.toy.choosers.TAutoCompleteChooserPane
Sets the index of the autoCompleter which should be used when editing a TOY program.
setBackgroundIcon(Icon) - Method in class edu.princeton.swing.PImagePanel
Sets the background icon.
setBaseDescription(String) - Method in class edu.princeton.swing.ExtensionFileFilter
Sets the base description of this filter.
setCaretColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color of the caret.
setCaretPosition(int) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the location of the caret.
setClockPeriod(int) - Method in class edu.princeton.toy.choosers.TPerformanceChooserPane
Sets the clock period (in milliseconds) which the TPerformanceChooserPane should display.
setColor(Color, int) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Sets the color for a given index.
setColumnMarkers(int[]) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the location of the column markers.
setCurrentDirectory(File) - Static method in class edu.princeton.toy.TOptionsFrame
Sets the directory in which JFileChoosers should start.
setData(TWordBuffer) - Method in class edu.princeton.toy.TStdinPane.ListModel
Updates the ListModel's data to conform with the provided TWordBuffer.
setData(TWordBuffer) - Method in class edu.princeton.toy.TStdoutPane.ListModel
Updates the ListModel's data to conform with the provided TWordBuffer.
setDisabled(boolean, int) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Sets the disabled state for a given index.
setDisabledColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in a non-visited, disabled state.
setDisabledIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setDisabledIcon() calls to propagate the changes to the label.
setDisabledSelectedIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setDisabledSelectedIcon() calls to propagate the changes to the label.
setDisabledTextColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color for the text if this component is disabled.
setDisabledUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in a non-visited, disabled state.
setDocument(HighlightedDocument) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the document that this PHighlightedTextArea represents.
setDocumentLocator(Locator) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
setEditable(boolean) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets wheter or not this component is editable by the user.
setEditable(boolean) - Method in class edu.princeton.swing.PTextArea
Override the setEditable() method to intercept any changes concerning the editable status of the component.
setEditable(boolean) - Method in class edu.princeton.swing.PTextField
Override the setEditable() method to intercept any changes concerning the editable status of the component.
setEnabled(boolean) - Method in class edu.princeton.swing.EnabledListCellRenderer
Override setEnabled() to ignore attempts to disable the cell renderer.
setEnabled(boolean) - Method in class edu.princeton.swing.PHighlightedTextArea
Override the setEnabled() method to intercept any changes concerning the enabled status of the component.
setEnabled(boolean) - Method in class edu.princeton.swing.PHyperlink
Intercept setEnabled() calls to propagate the changes to the label.
setEnabled(boolean) - Method in class edu.princeton.swing.PList
Override the setEnabled() method to intercept any changes concerning the enabled status of the component.
setEnabled(boolean) - Method in class edu.princeton.swing.PTextArea
Override the setEnabled() method to intercept any changes concerning the enabled status of the component.
setEnabled(boolean) - Method in class edu.princeton.swing.PTextField
Override the setEnabled() method to intercept any changes concerning the enabled status of the component.
setEnabled(boolean) - Method in class edu.princeton.swing.PTree
Override the setEnabled() method to intercept any changes concerning the enabled status of the component.
setExceptionHandler(TExceptionHandler) - Method in class edu.princeton.toy.lang.TVirtualMachine
Sets the exception handler.
setExtraInfo(Object) - Method in class edu.princeton.swing.AbstractAction2
Sets the extra info for this Action.
setFocusedInTree(boolean) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCell
Sets wheter or not the CheckBoxCell is focused in the tree.
setFont(Font) - Method in class edu.princeton.swing.PHighlightedTextArea
Override the setFont function to capture changes in the font.
setFont(Font, int) - Method in class edu.princeton.toy.choosers.TFontChooserPane
Sets the font for a given area.
setFont(String, boolean, boolean, int, int) - Method in class edu.princeton.toy.choosers.TFontChooserPane
Sets the font for a given area.
setFont(Font) - Method in class edu.princeton.toy.TReferencePane
Override setFont to pass the font onto the toolbar.
setHeightTrackingPolicy(byte) - Method in class edu.princeton.swing.PScrollablePanel
Sets the height-tracking policy of the PScrollablePanel.
setHighlightColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color for the background in a line which is highlighted.
setHighlightedLine(int) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the line which is to be highlighted.
setHighlightedTextColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color for the text in a line which is highlighted.
setHoverColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in a hover, non-visited, non-active, non-disabled state.
setHoverUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in a hover, non-visited, non-active, non-disabled state.
setIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setIcon() calls to propagate the changes to the label.
setIgnoreWarnings(boolean) - Method in class edu.princeton.toy.choosers.TCheckingChooserPane
Sets wheter or not regular warnings should be ignored when the syntax of a program is being checked.
setInitialStdin(TWordBuffer) - Method in class edu.princeton.toy.TProgramDocument
Sets the initial values which should be in stdin whenever the workspace is reset.
setInsertMode(boolean) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets wheter or not this component is in insert mode.
setLastEditHorizontalDividerLocation(int) - Static method in class edu.princeton.toy.TOptionsFrame
Sets the location of the horizontal divider of the edit pane of the last TFrame which was closed.
setLastFrameBounds(Rectangle) - Static method in class edu.princeton.toy.TOptionsFrame
Sets the bounds for the last TFrame which was closed.
setLastSimHorizontalDividerLocation(int) - Static method in class edu.princeton.toy.TOptionsFrame
Sets the location of the horizontal divider of the sim pane of the last TFrame which was closed.
setLastVerticalDividerLocation(int) - Static method in class edu.princeton.toy.TOptionsFrame
Sets the location of the vertical divider of the last TFrame which was closed.
setLimit(int) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
setLineNumberColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color of the line numbers.
setLinkColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in a non-hover, non-visited, non-active, non-disabled state.
setLinkUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in a non-hover, non-visited, non-active, non-disabled state.
setLongDescription(String) - Method in class edu.princeton.swing.AbstractAction2
Sets the long description for this Action.
setMachinePane(TSimMachinePane) - Method in class edu.princeton.toy.TSimDetailPane
Sets the machinePane attached to this TSimDetailPane.
setMarkerColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color for the column marker.
setMem(int, TWord) - Method in class edu.princeton.toy.lang.TVirtualMachine
Sets the value of the specified memory memory.
setMnemonic(int) - Method in class edu.princeton.swing.AbstractAction2
Sets the mnemonic key for this Action.
setModel(ButtonModel) - Method in class edu.princeton.swing.PHyperlink
Intercept setModel() calls to keep a listener on the model.
setName(String) - Method in class edu.princeton.swing.AbstractAction2
Sets the name of this Action.
setOffset(int) - Method in class edu.princeton.swing.text.HighlightedDocument.Position
Sets the offset encapsulated by this Position.
setPopupMenu(JPopupMenu) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the popup menu for this component.
setPopupMenu(JPopupMenu) - Method in class edu.princeton.swing.PList
Sets the popup menu for this component.
setPopupMenu(JPopupMenu) - Method in class edu.princeton.swing.PTextArea
Sets the popup menu for this component.
setPopupMenu(JPopupMenu) - Method in class edu.princeton.swing.PTextField
Sets the popup menu for this component.
setPopupMenu(JPopupMenu) - Method in class edu.princeton.swing.PTree
Sets the popup menu for this component.
setPreferredScrollableViewportSize(Dimension) - Method in class edu.princeton.swing.PScrollablePanel
Allows the user to set what getPreferredScrollableViewportSize() will return.
setPressed(boolean) - Method in class edu.princeton.swing.PHyperlink.HyperlinkButtonModel
Override setPressed to intercept events which should change the selected state.
setPressedIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setPressedIcon() calls to propagate the changes to the label.
setProgramCtr(TWord) - Method in class edu.princeton.toy.lang.TVirtualMachine
Change the programCtr.
setRefreshRate(int) - Method in class edu.princeton.toy.choosers.TPerformanceChooserPane
Sets the refresh rate (in steps per refresh) which the TPerformanceChooserPane should display.
setRegister(int, TWord) - Method in class edu.princeton.toy.lang.TVirtualMachine
Sets the value of a particular register.
setRolloverIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setRolloverIcon() calls to propagate the changes to the label.
setRolloverSelectedIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setRolloverSelectedIcon() calls to propagate the changes to the label.
setSelected(boolean) - Method in class edu.princeton.swing.DefaultTristateButtonModel
Selects or deselects the button.
setSelectedIcon(Icon) - Method in class edu.princeton.swing.PHyperlink
Intercept setSelectedIcon() calls to propagate the changes to the label.
setSelectedInTree(boolean) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCell
Sets wheter or not the CheckBoxCell is selected in the tree.
setSelectedTextColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color for the text which is in the selected range.
setSelectionBackground(Color) - Method in class edu.princeton.swing.PList
Override the setSelectionBackground() method to intercept any changes concerning the background color of the selection.
setSelectionColor(Color) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the color for the background which is in the selected range.
setSelectionMode(int) - Method in class edu.princeton.swing.DefaultPropertiedListSelectionModel
Intercept setSelectionMode calls to fire ProprtyChangeEvents when necessary.
setSelectionMode(int) - Method in class edu.princeton.swing.PDefaultListSelectionModel
Intercept setSelectionMode calls to fire ProprtyChangeEvents when necessary.
setSelectionModel(ListSelectionModel) - Method in class edu.princeton.swing.PList
Override the setSelectionModel method to reject any attempt to change the selection model to a model which does not implement PropertiedListSelectionModel.
setSelectionModel(TreeSelectionModel) - Method in class edu.princeton.swing.PTree
Override the setSelectionModel method to keep our listener on the correct model.
setShortDescription(String) - Method in class edu.princeton.swing.AbstractAction2
Sets the short description for this Action.
setShowLineNumbers(boolean) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets wheter or not the lines should be numbered.
setSmallIcon(Icon) - Method in class edu.princeton.swing.AbstractAction2
Sets the small icon for this Action.
setStdin(TWordBuffer) - Method in class edu.princeton.toy.lang.TVirtualMachine
Clears the consumedStdin and sets unconsumedStdin to contain the values provided.
setStdin(TWordBuffer, TWordBuffer) - Method in class edu.princeton.toy.lang.TVirtualMachine
Sets the consumedStdin and unconsumedStdin to contain the values provided.
setStyle(HighlightStyle, int) - Method in class edu.princeton.swing.PHighlightedTextArea
Gets the style for a specified index.
setStyle(HighlightStyle, int) - Method in class edu.princeton.toy.choosers.TStyleChooserPane
Sets the style for a given index.
setText(String) - Method in class edu.princeton.swing.PHighlightedTextArea
Sets the text of the document.
setText(String) - Method in class edu.princeton.swing.PHyperlink
Intercept setText() calls to propagate the changes to the label.
setText(String) - Method in class edu.princeton.swing.text.HighlightedDocument
Sets the text to the given string.
setTitle(String) - Method in class edu.princeton.toy.TProgramDocument
 
setTristate(boolean) - Method in class edu.princeton.swing.DefaultTristateButtonModel
Sets wheter or not the button is in tristate.
setTristate(boolean) - Method in interface edu.princeton.swing.TristateButtonModel
Sets wheter or not the button is in tristate.
setValue(TWord) - Method in class edu.princeton.toy.TBaseConverterPane
Sets the value currently displayed by the TBaseConverterPane.
setValue(TWord, Document) - Method in class edu.princeton.toy.TBaseConverterPane
Sets the value currently displayed by the TBaseConverterPane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TCorePane
Sets the virtualMachine attached to this TCorePane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimDetailPane
Sets the virtualMachine attached to this TSimDetailPane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimMachinePane
Sets the virtualMachine attached to this TSimMachinePane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimMemPane
Sets the virtualMachine attached to this TSimMemPane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimStdin2Pane
Sets the virtualMachine attached to this TSimStdin2Pane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimStdinPane
Sets the virtualMachine attached to this TSimStdinPane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimStdout2Pane
Sets the virtualMachine attached to this TSimStdout2Pane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TSimStdoutPane
Sets the virtualMachine attached to this TSimStdoutPane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TStdinPane
Sets the virtualMachine attached to this TStdinPane.
setVirtualMachine(TVirtualMachine) - Method in class edu.princeton.toy.TStdoutPane
Sets the virtualMachine attached to this TStdoutPane.
setVisitedColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in a non-hover, visited, non-active, non-disabled state.
setVisitedDisabledColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in a visited, disabled state.
setVisitedDisabledUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in a visited, disabled state.
setVisitedHoverColor(Color) - Method in class edu.princeton.swing.PHyperlink
Sets the color of the link in a hover, visited, non-active, non-disabled state.
setVisitedHoverUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in a hover, visited, non-active, non-disabled state.
setVisitedUnderline(boolean) - Method in class edu.princeton.swing.PHyperlink
Sets wheter or not to underline the link in a non-hover, visited, non-active, non-disabled state.
setWidthTrackingPolicy(byte) - Method in class edu.princeton.swing.PScrollablePanel
Sets the width-tracking policy of the PScrollablePanel.
setWillThrow(int, boolean) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane
Sets wheter or not the virtual toy machines should throw all exceptions of the given type.
setWillThrow(TExceptionType, boolean) - Method in class edu.princeton.toy.lang.TDefaultExceptionHandler
Sets wheter or not the handler should throw a raised exception of the specified type.
setWillThrow(int, boolean) - Method in class edu.princeton.toy.lang.TDefaultExceptionHandler
Sets wheter or not the handler should throw a raised exception of the specified type.
SHIFT_OUT_OF_BOUNDS - Static variable in class edu.princeton.toy.lang.TExceptionType
The type of exception that occurs when a shift operation is commanded to shift further than 000F positions.
SHORT_DESCRIPTION_KEY - Static variable in class edu.princeton.swing.AbstractAction2
The key used for storing a short description for the action, used for tooltip text.
show(DefaultMutableTreeNode) - Static method in class edu.princeton.toy.TOptionsFrame
Shows a particular pane in the TOptionsFrame.
showExampleDialog(Window) - Static method in class edu.princeton.toy.TExampleDialog
Shows a TExampleDialog and returns the text of the selected examples.
SIM_MODE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
skippedEntity(String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
SMALL_ICON_KEY - Static variable in class edu.princeton.swing.AbstractAction2
The key used for storing a small icon for the action, used for toolbar buttons.
start(TVirtualMachine.ExecutionController) - Method in class edu.princeton.toy.lang.TVirtualMachine.Runner
Causes the runner to start.
start() - Method in class edu.princeton.toy.TSimMachinePane.Runner
Causes the runner to start.
start() - Method in class edu.princeton.toy.TSimStdin2Pane.Runner
Causes the runner to start.
start() - Method in class edu.princeton.toy.TSimStdout2Pane.Runner
Causes the runner to start.
start() - Method in class edu.princeton.toy.TStdinPane.Runner
Starts the blink thread if it hasn't started, or tells it to keep on going if it has.
start() - Method in class edu.princeton.toy.TStdoutPane.Runner
Starts the blink thread if it hasn't started, or tells it to keep on going if it has.
startDocument() - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
startElement(String, String, String, Attributes) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
startPrefixMapping(String, String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
STARTUP_UNSCALED_IMAGE_GROUP - Static variable in class edu.princeton.toy.TImageManager
The index of the startup unscaled image group.
STARTUP_UNSCALED_SPLASH_BACKGROUND - Static variable in class edu.princeton.toy.TImageManager
The index of the splash window's background
stateChanged(ChangeEvent) - Method in class edu.princeton.swing.PHyperlink.Listener
Implements ChangeListener to listen for changes in the ButtonModel's state.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane
Implement ChangeListener to listen to changes in the checkbox states.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.choosers.TPerformanceChooserPane
Implement ChangeListener to listen to changes in the checkbox states.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TCorePane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TFrame
Implement ChangeListener to listen to changes in the state of the virtual machine.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimDetailPane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimMachinePane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimMemPane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimStdin2Pane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimStdinPane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimStdout2Pane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TSimStdoutPane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TStdinPane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
stateChanged(ChangeEvent) - Method in class edu.princeton.toy.TStdoutPane.Listener
Implement ChangeListener to update the list whenever the virtual machine's state changes.
statusUpdate(TVirtualMachine, int, int, boolean) - Method in interface edu.princeton.toy.lang.TVirtualMachine.ExecutionController
This function is called by the TVirtualMachine's runner when it has completed the previous batch of steps.
statusUpdate(TVirtualMachine, int, int, boolean) - Method in class edu.princeton.toy.TFrame
This function is called by the TVirtualMachine's runner when it has completed the previous batch of steps.
STDIN_AREA_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
STDIO_SCALED_IMAGE_GROUP - Static variable in class edu.princeton.toy.TImageManager
The index of the stdio scaled image group.
STDIO_SCALED_PUNCHCARD_DISABLED - Static variable in class edu.princeton.toy.TImageManager
The index of the punch card in its disabled state.
STDIO_SCALED_PUNCHCARD_SELECTED - Static variable in class edu.princeton.toy.TImageManager
The index of the punch card in its selected state.
STDIO_SCALED_PUNCHCARD_UNSELECTED - Static variable in class edu.princeton.toy.TImageManager
The index of the punch card in its unselected state.
STDOUT_AREA_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
step() - Method in class edu.princeton.toy.lang.TVirtualMachine
Executes the command which programCtr points to and increments programCtr if necessary one time, dispatching ChangeEvents to all the listeners afterwards.
STEP_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
stop() - Method in class edu.princeton.toy.TStdinPane.Runner
Stops the blink thread at the next available opportunity, does nothing if the thread hasn't started.
stop() - Method in class edu.princeton.toy.TStdoutPane.Runner
Stops the blink thread at the next available opportunity, does nothing if the thread hasn't started.
stripComments() - Method in class edu.princeton.toy.TProgramDocument
Strips all comments (except header comments) off the program.
STYLE_AUTO_COMMENT - Static variable in class edu.princeton.toy.TProgramDocument
The index of the auto-comment style.
STYLE_COMMENT - Static variable in class edu.princeton.toy.TProgramDocument
The index of the comment style.
STYLE_IDENTIFIER - Static variable in class edu.princeton.toy.TProgramDocument
The index of the header style.
STYLE_INSTRUCTION - Static variable in class edu.princeton.toy.TProgramDocument
The index of the instruction style.
STYLE_KEYWORD - Static variable in class edu.princeton.toy.TProgramDocument
The index of the keyword style.
STYLE_OUTSIDE_MARGIN - Static variable in class edu.princeton.toy.TProgramDocument
The index of the outside-margin style.
STYLE_PLAIN - Static variable in class edu.princeton.swing.text.DefaultHighlightedDocument
The only style in a DefaultHighlightedDocument.
subtract(TWord, TWord, TExceptionHandler) - Static method in class edu.princeton.toy.lang.TWord
Implements the subtraction operator for the TWord type.

T

targetAbilityChanged(ClipboardTarget) - Static method in class edu.princeton.swing.ClipboardTargetManager
The function by which a ClipboardTarget registers itself with the Manager when its canX() method changes.
targetGainedFocus(ClipboardTarget) - Static method in class edu.princeton.swing.ClipboardTargetManager
The function by which a ClipboardTarget registers itself with the Manager when it gains the focus.
targetLostFocus(ClipboardTarget) - Static method in class edu.princeton.swing.ClipboardTargetManager
The function by which a ClipboardTarget unregisters itself with the Manager when it loses the focus.
TAutoCompleteChooserPane - Class in edu.princeton.toy.choosers
TAutoCompleteChooserPane manages the options related to the autocomplete feature of toy.
TAutoCompleteChooserPane(String[]) - Constructor for class edu.princeton.toy.choosers.TAutoCompleteChooserPane
Creates a new TAutoCompleteChooserPane which has only the given autoCompleters available.
TBaseConverterPane - Class in edu.princeton.toy
TBaseConvertPanel is a JPanel which acts as a base converter.
TBaseConverterPane() - Constructor for class edu.princeton.toy.TBaseConverterPane
Creates a new TBaseConverterPane.
TBaseConverterPane(TWord) - Constructor for class edu.princeton.toy.TBaseConverterPane
Creates a new TBaseConverterPane.
TBaseConverterPane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TBaseConverterPane.Listener() - Constructor for class edu.princeton.toy.TBaseConverterPane.Listener
 
TCheckingChooserPane - Class in edu.princeton.toy.choosers
TCheckingChooserPane manages the options related to syntax checking.
TCheckingChooserPane() - Constructor for class edu.princeton.toy.choosers.TCheckingChooserPane
Creates a new TCheckingChooserPane.
TColorChooserPane - Class in edu.princeton.toy.choosers
TColorChooserPane manages a set of colors for various indices and allows the user to change the colors for those indices.
TColorChooserPane(String[], String[]) - Constructor for class edu.princeton.toy.choosers.TColorChooserPane
Creates a new TColorChooserPane.
TCommentingAutoCompleter - Class in edu.princeton.toy
TCommentingAutoCompleter is an subclass of TUncommentingAutoCompleter which will also automatically update or add an autocomment when the user completes or modifies a command.
TCommentingAutoCompleter() - Constructor for class edu.princeton.toy.TCommentingAutoCompleter
 
TConfigurationManager - Class in edu.princeton.toy
TConfigurationManager is a class that reads and stores the bindings passed to Visual X-TOY through $USER_HOME/toy.conf.
TCorePane - Class in edu.princeton.toy
TCorePane is a JPanel which acts as an editor for the stdin of a TVirtualMachine.
TCorePane(TVirtualMachine, Action, Action) - Constructor for class edu.princeton.toy.TCorePane
Creates a new TCorePane.
TCorePane.Listener - Class in edu.princeton.toy
The Listener of a TCorePane pays attention to the changes in the virtualMachine and updates the components.
TCorePane.Listener() - Constructor for class edu.princeton.toy.TCorePane.Listener
 
TDefaultExceptionHandler - Class in edu.princeton.toy.lang
TDefaultExceptionHandler is the simplest mutable implementation of TExceptionHandler.
TDefaultExceptionHandler() - Constructor for class edu.princeton.toy.lang.TDefaultExceptionHandler
Instantiates a new TDefaultExceptionHandler in an exceptionless state.
TExampleDialog - Class in edu.princeton.toy
 
TExampleManager - Class in edu.princeton.toy
TExampleManager is a class that reads the example manifest and loads all of the examples into memory, parsing their titles as well.
TException - Exception in edu.princeton.toy.lang
TException is an exception passed down internally in the step() function of TVirtualMachine.
TException(TExceptionType) - Constructor for exception edu.princeton.toy.lang.TException
Constructs a new TException object with the given type.
TExceptionChooserPane - Class in edu.princeton.toy.choosers
TExceptionChooserPane manages a set of colors for various indices and allows the user to change the colors for those indices.
TExceptionChooserPane() - Constructor for class edu.princeton.toy.choosers.TExceptionChooserPane
Creates a new TExceptionChooserPane.
TExceptionChooserPane.CheckBoxCell - Class in edu.princeton.toy.choosers
CheckBoxCell is actually a JComponent containing a checkbox and a label.
TExceptionChooserPane.CheckBoxCell(String) - Constructor for class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCell
Constructs a new CheckBoxCell.
TExceptionChooserPane.CheckBoxCellEditor - Class in edu.princeton.toy.choosers
CheckBoxCellEditor provides a Component which edits a CheckBoxCell for the TExceptionChooser.
TExceptionChooserPane.CheckBoxCellEditor() - Constructor for class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellEditor
Creates a new CheckBoxCellEditor.
TExceptionChooserPane.CheckBoxCellRenderer - Class in edu.princeton.toy.choosers
CheckBoxCellRenderer renders a CheckBoxCell for the TExceptionChooser.
TExceptionChooserPane.CheckBoxCellRenderer() - Constructor for class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellRenderer
Creates a new CheckBoxCellRenderer.
TExceptionHandler - Interface in edu.princeton.toy.lang
TExceptionHandler essentially maintains a list of what exceptions to ignore and what exceptions to propagate throughout the virtual machine (halting the TVM).
TExceptionType - Class in edu.princeton.toy.lang
TExceptionType describes the types of TException that can be thrown.
textValueChanged(TextEvent) - Method in class edu.princeton.swing.PHighlightedTextArea
Implement TextListener to recalculate things whenever the document is edited.
textValueChanged(TextEvent) - Method in class edu.princeton.toy.TFrame
Implement TextListener to update the other components when the document changes.
TFontChooserPane - Class in edu.princeton.toy.choosers
TFontChooserPane manages a set of fonts for various areas and allows the user to change those fonts for those areas.
TFontChooserPane(String[]) - Constructor for class edu.princeton.toy.choosers.TFontChooserPane
Creates a new TFontChooserPane.
TFrame - Class in edu.princeton.toy
 
TFrame() - Constructor for class edu.princeton.toy.TFrame
 
TFrame(TProgramDocument) - Constructor for class edu.princeton.toy.TFrame
 
TFrame(TProgramDocument, File) - Constructor for class edu.princeton.toy.TFrame
 
TFrame.Runner - Class in edu.princeton.toy
Runner is the implementation of Runnable which updates the warnings of all TFrames (if the program had changed since the last syntax check).
TFrame.Runner() - Constructor for class edu.princeton.toy.TFrame.Runner
 
TFrame.TFrameAction - Class in edu.princeton.toy
TFrameAction is a generalizable action for the TFrame; basically, it relays all ActionEvents to the doCommand() method.
TFrame.TFrameAction(String, Icon, int, KeyStroke, String) - Constructor for class edu.princeton.toy.TFrame.TFrameAction
Creates a new TFrameAction.
TFrame.TFrameAction(String, Icon, int, KeyStroke, String, Object) - Constructor for class edu.princeton.toy.TFrame.TFrameAction
Creates a new TFrameAction.
TFrame.WorkspaceMenuItem - Class in edu.princeton.toy
TWorkspaceMenuItem is a simple subclass of JRadioButtonMenuItem which keeps an index property.
TFrame.WorkspaceMenuItem(int) - Constructor for class edu.princeton.toy.TFrame.WorkspaceMenuItem
Constructs a new WorkspaceMenuItem.
TImageManager - Class in edu.princeton.toy
TImageManager is a class that manages the jpeg and gif files which Visual X-TOY uses.
TITLE_ROWS - Static variable in class edu.princeton.toy.TExampleDialog
The number of rows titles which will be shown by the title selection.
TMain - Class in edu.princeton.toy
TMain is the class which contains the main function for the X-TOY application.
toBinaryString(boolean) - Method in class edu.princeton.toy.lang.TWord
Returns the binary representation of this TWord.
toDecimalString(boolean) - Method in class edu.princeton.toy.lang.TWord
Returns the decimal representation of this TWord.
toFormattedBinaryString(boolean) - Method in class edu.princeton.toy.lang.TWord
Returns the formatted binary representation of this TWord in which every four bits are separated by a space.
toHexString(boolean) - Method in class edu.princeton.toy.lang.TWord
Returns the hexidecimal representation of this TWord.
TOOLKIT - Static variable in class edu.princeton.swing.PSwingUtilities
An instance of the default toolkit.
toPseudoCodeString(boolean) - Method in class edu.princeton.toy.lang.TWord
Returns the pseudo-code form of the TWord.
TOptionsFrame - Class in edu.princeton.toy
 
TOptionsFrame.FileHistoryAction - Class in edu.princeton.toy
FileHistoryAction is an action for opening a file that had been opened in the past.
TOptionsFrame.FileHistoryAction(int) - Constructor for class edu.princeton.toy.TOptionsFrame.FileHistoryAction
Creates a new FileHistoryAction.
TOptionsFrame.IntStruct - Class in edu.princeton.toy
IntStruct is a simple structure that encapsulates an integer.
TOptionsFrame.IntStruct() - Constructor for class edu.princeton.toy.TOptionsFrame.IntStruct
Instantiates a new IntStruct.
TOptionsFrame.IntStruct(TOptionsFrame.IntStruct) - Constructor for class edu.princeton.toy.TOptionsFrame.IntStruct
Instantiates a new IntStruct.
TOptionsFrame.IntStruct(int) - Constructor for class edu.princeton.toy.TOptionsFrame.IntStruct
Instantiates a new IntStruct.
TOptionsFrame.OptionsAction - Class in edu.princeton.toy
OptionsAction is an action for showing the TOptionFrame instance.
TOptionsFrame.OptionsAction() - Constructor for class edu.princeton.toy.TOptionsFrame.OptionsAction
Creates a new OptionsAction.
TOptionsFrame.ShutdownHook - Class in edu.princeton.toy
ShutdownHook implements Runnable to store the TOptionsFrame's parameters upon exit.
TOptionsFrame.ShutdownHook() - Constructor for class edu.princeton.toy.TOptionsFrame.ShutdownHook
Creates a new ShutdownHook.
toString() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Returns a string describing the edit.
toString() - Method in class edu.princeton.swing.text.HighlightStyle
Encodes the HighlightStyle in a format that can be read by parseStyle().
toString() - Method in class edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCell
Override toString to provide a cleaner string for clipboard ops performed on the tree.
toString() - Method in class edu.princeton.toy.lang.TExceptionType
Returns the name of this TExceptionType.
toString() - Method in class edu.princeton.toy.lang.TWord
Returns the detailed representation of this TWord.
toString(boolean) - Method in class edu.princeton.toy.lang.TWord
Returns the detailed representation of this TWord.
toString() - Method in class edu.princeton.toy.TOptionsFrame.IntStruct
Override toString to output the value of the IntStruct.
TPerformanceChooserPane - Class in edu.princeton.toy.choosers
TPerformanceChooserPane manages
TPerformanceChooserPane(int[], int[]) - Constructor for class edu.princeton.toy.choosers.TPerformanceChooserPane
Creates a new TPerformanceChooserPane which can only take the specified values for clock period and refresh rate.
TProgramDocument - Class in edu.princeton.toy
TProgramDocument is a class which encapsulates the information associated with a toy program.
TProgramDocument() - Constructor for class edu.princeton.toy.TProgramDocument
Constructs a TProgramDocument with a template program.
TProgramDocument(String) - Constructor for class edu.princeton.toy.TProgramDocument
Constructs a TProgramDocument with the given program.
TProgramDocument.WarningInfoStruct - Class in edu.princeton.toy
WarningInfoStruct is a simple class which encapsulates all of the info that getWarnings() has to return.
TProgramDocument.WarningInfoStruct() - Constructor for class edu.princeton.toy.TProgramDocument.WarningInfoStruct
Creates a new WarningInfoStruct.
TRACKING_POLICY_ALWAYS - Static variable in class edu.princeton.swing.PScrollablePanel
The tracking policy whereby this PScrollablePanel will never track JViewport's width/height.
TRACKING_POLICY_IF_WILL_EXPAND - Static variable in class edu.princeton.swing.PScrollablePanel
The tracking policy whereby this PScrollablePanel will track JViewport's width/height only if will cause the panel to expand.
TRACKING_POLICY_NEVER - Static variable in class edu.princeton.swing.PScrollablePanel
The tracking policy whereby this PScrollablePanel will always track JViewport's width/height.
TReferencePane - Class in edu.princeton.toy
TReferencePane is a convenient subclass of JPanel which provides reference information regarding the TOY language.
TReferencePane() - Constructor for class edu.princeton.toy.TReferencePane
Constructs a new TReferencePane.
TResourceLoader - Class in edu.princeton.toy
TResourceLoader is a convenient library of functions which allow the other classes to easily access resources from within the JAR file.
TResourceLoader() - Constructor for class edu.princeton.toy.TResourceLoader
 
trimEdits(int, int) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
trimForLimit() - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
TristateButtonModel - Interface in edu.princeton.swing
TristateButtonModel extends ButtonModel to provide a third state (for components which can render it).
TSecurityManager - Class in edu.princeton.toy
TSecurityManager is a simple subclass of SecurityManager which allows all actions.
TSecurityManager() - Constructor for class edu.princeton.toy.TSecurityManager
Construct a TSecurityManager.
TSimDetailPane - Class in edu.princeton.toy
TSimDetailPane is a JPanel which shows the details (in human readable terms) of what the TSimMachinePane displays.
TSimDetailPane(TVirtualMachine, TSimMachinePane) - Constructor for class edu.princeton.toy.TSimDetailPane
Creates a new TSimDetailPane.
TSimDetailPane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimDetailPane.Listener() - Constructor for class edu.princeton.toy.TSimDetailPane.Listener
 
TSimMachinePane - Class in edu.princeton.toy
TSimMachinePane is a JPanel which acts the interface between the TVirtualMachine and the user when Visual X-TOY is in Sim mode.
TSimMachinePane(TVirtualMachine, Action, Action, Action, Action, Action, Action, Action) - Constructor for class edu.princeton.toy.TSimMachinePane
Creates a new TSimMachinePane.
TSimMachinePane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimMachinePane.Listener() - Constructor for class edu.princeton.toy.TSimMachinePane.Listener
 
TSimMachinePane.Runner - Class in edu.princeton.toy
Runner is a simple implementation of Runnable for the Thread started when the component's size changes.
TSimMachinePane.Runner() - Constructor for class edu.princeton.toy.TSimMachinePane.Runner
 
TSimMemPane - Class in edu.princeton.toy
TSimMemPane is a Scrollable component which displays the memory of a virtualMachine in sim mode.
TSimMemPane(TVirtualMachine) - Constructor for class edu.princeton.toy.TSimMemPane
Creates a new TSimMemPane.
TSimMemPane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimMemPane.Listener() - Constructor for class edu.princeton.toy.TSimMemPane.Listener
 
TSimStdin2Pane - Class in edu.princeton.toy
TSimStdin2Pane is a variant of TSimStdinPane which displays its data in the form of a set of punchcards.
TSimStdin2Pane(TVirtualMachine) - Constructor for class edu.princeton.toy.TSimStdin2Pane
Creates a new TSimStdin2Pane.
TSimStdin2Pane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimStdin2Pane.Listener() - Constructor for class edu.princeton.toy.TSimStdin2Pane.Listener
 
TSimStdin2Pane.Runner - Class in edu.princeton.toy
Runner is a simple implementation of Runnable for the Thread started when the component's size changes.
TSimStdin2Pane.Runner() - Constructor for class edu.princeton.toy.TSimStdin2Pane.Runner
 
TSimStdinPane - Class in edu.princeton.toy
TSimStdinPane is a Scrollable component which displays the stdin stream of a virtualMachine in sim mode.
TSimStdinPane(TVirtualMachine) - Constructor for class edu.princeton.toy.TSimStdinPane
Creates a new TSimStdinPane.
TSimStdinPane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimStdinPane.Listener() - Constructor for class edu.princeton.toy.TSimStdinPane.Listener
 
TSimStdout2Pane - Class in edu.princeton.toy
TSimStdout2Pane is a variant of TSimStdoutPane which displays its data in the form of a set of punchcards.
TSimStdout2Pane(TVirtualMachine) - Constructor for class edu.princeton.toy.TSimStdout2Pane
Creates a new TSimStdout2Pane.
TSimStdout2Pane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimStdout2Pane.Listener() - Constructor for class edu.princeton.toy.TSimStdout2Pane.Listener
 
TSimStdout2Pane.Runner - Class in edu.princeton.toy
Runner is a simple implementation of Runnable for the Thread started when the component's size changes.
TSimStdout2Pane.Runner() - Constructor for class edu.princeton.toy.TSimStdout2Pane.Runner
 
TSimStdoutPane - Class in edu.princeton.toy
TSimStdoutPane is a Scrollable component which displays the stdin stream of a virtualMachine in sim mode.
TSimStdoutPane(TVirtualMachine) - Constructor for class edu.princeton.toy.TSimStdoutPane
Creates a new TSimStdoutPane.
TSimStdoutPane.Listener - Class in edu.princeton.toy
The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.
TSimStdoutPane.Listener() - Constructor for class edu.princeton.toy.TSimStdoutPane.Listener
 
TSplashWindow - Class in edu.princeton.toy
TSplashWindow is the splash window which pops up at startup.
TSplashWindow() - Constructor for class edu.princeton.toy.TSplashWindow
Constructs a TSplashWindow, centered in the screen.
TStdinPane - Class in edu.princeton.toy
TStdinPane is a JPanel which acts as an editor for the stdin of a TVirtualMachine.
TStdinPane(TVirtualMachine, Action, Action, boolean) - Constructor for class edu.princeton.toy.TStdinPane
Creates a new TStdinPane.
TStdinPane.Listener - Class in edu.princeton.toy
The Listener of a TStdoutPane pays attention to the changes in the virtualMachine and updates the components, it also stops the stdin text field from blinking if the user clicks on it and listens to action events from JButtons and PTextFields.
TStdinPane.Listener() - Constructor for class edu.princeton.toy.TStdinPane.Listener
 
TStdinPane.ListModel - Class in edu.princeton.toy
A customized implementation of ListModel meant specifically for displaying stdin.
TStdinPane.ListModel() - Constructor for class edu.princeton.toy.TStdinPane.ListModel
Constructs a new ListModel.
TStdinPane.Runner - Class in edu.princeton.toy
The Runner of a TStdin blinks the inputField when the Virtual machine needs input.
TStdinPane.Runner() - Constructor for class edu.princeton.toy.TStdinPane.Runner
Creates a new Runner.
TStdoutPane - Class in edu.princeton.toy
TStdoutPane is a JPanel which acts as an editor for the stdin of a TVirtualMachine.
TStdoutPane(TVirtualMachine, Action) - Constructor for class edu.princeton.toy.TStdoutPane
Creates a new TStdoutPane.
TStdoutPane.Listener - Class in edu.princeton.toy
The Listener of a TStdoutPane pays attention to the changes in the virtualMachine and updates the components, it also stops the stderr text area from blinking if the user clicks on it and listens to action events from hyperlinks.
TStdoutPane.Listener() - Constructor for class edu.princeton.toy.TStdoutPane.Listener
 
TStdoutPane.ListModel - Class in edu.princeton.toy
A customized implementation of ListModel meant specifically for displaying stdin.
TStdoutPane.ListModel() - Constructor for class edu.princeton.toy.TStdoutPane.ListModel
Constructs a new ListModel.
TStdoutPane.Runner - Class in edu.princeton.toy
The Runner of a TStdoutPane blinks the stderrTextArea when an error occurs.
TStdoutPane.Runner() - Constructor for class edu.princeton.toy.TStdoutPane.Runner
Creates a new Runner.
TStyleChooserPane - Class in edu.princeton.toy.choosers
TStyleChooserPane manages a set of styles for various indices and allows the user to change the colors for those indices.
TStyleChooserPane(String[]) - Constructor for class edu.princeton.toy.choosers.TStyleChooserPane
Creates a new TStyleChooserPane.
TUncommentingAutoCompleter - Class in edu.princeton.toy
TUncommentingAutoCompleter is an subclass of IndentingAutoCompleter which will also automatically remove an entire autocomment when the user deletes the first or last character of it via the delete key or backspace key, respectively.
TUncommentingAutoCompleter() - Constructor for class edu.princeton.toy.TUncommentingAutoCompleter
 
TVirtualMachine - Class in edu.princeton.toy.lang
TVirtualMachine is an object that encapsulates the concept of the Toy Machine.
TVirtualMachine() - Constructor for class edu.princeton.toy.lang.TVirtualMachine
Constructs a completely blank TVirtualMachine.
TVirtualMachine.ExecutionController - Interface in edu.princeton.toy.lang
ExecutionController is an interface that classes which wish to recieve notifications of a ToyVirtualMachine's termination should implement.
TVirtualMachine.Runner - Class in edu.princeton.toy.lang
Runner is a simple implementation of Runnable for the Thread stated by the run() method of the TVM.
TVirtualMachine.Runner() - Constructor for class edu.princeton.toy.lang.TVirtualMachine.Runner
 
TWord - Class in edu.princeton.toy.lang
TWord is the primitive value which toy registers and memory can take.
TWordBuffer - Class in edu.princeton.toy.lang
TWordBuffer is essentially a vector for TWords.
TWordBuffer() - Constructor for class edu.princeton.toy.lang.TWordBuffer
Constructs a new buffer with an initial capacity of 50.
TWordBuffer(int) - Constructor for class edu.princeton.toy.lang.TWordBuffer
Constructs a new buffer with the given initial capacity.
TYPES - Static variable in class edu.princeton.toy.lang.TExceptionType
An array of all the TExceptionTypes, in order of hash-code.

U

undo() - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
undo() - Method in class edu.princeton.swing.text.HighlightedDocument.UndoableEdit
Undoes this edit.
UNDO_ICON - Static variable in class edu.princeton.swing.ActionedUndoManager
The undo icon.
UNDO_ICON_BYTES - Static variable in class edu.princeton.swing.ActionedUndoManager
The bytes for the undo icon.
undoableEditHappened(UndoableEditEvent) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
undoOrRedo() - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
undoTo(UndoableEdit) - Method in class edu.princeton.swing.ActionedUndoManager
Intercept all calls that could affect the undo/redo action states.
UNINITIALIZED_FAMILY - Static variable in class edu.princeton.toy.lang.TExceptionType
The identifier of the the family of uninitialized TExceptionTypes.
UNINITIALIZED_VALUE - Static variable in class edu.princeton.toy.lang.TWord
The uninitialized value is identical to getWord(0) with the following exceptions: The isInitialized() method returns false in UNINITIALIZED_VALUE but not in getWord(0).
unparsedEntityDecl(String, String, String, String) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
unregisterComponent(Component, int) - Static method in class edu.princeton.toy.TOptionsFrame
Unregisters a component which previously received font assignments for a particular area.
unregisterHighlightedTextArea(PHighlightedTextArea) - Static method in class edu.princeton.toy.TOptionsFrame
Unregisters a component which previously received non-font assignments.
UNSCALED_IMAGE_PATHS - Static variable in class edu.princeton.toy.TImageManager
The paths to all the unscaled images, relative to the root of the jar file.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TAutoCompleteChooserPane
The command doesn't do anything at present.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TCheckingChooserPane
The command doesn't do anything at present.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TColorChooserPane
The command that causes the TColorChooserPane to update its components with the internal data.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TExceptionChooserPane
The command that causes the TExceptionChooserPane to update its TristateButtonModels due to a change in one of those models.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TFontChooserPane
The command that causes the TFontChooserPane to update its components with the internal data.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TPerformanceChooserPane
The command that causes the TPerformanceChooserPane to update the JTextFields in response to a change in the slider positions.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.choosers.TStyleChooserPane
The command that causes the TStyleChooserPane to update its components with the internal data.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TCorePane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TExampleDialog
 
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimDetailPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimMachinePane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimMemPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimStdin2Pane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimStdinPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimStdout2Pane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TSimStdoutPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TStdinPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
UPDATE_COMMAND - Static variable in class edu.princeton.toy.TStdoutPane
The command to update the contents of the inputList with the stdin stream of the virtualMachine.
utilReplace(int, int, StringBuffer, int, int[], boolean) - Method in class edu.princeton.swing.text.HighlightedDocument
 

V

value - Variable in class edu.princeton.toy.TOptionsFrame.IntStruct
 
valueChanged(ListSelectionEvent) - Method in class edu.princeton.toy.choosers.TColorChooserPane
Implement ListSelectionListener to pay attention to changes in the colorList.
valueChanged(TreeSelectionEvent) - Method in class edu.princeton.toy.choosers.TExceptionChooserPane
Implement TreeSelectionListener to listen to changes in the tree's selection.
valueChanged(ListSelectionEvent) - Method in class edu.princeton.toy.choosers.TFontChooserPane
Implement ListSelectionListener to pay attention to changes in the fontList, styleList, and sizeList.
valueChanged(ListSelectionEvent) - Method in class edu.princeton.toy.choosers.TStyleChooserPane
Implement ListSelectionListener to pay attention to changes in the styleList.
valueChanged(ListSelectionEvent) - Method in class edu.princeton.toy.TExampleDialog
Implement ListSelectionListener to pass an update command onto doCommand().
valueChanged(ListSelectionEvent) - Method in class edu.princeton.toy.TFrame
Implement ListSelectionListener to update the editTextArea selection when the list's selection changes.
valueChanged(TreeSelectionEvent) - Method in class edu.princeton.toy.TOptionsFrame
Implement TreeSelectionListener to update the cardPanel's selection when the tree's selection changes.
viewToModel(Point) - Method in class edu.princeton.swing.PHighlightedTextArea
Converts an actual pixel coordinate in the PHighlightedTextArea to a (column, line) coordinate in the text.
viewToModel(int, int) - Method in class edu.princeton.swing.PHighlightedTextArea
Converts an actual pixel coordinate in the PHighlightedTextArea to a (column, line) coordinate in the text.

W

warning(SAXParseException) - Method in class edu.princeton.toy.TConfigurationManager
Overriding DefaultHandler's methods.
WARNING_AREA_INDEX - Static variable in class edu.princeton.toy.TOptionsFrame
 
warningCount - Variable in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
 
warnings - Variable in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
 
warningsEqual(TProgramDocument.WarningInfoStruct) - Method in class edu.princeton.toy.TProgramDocument.WarningInfoStruct
Returns wheter or not this WarningInfoStruct conveys the same information as another (except possibly selectionStart and selectionEnd).
WIDTH - Static variable in class edu.princeton.toy.TOptionsFrame
 
WORKSPACE_COMMAND - Static variable in class edu.princeton.toy.TFrame
 
writeLock() - Method in class edu.princeton.swing.text.HighlightedDocument
Obtains a write-lock for this HighlightedDocument.
writeUnlock() - Method in class edu.princeton.swing.text.HighlightedDocument
Releases the write-lock for this HighlightedDocument.

X

xor(TWord, TWord, TExceptionHandler) - Static method in class edu.princeton.toy.lang.TWord
Implements the bitwise-xor operator for the TWord type.

Z

ZERO - Static variable in class edu.princeton.toy.lang.TWord
A constant for getWord((short)0).
A B C D E F G H I L M N O P Q R S T U V W X Z