- AbstractConsoleProgram - Class in acm.program
-
- AbstractConsoleProgram() - Constructor for class acm.program.AbstractConsoleProgram
-
- AbstractMultimap<K,V> - Class in stanford.cs106.collections
-
- AbstractMultimap() - Constructor for class stanford.cs106.collections.AbstractMultimap
-
- AbstractMultimap(boolean) - Constructor for class stanford.cs106.collections.AbstractMultimap
-
- AbstractTable<R,C,V> - Class in stanford.cs106.collections
-
- AbstractTable() - Constructor for class stanford.cs106.collections.AbstractTable
-
- accept(File) - Method in class acm.util.FileChooserFilter
-
- accept(File) - Method in class stanford.cs106.io.ExtensionFileFilter
-
- accept(File) - Method in class stanford.cs106.reflect.ClassUtils.ExtensionFilter
-
- Accidental - Enum in stanford.cs106.audio
-
An Accidental represents a musical accidental: sharp, flat, or natural.
- acm.graphics - package acm.graphics
-
- acm.gui - package acm.gui
-
- acm.io - package acm.io
-
- acm.program - package acm.program
-
This package provides a set of classes that simplify the creation of programs.
- acm.util - package acm.util
-
- ACTION_NAME - Static variable in class acm.gui.JFontChooser.DialogCancelAction
-
- ACTION_NAME - Static variable in class acm.gui.JFontChooser.DialogOKAction
-
- actionPerformed(ActionEvent) - Method in class acm.gui.JFontChooser.DialogCancelAction
-
- actionPerformed(ActionEvent) - Method in class acm.gui.JFontChooser.DialogOKAction
-
- actionPerformed(ActionEvent) - Method in class acm.gui.JListOptionPane
-
- actionPerformed(ActionEvent) - Method in class acm.program.CommandLineProgram
-
Called when a component (typically a button) is activated.
- actionPerformed(ActionEvent) - Method in class acm.program.Program
-
Called when a component (typically a button) is activated.
- actionPerformed(ActionEvent) - Method in class stanford.karel.KarelControlPanel
-
- add(Component) - Method in class acm.graphics.GCanvas
-
Adds the component to this canvas without changing its location.
- add(Component, double, double) - Method in class acm.graphics.GCanvas
-
Adds the component to this canvas and sets its location
to the point (x
, y
).
- add(Component, GPoint) - Method in class acm.graphics.GCanvas
-
Adds the component to this canvas and sets its location to the specified point.
- add(GObject) - Method in class acm.graphics.GCanvas
-
Adds the graphical object to this canvas.
- add(GObject, double, double) - Method in class acm.graphics.GCanvas
-
Adds the graphical object to this canvas and sets its location
to the point (x
, y
).
- add(GObject, GPoint) - Method in class acm.graphics.GCanvas
-
Adds the graphical object to this canvas and sets its location to the specified point.
- add(GObject) - Method in interface acm.graphics.GCanvasInterface
-
- add(GObject, double, double) - Method in interface acm.graphics.GCanvasInterface
-
- add(GObject, GPoint) - Method in interface acm.graphics.GCanvasInterface
-
- add(Component, double, double) - Method in interface acm.graphics.GCanvasInterface
-
- add(Component, GPoint) - Method in interface acm.graphics.GCanvasInterface
-
- add(GObject) - Method in class acm.graphics.GCompound
-
Adds a new graphical object to this GCompound
.
- add(GObject, double, double) - Method in class acm.graphics.GCompound
-
Adds the graphical object to this canvas and sets its location
to the point (x
, y
).
- add(GObject, GPoint) - Method in class acm.graphics.GCompound
-
Adds the graphical object to this canvas and sets its location to the specified point.
- add(GObject) - Method in interface acm.graphics.GContainer
-
Adds a new graphical object to this container.
- add(GObject, double, double) - Method in interface acm.graphics.GContainer
-
Adds the graphical object to this canvas and sets its location
to the point (x
, y
).
- add(GObject, GPoint) - Method in interface acm.graphics.GContainer
-
Adds the graphical object to this canvas and sets its location to the specified point.
- add(double, double) - Method in class acm.graphics.GLineGroup
-
Adds a point with the given coordinates to this line group.
- add(GPoint) - Method in class acm.graphics.GLineGroup
-
Adds the given point to this line group.
- add(GRectangle) - Method in class acm.graphics.GRectangle
-
Adjusts the bounds of the current GRectangle
so that it contains
the rectangle represented by the argument.
- add(double, double) - Method in class acm.graphics.GRectangle
-
Adds the specified point to the rectangle.
- add(Component) - Method in class acm.gui.JButtonGroup
-
- add(Component, int) - Method in class acm.gui.JButtonGroup
-
- add(String, Component) - Method in class acm.gui.JButtonGroup
-
- add(JRadioButton) - Method in class acm.gui.JButtonGroup
-
- add(String) - Method in class acm.gui.JButtonGroup
-
- add(Component, String, Object) - Method in class acm.program.CommandLineProgram
-
Adds the component to the specified border region with the indicated
constraints object.
- add(GObject) - Method in class acm.program.GraphicsProgram
-
Adds a new graphical object to this container.
- add(GObject, double, double) - Method in class acm.program.GraphicsProgram
-
Adds the graphical object to the canvas and sets its location to the
point (x
, y
).
- add(GObject, GPoint) - Method in class acm.program.GraphicsProgram
-
Adds the graphical object to the canvas and sets its location to the
specified point.
- add(Component, double, double) - Method in class acm.program.GraphicsProgram
-
Adds the component to the canvas and sets its location to the point (
x
, y
).
- add(Component, GPoint) - Method in class acm.program.GraphicsProgram
-
Adds the component to the canvas and sets its location to the specified
point.
- add(GObject) - Method in class acm.program.HeadlessGraphicsProgram
-
- add(GObject, double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- add(GObject, GPoint) - Method in class acm.program.HeadlessGraphicsProgram
-
- add(Component, double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- add(Component, GPoint) - Method in class acm.program.HeadlessGraphicsProgram
-
- add(Component, String, Object) - Method in class acm.program.Program
-
Adds the component to the specified border region with the indicated
constraints object.
- add(String) - Method in class stanford.cs106.collections.Lexicon
-
- add(Window) - Static method in class stanford.cs106.gui.WindowCloseKeyListener
-
- add(Observer) - Method in class stanford.karel.Event
-
- add(Karel) - Method in class stanford.karel.KarelProgram
-
- add(KarelInterface, int, int, int, int) - Method in class stanford.karel.KarelProgram
-
- add(KarelInterface) - Method in class stanford.karel.KarelWorld
-
- addActionListener(ActionListener) - Method in class acm.graphics.GObject
-
Adds an action listener to this graphical object.
- addActionListener(ActionListener) - Method in class acm.gui.JButtonGroup
-
- addActionListener(ActionListener) - Method in class acm.gui.JStringList
-
Attaches the given listener to this list of strings so that it will be
notified when the user clicks on items in the list.
- addActionListeners() - Method in class acm.program.CommandLineProgram
-
Adds the program as an ActionListener
to every button in
the structure that does not have a listener already.
- addActionListeners(ActionListener) - Method in class acm.program.CommandLineProgram
-
Adds the specified listener to every button in
the structure that does not have a listener already.
- addActionListeners() - Method in class acm.program.Program
-
Adds the program as an ActionListener
to every button in
the structure that does not have a listener already.
- addActionListeners(ActionListener) - Method in class acm.program.Program
-
Adds the specified listener to every button in
the structure that does not have a listener already.
- addActionListenersToButtonsOnly() - Method in class acm.program.Program
-
Adds the program as an ActionListener
to every button in
the structure that does not have a listener already.
- addAll(ActionListener, String...) - Method in class acm.gui.JButtonGroup
-
- addAllActionListeners() - Method in class acm.program.Program
-
Adds the program as an ActionListener
to every button or component in
the structure that does not have a listener already.
- addAudioEventListener(StdAudio.AudioEventListener) - Static method in class stanford.cs106.audio.StdAudio
-
- addConsoleOptionsMenu() - Method in class acm.program.ProgramMenuBar
-
Installs the Options
menu for console programs.
- addDelimiter(String) - Method in class stanford.cs106.gui.JComboGroupBox
-
- addEdge(String, String) - Method in class stanford.cs106.collections.BasicGraph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(String, String, double) - Method in class stanford.cs106.collections.BasicGraph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(Vertex<V>, Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(Vertex<V>, Vertex<V>, double) - Method in class stanford.cs106.collections.BasicGraph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(String, String) - Method in interface stanford.cs106.collections.Graph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(Vertex<V>, Vertex<V>) - Method in interface stanford.cs106.collections.Graph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(String, String, double) - Method in interface stanford.cs106.collections.Graph
-
Adds an edge between the given two vertices, if none already exists.
- addEdge(Vertex<V>, Vertex<V>, double) - Method in interface stanford.cs106.collections.Graph
-
Adds an edge between the given two vertices, if none already exists.
- addEditMenu() - Method in class acm.program.ProgramMenuBar
-
Installs the Edit
menu.
- addEditMenuItems(JMenu) - Method in class acm.program.ProgramMenuBar
-
Adds the standard Edit
items to the specified menu.
- addExitHook(Object) - Method in class acm.program.CommandLineProgram
-
Requests that the program call the exit
method in the
specified object before exiting.
- addExitHook(Object) - Method in class acm.program.Program
-
Requests that the program call the exit
method in the
specified object before exiting.
- addFileMenu() - Method in class acm.program.ProgramMenuBar
-
Installs the File
menu.
- addFileMenuItems(JMenu) - Method in class acm.program.ProgramMenuBar
-
Adds the standard File
items to the specified menu.
- addGraphicsOptionsMenu() - Method in class acm.program.ProgramMenuBar
-
Installs the Options
menu for graphics programs.
- addHelpMenu() - Method in class acm.program.ProgramMenuBar
-
- addImpl(Component, Object, int) - Method in class acm.program.CommandLineProgram
-
Adds the specified component to the content pane using the specified constraints and index.
- addImpl(Component, Object, int) - Method in class acm.program.Program
-
Adds the specified component to the content pane using the specified constraints and index.
- addItem(String) - Method in class acm.gui.JStringList
-
Appends the given string to the end of this list, using the default black color.
- addItem(String, Color) - Method in class acm.gui.JStringList
-
Appends the given string to the end of this list, using the given color.
- addItem(String) - Method in class stanford.cs106.gui.JComboGroupBox
-
- addItems(String[]) - Method in class acm.gui.JStringList
-
Adds all of the items from the given array to this list, in black.
- addItems(String[], Color[]) - Method in class acm.gui.JStringList
-
Adds all of the items from the given array to this list, in the given colors.
- addKarelOptionsMenu() - Method in class acm.program.ProgramMenuBar
-
Installs the Options
menu for Karel programs.
- addKeyListenerRecursive(Component, KeyListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- addKeyListeners() - Method in class acm.program.GraphicsProgram
-
Adds the program as a KeyListener
to the canvas.
- addKeyListeners(KeyListener) - Method in class acm.program.GraphicsProgram
-
Adds the specified listener as a KeyListener
to the canvas.
- addKeyListeners() - Method in interface acm.program.GraphicsProgramInterface
-
- addKeyListeners(KeyListener) - Method in interface acm.program.GraphicsProgramInterface
-
- addKeyListeners() - Method in class acm.program.HeadlessGraphicsProgram
-
- addKeyListeners(KeyListener) - Method in class acm.program.HeadlessGraphicsProgram
-
- addLayoutComponent(String, Component) - Method in class acm.gui.TableLayout
-
Adds a component to the layout.
- addLayoutComponent(Component, Object) - Method in class acm.gui.TableLayout
-
Adds a component to the layout.
- addMenus() - Method in class acm.program.ProgramMenuBar
-
Adds menus to the menu bar.
- addMouseListener(MouseListener) - Method in class acm.graphics.GObject
-
Adds a mouse listener to this graphical object.
- addMouseListeners() - Method in class acm.program.GraphicsProgram
-
Adds the program as both a MouseListener
and
MouseMotionListener
to the canvas.
- addMouseListeners(EventListener) - Method in class acm.program.GraphicsProgram
-
Adds the specified listener as a MouseListener
and/or
MouseMotionListener
, as appropriate, to the canvas.
- addMouseListeners() - Method in interface acm.program.GraphicsProgramInterface
-
- addMouseListeners(EventListener) - Method in interface acm.program.GraphicsProgramInterface
-
- addMouseListeners() - Method in class acm.program.HeadlessGraphicsProgram
-
- addMouseListeners(EventListener) - Method in class acm.program.HeadlessGraphicsProgram
-
- addMouseMotionListener(MouseMotionListener) - Method in class acm.graphics.GObject
-
Adds a mouse motion listener to this graphical object.
- addParam(String) - Method in class stanford.cs106.net.Request
-
Adds a new query parameter with the given name and an empty value.
- addParam(String, String) - Method in class stanford.cs106.net.Request
-
Adds a new query parameter with the given name and value.
- addParams(String...) - Method in class stanford.cs106.net.Request
-
Adds new query parameters with the given name/value pairs,
passed as a var-args array in the order K1, V1, K2, V2, etc.
- addRaw(String, String) - Method in class stanford.cs106.net.Request
-
Adds a new query parameter with the given name and value.
- addResizeListener(Program) - Static method in class stanford.cs106.gui.GuiUtils
-
Sets up the given program so that its componentResized method will be
called whenever the window resizes.
- addSampleData(int) - Method in class acm.util.SoundClip
-
Adds a single sound sample to the end of the sound.
- addSampleData(int, int) - Method in class acm.util.SoundClip
-
Adds the specified samples to the end of the appropriate channels of
the stereo sound.
- addSampleData(int[]) - Method in class acm.util.SoundClip
-
Adds the specified samples to the end of the sound.
- addSampleData(int[], int[]) - Method in class acm.util.SoundClip
-
Adds the specified samples to the end of the appropriate channels of
the stereo sound.
- addVertex(String) - Method in class stanford.cs106.collections.BasicGraph
-
Adds the given element as a vertex in this graph.
- addVertex(String) - Method in interface stanford.cs106.collections.Graph
-
Adds the given element as a vertex in this graph.
- addWordsFrom(InputStream) - Method in class stanford.cs106.collections.Lexicon
-
- addWordsFrom(Reader) - Method in class stanford.cs106.collections.Lexicon
-
- addWordsFrom(Scanner) - Method in class stanford.cs106.collections.Lexicon
-
- addWordsFromFile(File) - Method in class stanford.cs106.collections.Lexicon
-
- addWordsFromFile(String) - Method in class stanford.cs106.collections.Lexicon
-
- adjacentPoint(Point, int) - Static method in class stanford.karel.KarelWorld
-
- adjacentPoint(int, int, int) - Static method in class stanford.karel.KarelWorld
-
- adjustBeepers(int, int) - Static method in class stanford.karel.KarelWorld
-
- adjustmentValueChanged(AdjustmentEvent) - Method in class acm.program.Program
-
Required empty method of AdjustmentListener interface.
- adjustmentValueChanged(AdjustmentEvent) - Method in class stanford.karel.KarelControlPanel
-
- alert(Object) - Method in class acm.program.Program
-
Pops up a dialog box displaying a string representation of the given message.
- alert(String) - Method in class acm.program.Program
-
Pops up a dialog box displaying the given message.
- ALT_F4 - Variable in class acm.program.ProgramMenuBar
-
- angle(double, double) - Static method in class acm.graphics.GMath
-
Returns the angle in degrees from the origin to the point (x
, y
).
- angle(double, double, double, double) - Static method in class acm.graphics.GMath
-
Computes the angle in degrees formed by a line segment from the point (
x0
, y0
) and (x1
,
y1
).
- animation() - Method in class acm.program.Program
-
Override this method to indicate what to do on every frame advance
in an animated program after setAnimated(true) is called.
- appendSpace(String) - Method in class acm.io.IOConsole
-
- areMouseListenersEnabled() - Method in class acm.graphics.GCompound
-
Returns true
if mouse listeners have ever been assigned to
this object or to any of the contained objects.
- areMouseListenersEnabled() - Method in class acm.graphics.GObject
-
Returns true
if mouse listeners have ever been assigned to
this object.
- AsciiArtProgram - Class in acm.program
-
...
- AsciiArtProgram() - Constructor for class acm.program.AsciiArtProgram
-
- asList(T...) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the elements passed into a list.
- asList(Enumeration<T>) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the elements found in the given Enumeration into a list.
- asList(Iterator<T>) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the elements found in the given Iterator into a list.
- asMap(K[], V[]) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given pair of arrays into a map that maps each keys[i] to
the corresponding values[i].
- asMap(List<K>, List<V>) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given pair of lists into a map that maps each keys[i] to
the corresponding values[i].
- asMapSorted(K[], V[]) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given pair of arrays into a sorted map that maps each
keys[i] to the corresponding values[i].
- asMapSorted(List<K>, List<V>) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given pair of arrays into a map that maps each keys[i] to
the corresponding values[i].
- Assert - Class in stanford.cs106.junit
-
- assertDiff(String, String, String) - Static method in class stanford.cs106.junit.Assert
-
- assertDiff(String, String, String, int) - Static method in class stanford.cs106.junit.Assert
-
- assertEquals(String, String, String) - Static method in class stanford.cs106.junit.Assert
-
- assertEquals(String, Object, Object) - Static method in class stanford.cs106.junit.Assert
-
- assertEquals(String, int, int) - Static method in class stanford.cs106.junit.Assert
-
- assertEquals(String, boolean, boolean) - Static method in class stanford.cs106.junit.Assert
-
- assertEquals(String, char, char) - Static method in class stanford.cs106.junit.Assert
-
- assertEquals(String, double, double, double) - Static method in class stanford.cs106.junit.Assert
-
- assertFalse(String, boolean) - Static method in class stanford.cs106.junit.Assert
-
- assertNotNull(String, Object) - Static method in class stanford.cs106.junit.Assert
-
- assertNotSame(String, int, int) - Static method in class stanford.cs106.junit.Assert
-
- assertNotSame(String, double, double) - Static method in class stanford.cs106.junit.Assert
-
- assertNotSame(String, double, double, double) - Static method in class stanford.cs106.junit.Assert
-
- assertNotSame(String, boolean, boolean) - Static method in class stanford.cs106.junit.Assert
-
- assertNotSame(String, char, char) - Static method in class stanford.cs106.junit.Assert
-
- assertNull(String, Object) - Static method in class stanford.cs106.junit.Assert
-
- assertSame(String, Object, Object) - Static method in class stanford.cs106.junit.Assert
-
- assertSame(String, String, String) - Static method in class stanford.cs106.junit.Assert
-
- assertTrue(String, boolean) - Static method in class stanford.cs106.junit.Assert
-
- asSet(K) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given values into a set.
- asSet(K...) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given values into a set.
- asSetSorted(K...) - Static method in class stanford.cs106.util.CollectionUtils
-
Converts the given values into a sorted set.
- attributeIsFalsey(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- attributeIsTruthy(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- AudioEvent(StdAudio.AudioEvent.Type) - Constructor for class stanford.cs106.audio.StdAudio.AudioEvent
-
- AudioEvent(StdAudio.AudioEvent.Type, double) - Constructor for class stanford.cs106.audio.StdAudio.AudioEvent
-
- AudioEvent(StdAudio.AudioEvent.Type, Note, double) - Constructor for class stanford.cs106.audio.StdAudio.AudioEvent
-
- CANCEL_OPTION - Static variable in class acm.gui.JFontChooser
-
Return value from showDialog()
.
- captureOutput() - Method in class acm.program.ConsoleProgram
-
- captureOutput(boolean) - Method in class acm.program.ConsoleProgram
-
- CENTER - Static variable in class acm.gui.TableLayout
-
Center table in the container
- center() - Method in class acm.program.Program
-
Moves this program's window to the center of the screen.
- CENTER - Static variable in interface acm.program.ProgramInterface
-
Constant specifying the center of the container
- CENTER - Static variable in class stanford.karel.KarelWorld
-
- centerWindow(Window) - Static method in class stanford.cs106.gui.GuiUtils
-
- centerWindowWithin(Window, Component) - Static method in class stanford.cs106.gui.GuiUtils
-
- changedUpdate(DocumentEvent) - Method in class acm.gui.JFontChooser.ListSearchTextFieldDocumentHandler
-
- changedUpdate(DocumentEvent) - Method in class acm.program.Program
-
Required method of DocumentListener interface.
- checkCompilerFlags() - Method in class acm.program.AbstractConsoleProgram
-
- checkCompilerFlags() - Method in class acm.program.Program
-
- checkForNegative(double) - Static method in class stanford.cs106.collections.BasicGraph
-
Tests the given integer to see whether it is negative.
- checkForNegative(int) - Static method in class stanford.cs106.collections.BasicGraph
-
Tests the given integer to see whether it is negative.
- checkForNull(Object...) - Static method in class stanford.cs106.collections.BasicGraph
-
Tests the given arguments for null.
- checkIfHeadless(String) - Static method in class acm.program.CommandLineProgram
-
Checks to see if the program is running in a headless environment and, if so,
runs it in that form.
- checkKill() - Method in class acm.program.Program
-
Checks whether the program has been stopped via the killMe method.
- checkStartupSettings() - Method in class acm.program.Program
-
- checkVertex(String) - Method in class stanford.cs106.collections.BasicGraph
-
Tests the given vertex for null and for membership in the graph.
- checkVertex(Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
- checkVertexes(String, String) - Method in class stanford.cs106.collections.BasicGraph
-
Tests the given vertices for null and for membership in the graph.
- checkVertexes(Vertex<V>, Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Tests the given vertices for null and for membership in the graph.
- checkWall(Point, int) - Method in class stanford.karel.KarelWorld
-
- checkWall(int, int, int) - Method in class stanford.karel.KarelWorld
-
- checkWorld(String) - Method in class stanford.karel.Karel
-
- CLASS_EXTENSION - Static variable in class stanford.cs106.reflect.ClassUtils
-
- ClassComparator() - Constructor for class stanford.cs106.reflect.ClassUtils.ClassComparator
-
- classForName(String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- classImplements(Class<?>, Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- ClassUtils - Class in stanford.cs106.reflect
-
- ClassUtils() - Constructor for class stanford.cs106.reflect.ClassUtils
-
- ClassUtils.BetterClassLoader - Class in stanford.cs106.reflect
-
Loads classes from files on the server's hard disk.
- ClassUtils.ClassComparator - Class in stanford.cs106.reflect
-
- ClassUtils.ExtensionFilter - Class in stanford.cs106.reflect
-
- clear() - Method in class acm.graphics.GCanvas
-
Removes all graphical objects from this canvas.
- clear() - Method in interface acm.graphics.GCanvasInterface
-
- clear() - Method in class acm.graphics.GLineGroup
-
Removes all points from this line group.
- clear() - Method in class acm.gui.JButtonGroup
-
- clear() - Method in class acm.gui.JStringList
-
Removes all strings from this list.
- clear() - Method in interface acm.io.ConsoleModel
-
- clear() - Method in class acm.io.IOConsole
-
- clear() - Method in class acm.io.StandardConsoleModel
-
- clear() - Method in class acm.io.SystemConsoleModel
-
- clear() - Method in class acm.program.AsciiArtProgram
-
- clear() - Method in class acm.program.GraphicsProgram
-
Removes all graphical objects from this container.
- clear() - Method in class acm.program.HeadlessGraphicsProgram
-
- clear() - Method in class stanford.cs106.collections.AbstractMultimap
-
- clear() - Method in class stanford.cs106.collections.AbstractTable
-
- clear() - Method in class stanford.cs106.collections.BasicGraph
-
Removes all vertices and edges from this graph.
- clear() - Method in interface stanford.cs106.collections.Graph
-
Removes all vertices and edges from this graph.
- clear() - Method in interface stanford.cs106.collections.Multimap
-
- clear() - Method in interface stanford.cs106.collections.Table
-
- clear() - Method in class stanford.cs106.collections.Vertex
-
Resets the previous, visited, cost, and number data fields to their original values.
- clear(boolean) - Method in class stanford.cs106.collections.Vertex
-
Resets the previous, visited, cost, and number data fields to their original values.
- clearAudioEventListeners() - Static method in class stanford.cs106.audio.StdAudio
-
Removes all audio event listeners from being notified of future
audio events, if any were present.
- clearCache() - Static method in class acm.io.SimpleScanner
-
- clearCanvas() - Method in class acm.program.GraphicsProgram
-
Removes all graphical objects from this container.
- clearCanvas() - Method in interface acm.program.GraphicsProgramInterface
-
- clearCanvas() - Method in class acm.program.HeadlessGraphicsProgram
-
- clearConsole() - Method in class acm.program.AbstractConsoleProgram
-
Erases any text from the main console.
- clearEdges() - Method in class stanford.cs106.collections.BasicGraph
-
Removes all edges from this graph.
- clearEdges(String) - Method in class stanford.cs106.collections.BasicGraph
-
- clearEdges(Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
- clearEdges() - Method in interface stanford.cs106.collections.Graph
-
Removes all edges from this graph.
- clearFixedIntegers() - Static method in class acm.util.RandomGenerator
-
Removes any previously added fixed numbers that were passed to
feedFixedIntegers.
- clearVertexInfo() - Method in class stanford.cs106.collections.BasicGraph
-
Resets all distance / previous / visited markings from vertex info
objects in this graph.
- clearWall(Point, int) - Method in class stanford.karel.KarelWorld
-
- clearWall(int, int, int) - Method in class stanford.karel.KarelWorld
-
- ClipboardUtils - Class in stanford.cs106.gui
-
Utility methods to set and get the state of the current OS clipboard.
- clone() - Method in class acm.graphics.GObject
-
Returns a deep copy of this object.
- clone() - Method in class stanford.cs106.collections.Edge
-
Returns a copy of this Edge as per the contract of the Object.clone method.
- clone() - Method in class stanford.cs106.collections.Vertex
-
Returns a copy of this Vertex as per the contract of the Object.clone method.
- close() - Method in class acm.io.SimpleScanner
-
Closes this scanner.
- close() - Static method in class stanford.cs106.audio.StdAudio
-
Close standard audio.
- close() - Method in class stanford.cs106.io.LimitedPrintStream
-
- close() - Method in class stanford.cs106.io.ReaderInputStream
-
- CollectionUtils - Class in stanford.cs106.util
-
- color() - Method in class stanford.cs106.collections.Vertex
-
Returns color of vertex
- colorName(Color) - Static method in class acm.graphics.GObject
-
Translates a color to a string representation.
- colorName(int) - Static method in class acm.graphics.GObject
-
Translates a color RGB int to a string representation such as "0xFF00FF" or "YELLOW".
- colorNameFriendly(int) - Static method in class acm.graphics.GObject
-
Translates a color RGB int to a string representation such as "#ff00ff" or "dark gray".
- column(C) - Method in class stanford.cs106.collections.AbstractTable
-
- column(C) - Method in interface stanford.cs106.collections.Table
-
- COMMAND_A - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_B - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_C - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_END - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_EQUALS - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_HOME - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_I - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_L - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_MINUS - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_P - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_PLUS - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_Q - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_S - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_SHIFT_MINUS - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_SHIFT_PLUS - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_V - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_W - Variable in class acm.program.ProgramMenuBar
-
- COMMAND_X - Variable in class acm.program.ProgramMenuBar
-
- CommandLineProgram - Class in acm.program
-
This class simulates the functionality of a ConsoleProgram
in an environment that lacks a graphics context.
- CommandLineProgram() - Constructor for class acm.program.CommandLineProgram
-
This code initializes the program data structures.
- compare(Class<?>, Class<?>) - Method in class stanford.cs106.reflect.ClassUtils.ClassComparator
-
- compare(Field, Field) - Method in class stanford.cs106.reflect.ReflectionUtils.FieldNameComparator
-
- compare(Method, Method) - Method in class stanford.cs106.reflect.ReflectionUtils.MethodNameComparator
-
- compareOutput() - Method in class acm.program.AbstractConsoleProgram
-
Pops up a file chooser to compare output to some expected output.
- compareTo(Vertex<V>) - Method in class stanford.cs106.collections.Vertex
-
- ComparisonFailureEnhanced - Error in stanford.cs106.junit
-
- ComparisonFailureEnhanced(UnitTestType, String, String, String) - Constructor for error stanford.cs106.junit.ComparisonFailureEnhanced
-
- ComparisonFailureEnhanced(UnitTestType, String, String, String, String) - Constructor for error stanford.cs106.junit.ComparisonFailureEnhanced
-
- compile(String) - Static method in class stanford.cs106.reflect.ClassUtils
-
Compiles the .java source file with the given file name,
and returns the file name of the newly compiled .class file.
- CompilerErrorException - Exception in stanford.cs106.reflect
-
- CompilerErrorException(String) - Constructor for exception stanford.cs106.reflect.CompilerErrorException
-
- componentAdded(ContainerEvent) - Method in class acm.program.Program
-
Required method of ContainerListener interface.
- componentHidden(ComponentEvent) - Method in class acm.program.Program
-
Required method of ComponentListener interface.
- componentMoved(ComponentEvent) - Method in class acm.program.Program
-
Required method of ComponentListener interface.
- componentRemoved(ContainerEvent) - Method in class acm.program.Program
-
Required method of ContainerListener interface.
- componentResized(ComponentEvent) - Method in class acm.program.Program
-
Required method of ComponentListener interface.
- componentResized(ComponentEvent) - Method in interface stanford.cs106.gui.ResizeListener
-
- componentResizedHook() - Method in class stanford.karel.KarelWorld
-
- componentShown(ComponentEvent) - Method in class acm.program.Program
-
Required method of ComponentListener interface.
- conditionalRepaint() - Method in class acm.graphics.GCanvas
-
Repaints the canvas if auto-repaint is in effect.
- CONFIG_FILE_NAME - Static variable in class acm.program.Program
-
- confirm(String) - Method in class acm.program.Program
-
Pops up a dialog box displaying the given message and asking the user to choose Yes or No.
- ConsoleModel - Interface in acm.io
-
- ConsoleProgram - Class in acm.program
-
This class is a standard subclass of
Program
that installs a console in the window.
- ConsoleProgram() - Constructor for class acm.program.ConsoleProgram
-
Creates a new console program.
- constantExists(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- constantExists(String, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- ConstantUtils - Class in stanford.cs106.util
-
- ConstantUtils() - Constructor for class stanford.cs106.util.ConstantUtils
-
- contains(double, double) - Method in class acm.graphics.GCompound
-
Checks to see whether a point is "inside" the compound, which means that it is
inside one of the components.
- contains(double, double) - Method in class acm.graphics.GLabel
-
Returns true if this label contains the given x/y point.
- contains(double, double) - Method in class acm.graphics.GLine
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GLineGroup
-
Returns true if any of the line segments in this line group touch the given point.
- contains(double, double) - Method in class acm.graphics.GObject
-
Checks to see whether a point is inside the object.
- contains(GPoint) - Method in class acm.graphics.GObject
-
Checks to see whether a point is inside the object.
- contains(double, double) - Method in class acm.graphics.GOval
-
- contains(double, double) - Method in class acm.graphics.GRectangle
-
Returns true
if the GRectangle
contains the specified point.
- contains(GPoint) - Method in class acm.graphics.GRectangle
-
Returns true
if the GRectangle
contains the specified point.
- contains(Object, Object) - Method in class stanford.cs106.collections.AbstractTable
-
- contains(Vertex<V>) - Method in class stanford.cs106.collections.Edge
-
Returns true if this edge touches the given vertex, that is,
if it is the start or end of this edge.
- contains(String) - Method in class stanford.cs106.collections.Lexicon
-
- contains(Object, Object) - Method in interface stanford.cs106.collections.Table
-
- containsColumn(Object) - Method in class stanford.cs106.collections.AbstractTable
-
- containsColumn(Object) - Method in interface stanford.cs106.collections.Table
-
- containsEdge(String, String) - Method in class stanford.cs106.collections.BasicGraph
-
Returns whether this graph contains an edge between the given vertices.
- containsEdge(Vertex<V>, Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Returns whether this graph contains an edge between the given vertices.
- containsEdge(String, String) - Method in interface stanford.cs106.collections.Graph
-
Returns whether this graph contains an edge between the given vertices.
- containsEdge(Vertex<V>, Vertex<V>) - Method in interface stanford.cs106.collections.Graph
-
Returns whether this graph contains an edge between the given vertices.
- containsEntry(Object, Object) - Method in class stanford.cs106.collections.AbstractMultimap
-
- containsEntry(Object, Object) - Method in interface stanford.cs106.collections.Multimap
-
- containsKey(Object) - Method in class stanford.cs106.collections.AbstractMultimap
-
- containsKey(Object) - Method in interface stanford.cs106.collections.Multimap
-
- containsPath(List<String>) - Method in class stanford.cs106.collections.BasicGraph
-
Returns true if the given list of vertices represents a path that can
be formed by walking edges between those vertices in this graph,
walking from the start to the end of the list.
- containsPath(List<String>) - Method in interface stanford.cs106.collections.Graph
-
Returns true if the given list of vertices represents a path that can
be formed by walking edges between those vertices in this graph,
walking from the start to the end of the list.
- containsPrefix(String) - Method in class stanford.cs106.collections.Lexicon
-
- containsRow(Object) - Method in class stanford.cs106.collections.AbstractTable
-
- containsRow(Object) - Method in interface stanford.cs106.collections.Table
-
- containsValue(Object) - Method in class stanford.cs106.collections.AbstractMultimap
-
- containsValue(Object) - Method in class stanford.cs106.collections.AbstractTable
-
- containsValue(Object) - Method in interface stanford.cs106.collections.Multimap
-
- containsValue(Object) - Method in interface stanford.cs106.collections.Table
-
- containsVertex(String) - Method in class stanford.cs106.collections.BasicGraph
-
Returns whether this graph contains the given vertex.
- containsVertex(Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Returns whether this graph contains the given vertex.
- containsVertex(String) - Method in interface stanford.cs106.collections.Graph
-
Returns whether this graph contains the given vertex.
- containsVertex(Vertex<V>) - Method in interface stanford.cs106.collections.Graph
-
Returns whether this graph contains the given vertex.
- contentsChanged(ListDataEvent) - Method in class acm.program.Program
-
Required method of ListDataListener interface.
- copy() - Method in interface acm.io.ConsoleModel
-
- copy() - Method in class acm.io.IOConsole
-
- copy() - Method in class acm.io.StandardConsoleModel
-
- copy() - Method in class acm.io.SystemConsoleModel
-
- copy(String) - Static method in class stanford.cs106.gui.ClipboardUtils
-
Sets the clipboard to store the given text.
- copy(File, File) - Static method in class stanford.cs106.io.IOUtils
-
Copies the entire contents of the given in file into the given out file.
- cornerAction(Point) - Method in class stanford.karel.KarelControlPanel
-
This action is invoked when the mouse is clicked on a corner, which is
the wall in the indicated direction from the given point.
- cornerColorIs(Color) - Method in class stanford.karel.HeadlessSuperKarel
-
- cornerColorIs(int) - Method in class stanford.karel.HeadlessSuperKarel
-
- cornerColorIs(double, double, double) - Method in class stanford.karel.HeadlessSuperKarel
-
- cornerColorIs(Color) - Method in class stanford.karel.SuperKarel
-
- cornerColorIs(int) - Method in class stanford.karel.SuperKarel
-
- cornerColorIs(double, double, double) - Method in class stanford.karel.SuperKarel
-
- corruptVertexInfo() - Method in class stanford.cs106.collections.BasicGraph
-
Sets some of the distance / previous / visited markings from vertex info
objects in this graph to have various random values, to test whether
a student's code properly clears the info between calls.
- cosDegrees(double) - Static method in class acm.graphics.GMath
-
Returns the trigonometric cosine of its argument where angle
is expressed in degrees.
- cost(List<String>) - Method in class stanford.cs106.collections.BasicGraph
-
Returns the total cost of following the given path of vertices in this graph,
which is the sum of the edge weights between the path's vertices from start to end.
- cost() - Method in class stanford.cs106.collections.Edge
-
Returns the weight of this edge.
- cost(List<String>) - Method in interface stanford.cs106.collections.Graph
-
Returns the total cost of following the given path of vertices in this graph,
which is the sum of the edge weights between the path's vertices from start to end.
- cost() - Method in class stanford.cs106.collections.Vertex
-
Returns the value of the internal 'cost' to reach this vertex.
- countCalls() - Static method in class stanford.cs106.util.RecursionUtils
-
Returns the number of recursive calls currently on top of the call stack.
- create() - Static method in class stanford.cs106.collections.HashBasedTable
-
- create() - Static method in class stanford.cs106.collections.HashMultimap
-
- create(boolean) - Static method in class stanford.cs106.collections.HashMultimap
-
- create() - Static method in class stanford.cs106.collections.TreeBasedTable
-
- create() - Static method in class stanford.cs106.collections.TreeMultimap
-
- create(boolean) - Static method in class stanford.cs106.collections.TreeMultimap
-
- createAudioClip(InputStream) - Static method in class acm.util.MediaTools
-
Generates an audio clip from an input stream containing the data bytes
for the audio clip.
- createAudioClip(String[]) - Static method in class acm.util.MediaTools
-
Generates an audio clip from a string array that provides the sound
values.
- createBufferedImage(Image, int) - Static method in class acm.util.MediaTools
-
Creates a BufferedImage
from the specified image.
- createButton(String, char, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButton(String, char, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButton(String, String, char, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButton(String, String, char, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButton(String, String, String, char, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButton(String, String, String, char, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButtonGroup(ActionListener, String...) - Static method in class stanford.cs106.gui.GuiUtils
-
- createButtonPanel() - Method in class stanford.karel.KarelControlPanel
-
- createCheckBox(String, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, String, char, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, boolean, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, char, boolean) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, char, boolean, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, String, char, boolean, ActionListener) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, char, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, char, boolean, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBox(String, String, char, boolean, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBoxMenuItem(String, ActionListener, JMenu) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBoxMenuItem(String, boolean, ActionListener, JMenu) - Static method in class stanford.cs106.gui.GuiUtils
-
- createCheckBoxMenuItem(String, char, boolean, ActionListener, JMenu) - Static method in class stanford.cs106.gui.GuiUtils
-
- createColumnMap() - Method in class stanford.cs106.collections.AbstractTable
-
- createColumnMap() - Method in class stanford.cs106.collections.HashBasedTable
-
- createColumnMap() - Method in class stanford.cs106.collections.TreeBasedTable
-
- createComboBox(String, ActionListener, String...) - Static method in class stanford.cs106.gui.GuiUtils
-
- createComboGroupBox(String, ActionListener, String...) - Static method in class stanford.cs106.gui.GuiUtils
-
- createConsole() - Method in class acm.program.CommandLineProgram
-
Creates the console used by the ConsoleProgram
.
- createConsole() - Method in class acm.program.ConsoleProgram
-
Creates the console used by the ConsoleProgram
.
- createConsole() - Method in class acm.program.Program
-
Creates the console used by the ConsoleProgram
.
- createConsoleModel() - Method in class acm.io.IOConsole
-
- createDialog(Component) - Method in class acm.gui.JFontChooser
-
- createDialogIO() - Method in class acm.program.CommandLineProgram
-
Creates the dialog used for interaction (primarily by the DialogProgram
class).
- createDialogIO() - Method in class acm.program.Program
-
Creates the dialog used for interaction (primarily by the DialogProgram
class).
- createEditor() - Method in class stanford.karel.KarelControlPanel
-
- createEditorPanel() - Method in class stanford.karel.KarelControlPanel
-
- createFocusedItem(String) - Method in class acm.program.ProgramMenuBar
-
Creates a focused menu item with the specified action command.
- createFocusedItem(String, int) - Method in class acm.program.ProgramMenuBar
-
Creates a focused menu item with the specified action command and
accelerator key.
- createFocusedItem(String, int, KeyStroke) - Method in class acm.program.ProgramMenuBar
-
- createFocusedItem(String, int, KeyStroke, boolean) - Method in class acm.program.ProgramMenuBar
-
- createGCanvas() - Method in class acm.program.GraphicsProgram
-
Creates the GCanvas
used by the GraphicsProgram
.
- createImage(int[][]) - Static method in class acm.util.MediaTools
-
Generates an image from a two-dimensional array of pixel values.
- createImage(int[], int, int) - Static method in class acm.util.MediaTools
-
Generates an image from a single-dimensional array of pixel values.
- createImage(InputStream) - Static method in class acm.util.MediaTools
-
Generates an image from an input stream containing the data bytes for the
image formatted in image/gif format.
- createImage(String[]) - Static method in class acm.util.MediaTools
-
Generates an image from a string array that provides the pixel values.
- createImage(int, int) - Method in class stanford.karel.KarelWorld
-
- createLabel(String, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- createLabel(String, int, boolean) - Static method in class stanford.cs106.gui.GuiUtils
-
- createList() - Method in class stanford.cs106.collections.AbstractMultimap
-
- createMap() - Method in class stanford.cs106.collections.AbstractMultimap
-
- createMap() - Method in class stanford.cs106.collections.HashMultimap
-
- createMap() - Method in class stanford.cs106.collections.TreeMultimap
-
- createMenu(String, JMenuBar) - Static method in class stanford.cs106.gui.GuiUtils
-
- createMenu(String, char, JMenuBar) - Static method in class stanford.cs106.gui.GuiUtils
-
- createMenuBar() - Method in class acm.program.Program
-
Creates a menu bar for use with the program.
- createMenuItem(String, ActionListener, JMenu) - Static method in class stanford.cs106.gui.GuiUtils
-
- createMenuItem(String, char, ActionListener, JMenu) - Static method in class stanford.cs106.gui.GuiUtils
-
- createPanel(Component...) - Static method in class stanford.cs106.gui.GuiUtils
-
- createPanel(LayoutManager, Component...) - Static method in class stanford.cs106.gui.GuiUtils
-
- createParameterTable(String[]) - Static method in class acm.program.CommandLineProgram
-
Creates a hash table containing the parameters specified in the
argument list.
- createParameterTable(String[]) - Static method in class acm.program.Program
-
Creates a hash table containing the parameters specified in the
argument list.
- createProgramFrame() - Method in class acm.program.Program
-
Creates the frame containing the program.
- createProgramItem(String) - Method in class acm.program.ProgramMenuBar
-
Creates a program menu item with the specified action command.
- createProgramItem(String, int, KeyStroke) - Method in class acm.program.ProgramMenuBar
-
Creates a program menu item with the specified action command and
accelerator key.
- createProgramItem(String, int) - Method in class acm.program.ProgramMenuBar
-
- createPSPreviewImage(Image, String[]) - Static method in class acm.util.MediaTools
-
Creates a new image that combines an existing image with a PostScript
preview represented as a string array.
- createRadioButton(String, char, boolean, ButtonGroup, ActionListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createResizePanel() - Method in class stanford.karel.KarelControlPanel
-
- createResizer() - Method in class stanford.karel.KarelControlPanel
-
- createRGBPixel(int, int, int) - Static method in class acm.graphics.GImage
-
Creates an opaque pixel value with the color components given by
red
, green
, and blue
.
- createRGBPixel(int, int, int, int) - Static method in class acm.graphics.GImage
-
Creates a pixel value with the color components given by
red
, green
, and blue
and the transparency value alpha
.
- createRowMap() - Method in class stanford.cs106.collections.AbstractTable
-
- createRowMap() - Method in class stanford.cs106.collections.HashBasedTable
-
- createRowMap() - Method in class stanford.cs106.collections.TreeBasedTable
-
- createSet() - Method in class stanford.cs106.collections.AbstractMultimap
-
- createSet() - Method in class stanford.cs106.collections.HashMultimap
-
- createSet() - Method in class stanford.cs106.collections.TreeMultimap
-
- createSlider(int, int, int, int, int, ChangeListener, Container) - Static method in class stanford.cs106.gui.GuiUtils
-
- createStandardItem(String, int) - Method in class acm.program.ProgramMenuBar
-
Creates one of the standard menu items implemented by the
ProgramMenuBar
class.
- createStandardItem(String, int, KeyStroke) - Method in class acm.program.ProgramMenuBar
-
- createTableMap() - Method in class stanford.cs106.collections.AbstractTable
-
- createTableMap() - Method in class stanford.cs106.collections.HashBasedTable
-
- createTableMap() - Method in class stanford.cs106.collections.TreeBasedTable
-
- createTransformedGraphics(Graphics) - Method in class acm.graphics.GObject
-
Creates a new Graphics2D that includes any transformations done to this object,
such as scaling and rotation.
- createWorld() - Method in class stanford.karel.KarelProgram
-
Creates the KarelWorld
in which Karel lives.
- CROSS_THRESHOLD - Static variable in class stanford.karel.KarelWorld
-
- CTRL_A - Variable in class acm.program.ProgramMenuBar
-
- CTRL_B - Variable in class acm.program.ProgramMenuBar
-
- CTRL_C - Variable in class acm.program.ProgramMenuBar
-
- CTRL_END - Variable in class acm.program.ProgramMenuBar
-
- CTRL_EQUALS - Variable in class acm.program.ProgramMenuBar
-
- CTRL_HOME - Variable in class acm.program.ProgramMenuBar
-
- CTRL_I - Variable in class acm.program.ProgramMenuBar
-
- CTRL_L - Variable in class acm.program.ProgramMenuBar
-
- CTRL_MINUS - Variable in class acm.program.ProgramMenuBar
-
- CTRL_P - Variable in class acm.program.ProgramMenuBar
-
- CTRL_PLUS - Variable in class acm.program.ProgramMenuBar
-
- CTRL_Q - Variable in class acm.program.ProgramMenuBar
-
- CTRL_S - Variable in class acm.program.ProgramMenuBar
-
- CTRL_SHIFT_MINUS - Variable in class acm.program.ProgramMenuBar
-
- CTRL_SHIFT_PLUS - Variable in class acm.program.ProgramMenuBar
-
- CTRL_V - Variable in class acm.program.ProgramMenuBar
-
- CTRL_W - Variable in class acm.program.ProgramMenuBar
-
- CTRL_X - Variable in class acm.program.ProgramMenuBar
-
- cut() - Method in interface acm.io.ConsoleModel
-
- cut() - Method in class acm.io.IOConsole
-
- cut() - Method in class acm.io.StandardConsoleModel
-
- cut() - Method in class acm.io.SystemConsoleModel
-
- CYAN - Static variable in class stanford.karel.HeadlessSuperKarel
-
- CYAN - Static variable in class stanford.karel.KarelProgram
-
- CYAN - Static variable in class stanford.karel.SuperKarel
-
- G3DRect - Class in acm.graphics
-
- G3DRect(double, double) - Constructor for class acm.graphics.G3DRect
-
- G3DRect(double, double, double, double) - Constructor for class acm.graphics.G3DRect
-
- G3DRect(double, double, double, double, boolean) - Constructor for class acm.graphics.G3DRect
-
- GCanvas - Class in acm.graphics
-
The GCanvas
class is a lightweight component that also
serves as a container for graphical objects.
- GCanvas() - Constructor for class acm.graphics.GCanvas
-
Creates a new GCanvas
that contains no objects.
- GCanvasInterface - Interface in acm.graphics
-
- GCompound - Class in acm.graphics
-
This class defines a graphical object that consists of a collection
of other graphical objects.
- GCompound() - Constructor for class acm.graphics.GCompound
-
Creates a new GCompound
object with no internal components.
- GContainer - Interface in acm.graphics
-
Defines the functionality of an object that can serve as the parent
of a
GObject
.
- get(K) - Method in class stanford.cs106.collections.AbstractMultimap
-
- get(Object, Object) - Method in class stanford.cs106.collections.AbstractTable
-
- get(int, int) - Method in class stanford.cs106.collections.Grid
-
- get(K) - Method in interface stanford.cs106.collections.Multimap
-
- get(Object, Object) - Method in interface stanford.cs106.collections.Table
-
- get() - Static method in class stanford.cs106.gui.ClipboardUtils
-
Returns the current contents of the clipboard.
- get() - Static method in enum stanford.cs106.util.OperatingSystem
-
- getAccidental() - Method in class stanford.cs106.audio.Note
-
Returns this Note's accidental value of SHARP, FLAT, or NATURAL.
- getActionCommand() - Method in class acm.gui.JStringList
-
Returns the current action command of this list, which is the string that
will occur when action events are performed on this list.
- getActionListeners() - Method in class acm.gui.JButtonGroup
-
- getActionListeners() - Method in class acm.gui.JStringList
-
Returns an array of all action listeners currently listening to this list.
- getActual() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getAlignment() - Method in class stanford.karel.KarelWorld
-
- getAllOutput() - Method in class acm.program.AbstractConsoleProgram
-
Returns all text that has been displayed on this console so far.
- getAlpha(int) - Static method in class acm.graphics.GImage
-
Returns the alpha component from an RGB value.
- getAncestor(Component, Class<C>) - Static method in class stanford.cs106.gui.GuiUtils
-
Looks upward at parent containers of the given component until it finds one of the given type or
any subclass of the given type, and returns it.
- getAnimationDelay() - Method in class acm.program.Program
-
Returns the delay between frames of animation in milliseconds (default 20).
- getAppletMode() - Static method in class acm.io.SimpleScanner
-
- getAppletStub() - Method in class acm.program.CommandLineProgram
-
Retrieves the applet stub.
- getAppletStub() - Method in class acm.program.Program
-
Retrieves the applet stub.
- getArgumentArray() - Method in class acm.program.CommandLineProgram
-
Retrieves the array of arguments passed in from the command line, or
null
if no arguments are available.
- getArgumentArray() - Method in class acm.program.Program
-
Retrieves the array of arguments passed in from the command line, or
null
if no arguments are available.
- getAscent() - Method in class acm.graphics.GLabel
-
Returns the distance this string extends above the baseline.
- getAttribute(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
Returns the value of the attribute of the given node with the given name.
- getAttribute(Node, String, boolean) - Static method in class stanford.cs106.util.XmlUtils
-
- getAttribute(Node, String, boolean, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getAttributeAny(Node, String...) - Static method in class stanford.cs106.util.XmlUtils
-
Returns the value of the first attribute found with any of the given names, else null.
- getAttributeAny(Node, boolean, String...) - Static method in class stanford.cs106.util.XmlUtils
-
Returns the value of the first attribute found with any of the given names, else null.
- getAttributeInt(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getAttributeInt(Node, String, boolean) - Static method in class stanford.cs106.util.XmlUtils
-
- getAttributeInt(Node, String, boolean, int) - Static method in class stanford.cs106.util.XmlUtils
-
- getAttributeOrChild(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getAttributeOrChild(Node, String, boolean) - Static method in class stanford.cs106.util.XmlUtils
-
Returns the value of the attribute of the given node with the given name.
- getAttributes(Node) - Static method in class stanford.cs106.util.XmlUtils
-
Returns all attributes of the given XML node as a list of name=value strings.
- getAudioInputStream() - Method in class acm.util.SoundClip
-
Returns an AudioInputStream
for the sound.
- getAutoRepaintFlag() - Method in class acm.graphics.GCanvas
-
- getAWTBounds() - Method in class acm.graphics.GImage
-
Returns an AWT Rectangle
that specifies the bounds of this object.
- getBackground() - Method in interface acm.graphics.GCanvasInterface
-
- getBackground() - Method in class acm.program.HeadlessGraphicsProgram
-
- getBackgroundCharacter() - Method in class acm.program.AsciiArtProgram
-
- getBackgroundColor() - Method in class acm.program.AsciiArtProgram
-
- getBeepersInBag() - Method in class stanford.karel.Karel
-
- getBeepersInBag() - Method in interface stanford.karel.KarelInterface
-
- getBeepersOnCorner(Point) - Method in class stanford.karel.KarelWorld
-
- getBeepersOnCorner(int, int) - Method in class stanford.karel.KarelWorld
-
- getBlue(int) - Static method in class acm.graphics.GImage
-
Returns the blue component from an RGB value.
- getBoolean() - Method in class acm.program.Program
-
Reads and returns a boolean value (true
or false
).
- getBoolean(String) - Method in class acm.program.Program
-
Prompts the user to enter a boolean value, which is returned as
the value of this method.
- getBoolean(String, String, String) - Method in class acm.program.Program
-
Prompts the user to enter a boolean value, which is matched against the
labels provided.
- getBorder(String) - Method in class acm.program.CommandLineProgram
-
Returns the component installed as a border on the specified side, which must
be one of the constants from BorderLayout
(NORTH
,
SOUTH
, EAST
, WEST
).
- getBorder(String) - Method in class acm.program.Program
-
Returns the component installed as a border on the specified side, which must
be one of the constants from BorderLayout
(NORTH
,
SOUTH
, EAST
, WEST
).
- getBottomY() - Method in class acm.graphics.GObject
-
Returns the bottom y-coordinate of the object.
- getBottomY() - Method in class acm.program.Program
-
Returns the y-coordinate of the bottom of this program's window.
- getBounds() - Method in class acm.graphics.GCompound
-
Returns the bounding rectangle for this compound object, which consists of
the union of the bounding rectangles for each of the components.
- getBounds() - Method in class acm.graphics.GImage
-
Returns the bounding box of this object.
- getBounds() - Method in class acm.graphics.GLabel
-
Returns a GRectangle
that specifies the bounding box for the string.
- getBounds() - Method in class acm.graphics.GLine
-
Returns the bounding box for this object.
- getBounds() - Method in class acm.graphics.GLineGroup
-
Returns a bounding rectangle that tightly contains this line group.
- getBounds() - Method in class acm.graphics.GObject
-
Returns the bounding box of this object, which is defined to be the
smallest rectangle that covers everything drawn by the figure.
- getBounds() - Method in class acm.graphics.GOval
-
- getBounds() - Method in class acm.graphics.GRectangle
-
Returns a new GRectangle
whose bounds are the same as this one.
- getButtonCount() - Method in class acm.gui.JButtonGroup
-
- getCallingClassName(String...) - Static method in class stanford.cs106.util.ExceptionUtils
-
The current class name on top of the current method call stack,
ignoring any classes in the given list of classes to skip.
- getCanvasHeight() - Method in class acm.program.GraphicsProgram
-
Returns the height of the central canvas area.
- getCanvasHeight() - Method in interface acm.program.GraphicsProgramInterface
-
- getCanvasHeight() - Method in class acm.program.HeadlessGraphicsProgram
-
- getCanvasPoint(GPoint) - Method in class acm.graphics.GCompound
-
Converts the location of the specified point in this compound to
the corresponding point in the enclosing canvas.
- getCanvasPoint(double, double) - Method in class acm.graphics.GCompound
-
Converts the location of the specified point in this compound to
the corresponding point in the enclosing canvas.
- getCanvasSize() - Method in class acm.program.GraphicsProgram
-
Returns the size of the central canvas area.
- getCanvasSize() - Method in interface acm.program.GraphicsProgramInterface
-
- getCanvasSize() - Method in class acm.program.HeadlessGraphicsProgram
-
- getCanvasWidth() - Method in class acm.program.GraphicsProgram
-
Returns the width of the central canvas area.
- getCanvasWidth() - Method in interface acm.program.GraphicsProgramInterface
-
- getCanvasWidth() - Method in class acm.program.HeadlessGraphicsProgram
-
- getCapturedOutput() - Method in class acm.program.ConsoleProgram
-
- getCenterLocation() - Method in class acm.graphics.GObject
-
Returns the central x/y-coordinates of this object.
- getCenterLocation() - Method in class acm.program.Program
-
Returns the x/y-coordinates of the center of this program's window.
- getCenterX() - Method in class acm.graphics.GObject
-
Returns the central x-coordinate of this object.
- getCenterX() - Method in class acm.program.Program
-
Returns the x-coordinate of the center of this program's window.
- getCenterY() - Method in class acm.graphics.GObject
-
Returns the central y-coordinate of this object.
- getCenterY() - Method in class acm.program.Program
-
Returns the y-coordinate of the center of this program's window.
- getCentralRegionSize() - Method in class acm.program.Program
-
Returns the size of the central region.
- getChannelCount() - Method in class acm.util.SoundClip
-
Returns the number of channels.
- getCharacter(double, double) - Method in class acm.program.AsciiArtProgram
-
- getCharacter(int, int) - Method in class acm.program.AsciiArtProgram
-
- getChildByTagName(Node, String, boolean) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildByTagName(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildNode(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildNodes(Node, String...) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildrenByTagName(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildrenByTagNames(Node, String...) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildValue(Node, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getChildValue(Node, String, boolean) - Static method in class stanford.cs106.util.XmlUtils
-
- getClasses(Class<T>, String) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getClassNameWithoutPackage(String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getClassNameWithoutPackage(Class<?>) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getClassNameWithoutPackage(Class<?>, Type) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getClassPathFolders() - Static method in class stanford.cs106.reflect.ClassUtils
-
- getColor() - Method in class acm.graphics.GObject
-
Returns the color used to display this object.
- getColor(int) - Method in class acm.gui.JStringList
-
Returns the color of the item in the list at the given index.
- getColumnCount() - Method in class acm.gui.TableLayout
-
Returns the number of columns in the table.
- getColumns() - Method in class acm.program.AsciiArtProgram
-
- getColumns() - Method in class stanford.karel.KarelWorld
-
- getCommand() - Method in class stanford.cs106.net.Request
-
Returns this request's HTTP command verb.
- getComments() - Method in class acm.program.ConsoleProgram
-
Print all echoed comments from the input override file onscreen.
- getComponent() - Method in class acm.graphics.GObject
-
Returns the component in which this object is installed, or null
if none exists.
- getConsole() - Method in interface acm.io.ConsoleModel
-
- getConsole() - Method in class acm.io.StandardConsoleModel
-
- getConsole() - Method in class acm.io.SystemConsoleModel
-
- getConsole() - Method in class acm.program.CommandLineProgram
-
Returns the console associated with this program.
- getConsole() - Method in class acm.program.Program
-
Returns the console associated with this program.
- getConsoleModel() - Method in class acm.io.IOConsole
-
- getConsoleModel() - Method in class acm.io.SystemConsoleModel
-
- getConsolePane() - Method in interface acm.io.ConsoleModel
-
- getConsolePane() - Method in class acm.io.StandardConsoleModel
-
- getConsolePane() - Method in class acm.io.SystemConsoleModel
-
- getConstantValue(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValue(Class<?>, Object, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValue(String, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueBoolean(Class<?>, Object, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueBoolean(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueBoolean(String, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueDouble(Class<?>, Object, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueDouble(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueDouble(String, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueInt(Class<?>, Object, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueInt(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstantValueInt(String, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getConstraints(Component) - Method in class acm.gui.TableLayout
-
Returns a copy of the constraints requested for the specified component.
- getCornerColor(Point) - Method in class stanford.karel.KarelWorld
-
- getCornerColor(int, int) - Method in class stanford.karel.KarelWorld
-
- getCurrentDirectory() - Static method in class stanford.cs106.io.IOUtils
-
The directory in which the current app is running.
- getCurrentQuarter() - Static method in class stanford.cs106.util.Stanford
-
Returns a quarter string such as "15sp" for Spring 2015.
- getData() - Method in class acm.util.SoundClip
-
Returns the byte array containing the sound data.
- getDefaultArgs(Method) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getDefaultFill() - Method in class acm.gui.TableLayout
-
Returns the default fill parameter for components in the table.
- getDefaultValue(Class<?>) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getDescendent(Container, Class<JC>) - Static method in class stanford.cs106.gui.GuiUtils
-
Returns first found descendent of given type within the given container; null if not found.
- getDescendents(Container, Class<JC>) - Static method in class stanford.cs106.gui.GuiUtils
-
- getDescent() - Method in class acm.graphics.GLabel
-
Returns the distance this string descends below the baseline.
- getDescription() - Method in class acm.util.FileChooserFilter
-
- getDescription() - Method in class stanford.cs106.io.ExtensionFileFilter
-
- getDetails() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getDialog() - Method in class acm.program.CommandLineProgram
-
Returns the dialog used for user interaction.
- getDialog() - Method in class acm.program.Program
-
Returns the dialog used for user interaction.
- getDirection() - Method in class stanford.karel.Karel
-
- getDirection() - Method in interface stanford.karel.KarelInterface
-
- getDirectory() - Method in class acm.util.FileChooserFilter
-
- getDouble() - Method in class acm.program.Program
-
Reads and returns a double-precision value from the user.
- getDouble(double, double) - Method in class acm.program.Program
-
Reads and returns a double-precision value from the user, which is
constrained to be within the specified inclusive range.
- getDouble(String) - Method in class acm.program.Program
-
Prompts the user to enter an double-precision number, which is then
returned as the value of this method.
- getDouble(String, double, double) - Method in class acm.program.Program
-
Prompts the user to enter an double-precision number, which is then returned
as the value of this method.
- getDuration() - Method in class acm.util.SoundClip
-
Returns the duration of a sound (in seconds).
- getDuration() - Method in class stanford.cs106.audio.Note
-
Returns this Note's duration in seconds.
- getDuration() - Method in class stanford.cs106.audio.StdAudio.AudioEvent
-
- getEcho() - Static method in class acm.io.SimpleScanner
-
- getEditMode() - Method in class stanford.karel.KarelWorld
-
- getEditor() - Method in class stanford.karel.KarelControlPanel
-
- getElement(int) - Method in class acm.graphics.GCanvas
-
Returns the graphical object at the specified index, numbering from back
to front in the the z dimension.
- getElement(int) - Method in interface acm.graphics.GCanvasInterface
-
- getElement(int) - Method in class acm.graphics.GCompound
-
Returns the graphical object at the specified index, numbering from back
to front in the the z dimension.
- getElement(int) - Method in interface acm.graphics.GContainer
-
Returns the graphical object at the specified index, numbering from back
to front in the the z dimension.
- getElement(int) - Method in class acm.program.GraphicsProgram
-
Returns the graphical object at the specified index, numbering from back
to front in the the z dimension.
- getElement(int) - Method in class acm.program.HeadlessGraphicsProgram
-
- getElementAt(double, double) - Method in class acm.graphics.GCanvas
-
Returns the topmost graphical object that contains the point
(x
, y
), or null
if no such
object exists.
- getElementAt(double...) - Method in class acm.graphics.GCanvas
-
This version of getElementAt accepts a variable number of coordinate
pairs (in x1, y1, x2, y2, x3, y3, ...
- getElementAt(GPoint) - Method in class acm.graphics.GCanvas
-
Returns the topmost graphical object that contains the specified point,
or null
if no such object exists.
- getElementAt(double, double) - Method in interface acm.graphics.GCanvasInterface
-
- getElementAt(double...) - Method in interface acm.graphics.GCanvasInterface
-
- getElementAt(GPoint) - Method in interface acm.graphics.GCanvasInterface
-
- getElementAt(double, double) - Method in class acm.graphics.GCompound
-
Returns the topmost graphical object that contains the point
(x
, y
), or null
if no such
object exists.
- getElementAt(GPoint) - Method in class acm.graphics.GCompound
-
Returns the topmost graphical object that contains the specified point,
or null
if no such object exists.
- getElementAt(double, double) - Method in interface acm.graphics.GContainer
-
Returns the topmost graphical object that contains the point
(x
, y
), or null
if no such
object exists.
- getElementAt(GPoint) - Method in interface acm.graphics.GContainer
-
Returns the topmost graphical object that contains the specified point,
or null
if no such object exists.
- getElementAt(double, double) - Method in class acm.program.GraphicsProgram
-
Returns the topmost graphical object that contains the point (
x
, y
), or null
if no such object
exists.
- getElementAt(double...) - Method in class acm.program.GraphicsProgram
-
This version of getElementAt accepts a variable number of coordinate
pairs (in x1, y1, x2, y2, x3, y3, ...
- getElementAt(GPoint) - Method in class acm.program.GraphicsProgram
-
Returns the topmost graphical object that contains the specified point,
or null
if no such object exists.
- getElementAt(double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- getElementAt(double...) - Method in class acm.program.HeadlessGraphicsProgram
-
- getElementAt(GPoint) - Method in class acm.program.HeadlessGraphicsProgram
-
- getElementByTagName(Document, String) - Static method in class stanford.cs106.util.XmlUtils
-
- getElementCount() - Method in class acm.graphics.GCanvas
-
Returns the number of graphical objects stored in this GCanvas
.
- getElementCount() - Method in interface acm.graphics.GCanvasInterface
-
- getElementCount() - Method in class acm.graphics.GCompound
-
Returns the number of graphical objects stored in this container.
- getElementCount() - Method in interface acm.graphics.GContainer
-
Returns the number of graphical objects stored in this GCanvas
.
- getElementCount() - Method in class acm.program.GraphicsProgram
-
Returns the number of graphical objects stored in this
GCanvas
.
- getElementCount() - Method in class acm.program.HeadlessGraphicsProgram
-
- getEndPoint() - Method in class acm.graphics.GLine
-
Returns the end point of the line as a GPoint
object.
- getErrorColor() - Method in class acm.io.IOConsole
-
- getErrorEvent() - Method in class stanford.cs106.net.NetworkManager
-
- getErrorStyle() - Method in class acm.io.IOConsole
-
- getExceptionOnError() - Method in class acm.gui.DoubleField
-
Returns the state of the error-handling flag.
- getExceptionOnError() - Method in class acm.gui.IntField
-
Returns the state of the error-handling flag.
- getExceptionOnError() - Method in class acm.io.IOConsole
-
- getExpected() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getExpectedInputDirectory() - Static method in class stanford.cs106.io.IOUtils
-
Returns a directory that is likely to contain expected input files for
a running Stanford lib project.
- getExpectedOutputDirectory() - Static method in class stanford.cs106.io.IOUtils
-
Returns a directory that is likely to contain expected output files for
a running Stanford lib project.
- getExtension(String) - Static method in class stanford.cs106.audio.SplClip
-
- getExtension(File) - Static method in class stanford.cs106.io.IOUtils
-
The file name extension (such as mp3, doc, txt) of the given file's name.
- getExtension(String) - Static method in class stanford.cs106.io.IOUtils
-
The file name extension (such as mp3, doc, txt) of the given file's name.
- getExtensionFileFilter(String, String...) - Static method in class stanford.cs106.gui.GuiUtils
-
- getField(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getField(Class<?>, String, boolean) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getFieldNames(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all fields in the given class.
- getFields(Class<?>, Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getFields(Class<?>, Class<?>, Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getFields(Class<?>, Class<?>, Class<?>, boolean) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getFields(Class<?>, Set<Class<?>>, Class<?>, boolean) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getFieldToMatchRegex(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getFieldToMatchRegex(Class<?>, String, boolean) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getFieldTypes(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of types of all fields in the given class.
- getFieldValue(Object, Field) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getFieldValue(Object, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getFileName(String) - Static method in class stanford.cs106.io.IOUtils
-
Strips folders from file's name.
- getFillCharacter() - Method in class acm.program.AsciiArtProgram
-
- getFillColor() - Method in class acm.graphics.GOval
-
- getFirstClassPathFolder() - Static method in class stanford.cs106.reflect.ClassUtils
-
- getFirstFieldValueOfType(Class<?>, Object, Class<?>) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getFolder(String) - Static method in class stanford.cs106.io.IOUtils
-
The folder name of the given file path.
- getFont() - Method in interface acm.graphics.GCanvasInterface
-
- getFont() - Method in class acm.graphics.GLabel
-
Returns the font in which the GLabel
is displayed.
- getFont() - Method in class acm.program.AbstractConsoleProgram
-
Returns the font currently used in the console.
- getFont() - Method in class acm.program.HeadlessGraphicsProgram
-
- getFontFamilies() - Method in class acm.gui.JFontChooser
-
- getFontFamilyList() - Method in class acm.gui.JFontChooser
-
- getFontFamilyPanel() - Method in class acm.gui.JFontChooser
-
- getFontFamilyTextField() - Method in class acm.gui.JFontChooser
-
- getFontMetrics() - Method in class acm.graphics.GLabel
-
Returns a FontMetrics
object describing the dimensions of this string.
- getFontSizeList() - Method in class acm.gui.JFontChooser
-
- getFontSizePanel() - Method in class acm.gui.JFontChooser
-
- getFontSizeTextField() - Method in class acm.gui.JFontChooser
-
- getFontStyleList() - Method in class acm.gui.JFontChooser
-
- getFontStyleNames() - Method in class acm.gui.JFontChooser
-
- getFontStylePanel() - Method in class acm.gui.JFontChooser
-
- getFontStyleTextField() - Method in class acm.gui.JFontChooser
-
- getForegroundCharacter() - Method in class acm.program.AsciiArtProgram
-
- getForegroundColor() - Method in class acm.program.AsciiArtProgram
-
- getFormat() - Method in class acm.gui.DoubleField
-
Returns the format currently in use for this field, or
null
if no format has been set.
- getFormat() - Method in class acm.gui.IntField
-
Returns the format currently in use for this field, or
null
if no format has been set.
- getFormat() - Method in class acm.util.SoundClip
-
Returns the format in which the sound is stored.
- getFrameCount() - Method in class acm.util.SoundClip
-
Returns the number of frames in a sound.
- getFrameIndex() - Method in class acm.util.SoundClip
-
Returns the current frame index in the sound.
- getFrameRate() - Method in class acm.util.SoundClip
-
Returns the frame rate of the sound.
- getGCanvas() - Method in class acm.program.GraphicsProgram
-
Returns the GCanvas
object used by this program.
- getGCanvas() - Method in interface acm.program.GraphicsProgramInterface
-
- getGCanvas() - Method in class acm.program.HeadlessGraphicsProgram
-
- getGreen(int) - Static method in class acm.graphics.GImage
-
Returns the green component from an RGB value.
- getHeight() - Method in interface acm.graphics.GCanvasInterface
-
- getHeight() - Method in class acm.graphics.GLabel
-
Returns the height of this string, as it appears on the display.
- getHeight() - Method in class acm.graphics.GObject
-
Returns the height of this object, which is defined to be
the height of the bounding box.
- getHeight() - Method in class acm.graphics.GRectangle
-
Returns the height of this GDimension
.
- getHeight() - Method in class acm.program.CommandLineProgram
-
Returns the height of the central region.
- getHeight() - Method in class acm.program.HeadlessGraphicsProgram
-
- getHeight() - Method in class acm.program.Program
-
Returns the height of the central region.
- getHeight(String) - Static method in class stanford.cs106.util.StringUtils
-
- getHeight() - Method in class stanford.karel.KarelWorld
-
- getHexInputStream(String[]) - Static method in class acm.util.MediaTools
-
Returns an input stream whose bytes come from the string array
hex
, in which the elements consist of continuous bytes of
hex data.
- getHgap() - Method in class acm.gui.TableLayout
-
Returns the horizontal gap between components.
- getHorizontalAlignment() - Method in class acm.gui.TableLayout
-
Returns the horizontal alignment for the table.
- getHostName() - Static method in class stanford.cs106.net.NetworkManager
-
- getImage() - Method in class acm.graphics.GImage
-
Returns the image stored inside this GImage
.
- getImageObserver() - Static method in class acm.util.MediaTools
-
This method returns a new lightweight component suitable as an
imageObserver
.
- getInputColor() - Method in class acm.io.IOConsole
-
- getInputModel() - Method in class acm.program.CommandLineProgram
-
Returns the IOModel
used for program input, which will
typically be either the default IOConsole
or IODialog
object.
- getInputModel() - Method in class acm.program.Program
-
Returns the IOModel
used for program input, which will
ordinarily be the console.
- getInputScript() - Method in interface acm.io.ConsoleModel
-
- getInputScript() - Method in class acm.io.IOConsole
-
- getInputScript() - Method in class acm.io.StandardConsoleModel
-
- getInputScript() - Method in class acm.io.SystemConsoleModel
-
- getInputStyle() - Method in class acm.io.IOConsole
-
- getInstance() - Static method in class acm.util.RandomGenerator
-
Returns a RandomGenerator
instance that can be shared among
several classes.
- getInstance() - Static method in class stanford.cs106.net.BackEndServer
-
- getInstance(int) - Static method in class stanford.cs106.net.BackEndServer
-
- getInstance() - Static method in class stanford.cs106.util.RandomGenerator
-
- getInteger() - Method in class acm.program.Program
-
Reads and returns an integer value from the user.
- getInteger(int, int) - Method in class acm.program.Program
-
Reads and returns an integer value from the user, which is constrained to
be within the specified inclusive range.
- getInteger(String) - Method in class acm.program.Program
-
Prompts the user to enter an integer, which is then returned as the value
of this method.
- getInteger(String, int, int) - Method in class acm.program.Program
-
Prompts the user to enter an integer, which is then returned as the value
of this method.
- getIpAddress() - Static method in class stanford.cs106.net.NetworkManager
-
- getIpAddresses() - Static method in class stanford.cs106.net.NetworkManager
-
- getItem(int) - Method in class acm.gui.JStringList
-
Returns the text of the item in the list at the given index.
- getItemCount() - Method in class acm.gui.JStringList
-
Returns the number of items in the list.
- getItemText(int) - Method in class stanford.cs106.gui.JComboGroupBox
-
- getJFrame() - Method in class acm.program.Program
-
Returns the Java Swing window frame that encloses this program.
- getKarel() - Method in class stanford.karel.KarelProgram
-
- getKarel() - Method in class stanford.karel.KarelWorld
-
- getKarel(int) - Method in class stanford.karel.KarelWorld
-
- getKarelCount() - Method in class stanford.karel.KarelWorld
-
- getKarelOnSquare(int, int) - Method in class stanford.karel.KarelWorld
-
- getLabel() - Method in class acm.graphics.GLabel
-
Returns the string displayed by this object.
- getLayout() - Method in class acm.program.CommandLineProgram
-
Gets the layout manager for the central region of the content pane.
- getLayout() - Method in class acm.program.Program
-
Gets the layout manager for the central region of the content pane.
- getLayoutAlignmentX(Container) - Method in class acm.gui.TableLayout
-
Returns the alignment along the x-axis as described in the
LayoutManager2
interface.
- getLayoutAlignmentY(Container) - Method in class acm.gui.TableLayout
-
Returns the alignment along the y-axis as described in the
LayoutManager2
interface.
- getLength() - Method in interface acm.io.ConsoleModel
-
- getLength() - Method in class acm.io.StandardConsoleModel
-
- getLength() - Method in class acm.io.SystemConsoleModel
-
- getLine() - Method in class acm.program.Program
-
Reads and returns a line of input from the console.
- getLine(String) - Method in class acm.program.Program
-
Prompts the user for a line of input.
- getLineNumber(Throwable, String) - Static method in class stanford.cs106.util.ExceptionUtils
-
The top-level line number within the given class name on which
this exception occurred.
- getLineNumber(Throwable, String, String) - Static method in class stanford.cs106.util.ExceptionUtils
-
The top-level line number within the given class and method name
on which this exception occurred in the given method.
- getLineWidth() - Method in class acm.graphics.GObject
-
Returns the thickness of lines drawn on this shape.
- getLocalPoint(double, double) - Method in class acm.graphics.GCompound
-
Converts the specified point on the enclosing canvas to the
corresponding point in the space of this compound.
- getLocalPoint(GPoint) - Method in class acm.graphics.GCompound
-
Converts the location of the specified point on the enclosing canvas
to the corresponding point in the space of this compound.
- getLocation() - Method in class acm.graphics.GObject
-
Returns the location of this object as a GPoint
.
- getLocation() - Method in class acm.graphics.GPoint
-
Returns a new GPoint
whose coordinates are the same as this
one.
- getLocation() - Method in class acm.graphics.GRectangle
-
Returns a new GPoint
with the location of the rectangle.
- getLocation() - Method in class stanford.karel.Karel
-
- getLocation() - Method in interface stanford.karel.KarelInterface
-
- getLocationsVisited() - Method in class stanford.karel.HeadlessKarel
-
- getLook() - Method in class stanford.karel.KarelWorld
-
- getMacMenuBarFlag() - Method in class acm.program.CommandLineProgram
-
Retrieves the setting of the Mac menu bar flag.
- getMainThread() - Method in class acm.program.Program
-
Returns the thread that is running the main program.
- getMatrix() - Method in class acm.graphics.GObject
-
Returns the transformation matrix for this object, including any scaling and rotation done to it.
- getMenuBar() - Method in class acm.io.IOConsole
-
- getMenuBar() - Method in class acm.program.Program
-
Returns the menu bar associated with this program.
- getMenuItem(String) - Method in class acm.program.ProgramMenuBar
-
- getMessage() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getMethod(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- getMethodName(Throwable, String) - Static method in class stanford.cs106.util.ExceptionUtils
-
The current method name within the given class name that is
highest on the current method call stack.
- getMethodNames(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all methods in the given class.
- getMinimumSize() - Method in class acm.io.IOConsole
-
- getModel() - Method in class acm.gui.JStringList
-
Returns a reference to the underlying data model of this list.
- getMonitor() - Method in class stanford.karel.KarelWorld
-
- getName() - Method in class acm.util.SoundClip
-
Returns the name of the sound, which is typically the file name from which it
was read.
- getName() - Method in class stanford.karel.Event
-
- getNativeArcFlag() - Method in class acm.graphics.GCanvas
-
Returns the current setting of the native-arc flag as described in
setNativeArcFlag
.
- getNonPrivateConstructors(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all methods in the given class that are not private.
- getNonPrivateFieldNames(String) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all fields in class with the given name that are not private.
- getNonPrivateFieldNames(String, boolean) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getNonPrivateFieldNames(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all fields in the given class that are not private.
- getNonPrivateFieldNames(Class<?>, boolean) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getNonPrivateMethodNames(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- getNonPrivateMethodNames(Class<?>, boolean) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all methods in the given class that are not private.
- getNonPrivateMethods(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
Returns a set of names of all methods in the given class that are not private.
- getNote() - Method in class stanford.cs106.audio.StdAudio.AudioEvent
-
- getNumberSquaresFlag() - Method in class stanford.karel.KarelWorld
-
- getObjectColor() - Method in class acm.graphics.GObject
-
This method returns the color set for this specific object, which may
be null
.
- getOctave() - Method in class stanford.cs106.audio.Note
-
Returns this Note's octave.
- getOSG() - Method in class acm.graphics.GCanvas
-
Returns the graphical pen for drawing on this canvas.
- getOutputColor() - Method in class acm.io.StandardConsoleModel
-
- getOutputColor() - Method in class acm.program.Program
-
Returns the current output color used to display output on the console.
- getOutputModel() - Method in class acm.program.CommandLineProgram
-
Returns the IOModel
used for program output, which will
typically be either the default IOConsole
or IODialog
object.
- getOutputModel() - Method in class acm.program.Program
-
Returns the IOModel
used for program output, which will
ordinarily be the console.
- getParam(String) - Method in class stanford.cs106.net.Request
-
Returns the value of this request's query parameter with the given name.
- getParameter(String) - Method in class acm.program.CommandLineProgram
-
Returns the parameter associated with name.
- getParameter(String) - Method in class acm.program.Program
-
Returns the parameter associated with name.
- getParameterTable() - Method in class acm.program.CommandLineProgram
-
Retrieves the parameter table.
- getParameterTable() - Method in class acm.program.Program
-
Retrieves the parameter table.
- getParams() - Method in class stanford.cs106.net.Request
-
Returns all of this request's query parameters as a map.
- getParent() - Method in class acm.graphics.GObject
-
Returns the parent of this object, which is the canvas or compound object in
which it is enclosed.
- getPathname() - Method in class stanford.karel.KarelWorld
-
- getPathName() - Method in class stanford.karel.KarelWorld
-
- getPattern() - Method in class acm.util.FileChooserFilter
-
- getPID() - Static method in class stanford.cs106.util.ProcessUtils
-
- getPitch() - Method in class stanford.cs106.audio.Note
-
Returns this Note's pitch value of A-G or R for a rest.
- getPixelArray() - Method in class acm.graphics.GImage
-
Returns a two-dimensional array of pixel values from the stored image.
- getPixelArray(Image) - Static method in class acm.util.MediaTools
-
Returns a two-dimensional array of the pixels in the image.
- getPixelsAsString() - Method in class acm.graphics.GCanvas
-
Returns a Base64-encoded representation of the pixel data of this image.
- getPlaceholder() - Method in class acm.gui.JPlaceholderTextField
-
- getPort() - Method in class stanford.cs106.net.BackEndServer
-
- getPort() - Method in class stanford.cs106.net.NetworkManager
-
- getPort() - Method in class stanford.cs106.net.SimpleServer
-
Returns the port on which this server will listen.
- getPreferredSize() - Method in class acm.gui.DoubleField
-
Overrides the standard definition to impose a target size.
- getPreferredSize() - Method in class acm.gui.IntField
-
Overrides the standard definition to impose a target size.
- getPreferredSize() - Method in class acm.io.IOConsole
-
- getPreferredSize() - Method in class acm.program.CommandLineProgram
-
Returns the preferred size of the content pane.
- getPreferredSize() - Method in class acm.program.Program
-
Returns the preferred size of the content pane.
- getPreferredSize() - Method in class stanford.karel.KarelControlPanel
-
- getProgram() - Method in class acm.program.ProgramMenuBar
-
Returns the Program
object associated with this menu.
- getProgram() - Method in class stanford.karel.KarelControlPanel
-
- getRaw(String) - Method in class stanford.cs106.net.Request
-
Returns the value of this request's query parameter with the given name.
- getReader() - Method in class acm.io.IOConsole
-
- getReader() - Method in class acm.program.CommandLineProgram
-
Returns a BufferedReader
whose input comes from the console.
- getReader() - Method in class acm.program.Program
-
Returns a BufferedReader
whose input comes from the console.
- getReal() - Method in class acm.program.Program
-
Reads and returns a double-precision value from the user.
- getReal(double, double) - Method in class acm.program.Program
-
Reads and returns a double-precision value from the user, which is
constrained to be within the specified inclusive range.
- getReal(String) - Method in class acm.program.Program
-
Prompts the user to enter an double-precision number, which is then
returned as the value of this method.
- getReal(String, double, double) - Method in class acm.program.Program
-
Prompts the user to enter an double-precision number, which is then returned
as the value of this method.
- getReceiveEvent() - Method in class stanford.cs106.net.NetworkManager
-
- getRed(int) - Static method in class acm.graphics.GImage
-
Returns the red component from an RGB value.
- getRegionPanel(String) - Method in class acm.program.CommandLineProgram
-
Gets the JPanel
for the specified region.
- getRegionPanel(String) - Method in class acm.program.Program
-
Gets the JPanel
for the specified region.
- getRepaintFlag() - Method in class stanford.karel.KarelWorld
-
- getResizer() - Method in class stanford.karel.KarelControlPanel
-
- getResource(String) - Method in class acm.util.PatchingClassLoader
-
- getResourceAsStream(String) - Method in class acm.util.PatchingClassLoader
-
- getReuse() - Static method in class acm.io.SimpleScanner
-
- getRGB(int, int) - Method in class acm.graphics.GCanvas
-
Returns the RGB color stored at the given (x, y) pixel, or 0 if that pixel falls outside the bounds of this canvas.
- getRightX() - Method in class acm.graphics.GObject
-
Returns the rightmost x-coordinate of the object.
- getRightX() - Method in class acm.program.Program
-
Returns the x-coordinate of the right edge of this program's window.
- getRowCount() - Method in class acm.gui.TableLayout
-
Returns the number of rows in the table.
- getRows() - Method in class acm.program.AsciiArtProgram
-
- getRows() - Method in class stanford.karel.KarelWorld
-
- getSampleData() - Method in class acm.util.SoundClip
-
Returns an array of integers corresponding to the samples in the primary
channel of the sound.
- getSampleData(int) - Method in class acm.util.SoundClip
-
Returns an array of integers corresponding to the samples in the specified
channel, which is typically represented by LEFT
or RIGHT
.
- getSamplePanel() - Method in class acm.gui.JFontChooser
-
- getSampleTextField() - Method in class acm.gui.JFontChooser
-
- getSaveFile() - Static method in class acm.program.HeadlessGraphicsProgram
-
- getSaveFile() - Method in class stanford.karel.HeadlessKarel
-
- getScreenHeight() - Method in class acm.program.Program
-
Returns the height of the screen in pixels.
- getScreenSize() - Method in class acm.program.Program
-
Returns the width x height of the screen in pixels.
- getScreenWidth() - Method in class acm.program.Program
-
Returns the width of the screen in pixels.
- getScrollPane() - Method in class acm.io.StandardConsoleModel
-
- getSelectedButton() - Method in class acm.gui.JButtonGroup
-
- getSelectedFont() - Method in class acm.gui.JFontChooser
-
Get the selected font.
- getSelectedFontFamily() - Method in class acm.gui.JFontChooser
-
Get the family name of the selected font.
- getSelectedFontSize() - Method in class acm.gui.JFontChooser
-
Get the size of the selected font.
- getSelectedFontStyle() - Method in class acm.gui.JFontChooser
-
Get the style of the selected font.
- getSelectedIndex() - Method in class acm.gui.JListOptionPane
-
- getSelectedText() - Method in class acm.gui.JButtonGroup
-
- getSelectedValue() - Method in class acm.gui.JListOptionPane
-
- getSelectedValue() - Method in class acm.gui.JStringList
-
Returns the string that is currently selected in this list.
- getSelectedValueColor() - Method in class acm.gui.JStringList
-
Returns the color of the string that is currently selected in this list.
- getSelectedValues() - Method in class acm.gui.JListOptionPane
-
- getSize() - Method in interface acm.graphics.GCanvasInterface
-
- getSize() - Method in class acm.graphics.GImage
-
Returns the size of this object as a GDimension
.
- getSize() - Method in class acm.graphics.GObject
-
Returns the size of the bounding box for this object.
- getSize() - Method in class acm.graphics.GOval
-
- getSize() - Method in class acm.graphics.GRectangle
-
Returns a new GDimension
object with the size of the GRectangle
.
- getSize() - Method in class acm.program.HeadlessGraphicsProgram
-
- getSize() - Method in class stanford.karel.KarelWorld
-
- getSpeed() - Method in class stanford.karel.KarelControlPanel
-
This method is invoked when the KarelWorld class needs to get the
simulation speed.
- getSquareSize() - Method in class stanford.karel.KarelWorld
-
- getStartPoint() - Method in class acm.graphics.GLine
-
Returns the coordinates of the initial point in the line.
- getStartupObject() - Method in class acm.program.Program
-
Retrieves the object that was created when this program was started
if that object is something other than a Program
.
- getStudent() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getSystemProperty(String) - Static method in class stanford.cs106.util.SystemProperties
-
- getSystemPropertyBoolean(String) - Static method in class stanford.cs106.util.SystemProperties
-
- getSystemPropertyBoolean(String, boolean) - Static method in class stanford.cs106.util.SystemProperties
-
- getSystemPropertyDouble(String) - Static method in class stanford.cs106.util.SystemProperties
-
- getSystemPropertyDouble(String, double) - Static method in class stanford.cs106.util.SystemProperties
-
- getSystemPropertyInt(String) - Static method in class stanford.cs106.util.SystemProperties
-
- getSystemPropertyInt(String, int) - Static method in class stanford.cs106.util.SystemProperties
-
- getTempFolder() - Static method in class stanford.cs106.io.IOUtils
-
The full path to the server's temp directory, such as "/tmp/foobar/".
- getTestCategory(Class<?>, Method) - Static method in class stanford.cs106.junit.JUnitUtils
-
- getTestCategory(Class<?>, Method, boolean) - Static method in class stanford.cs106.junit.JUnitUtils
-
- getTestFullName(Class<?>, Method) - Static method in class stanford.cs106.junit.JUnitUtils
-
- getText() - Method in class acm.graphics.GLabel
-
Returns the string displayed by this object.
- getText() - Method in interface acm.io.ConsoleModel
-
- getText(int, int) - Method in interface acm.io.ConsoleModel
-
- getText() - Method in class acm.io.StandardConsoleModel
-
- getText(int, int) - Method in class acm.io.StandardConsoleModel
-
- getText() - Method in class acm.io.SystemConsoleModel
-
- getText(int, int) - Method in class acm.io.SystemConsoleModel
-
- getTextContent(Node) - Static method in class stanford.cs106.util.XmlUtils
-
- getTextContent(Node, boolean) - Static method in class stanford.cs106.util.XmlUtils
-
- getTextPane() - Method in interface acm.io.ConsoleModel
-
- getTextPane() - Method in class acm.io.StandardConsoleModel
-
- getTextPane() - Method in class acm.io.SystemConsoleModel
-
- getTitle() - Method in class acm.program.CommandLineProgram
-
Gets the title of this program.
- getTitle() - Method in class acm.program.HeadlessGraphicsProgram
-
- getTitle() - Method in class acm.program.Program
-
Gets the title of this program.
- getTitle() - Method in interface acm.program.ProgramInterface
-
- getTitle() - Method in class stanford.karel.HeadlessKarel
-
- getTitle() - Method in class stanford.karel.KarelWorld
-
- getType() - Method in class stanford.cs106.audio.StdAudio.AudioEvent
-
- getType() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getUnderlyingCause(Throwable) - Static method in class stanford.cs106.util.ExceptionUtils
-
The true cause of an exception that has occurred.
- getValue() - Method in class acm.gui.DoubleField
-
Returns the value of this field as a double
.
- getValue() - Method in class acm.gui.IntField
-
Returns the value of this field as a int
.
- getValueAsDouble() - Method in class acm.gui.JPlaceholderTextField
-
- getValueAsInt() - Method in class acm.gui.JPlaceholderTextField
-
- getValueAsInteger() - Method in class acm.gui.JPlaceholderTextField
-
- getValueOf(String) - Static method in enum stanford.cs106.audio.Accidental
-
Returns the Accidental that is equivalent to the given string,
such as Accidental.SHARP for "SHARP", or null if the string does not
match any Accidental value.
- getValueOf(String) - Static method in enum stanford.cs106.audio.Pitch
-
Returns the Pitch that is equivalent to the given string,
such as Pitch.D for "D", or null if the string does not
match any Pitch value.
- getValueType() - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- getVersionString() - Method in class acm.gui.JFontChooser
-
- getVerticalAlignment() - Method in class acm.gui.TableLayout
-
Returns the vertical alignment for the table.
- getVgap() - Method in class acm.gui.TableLayout
-
Returns the vertical gap between components.
- getVolume() - Method in class acm.util.SoundClip
-
Returns the overall volume setting for the sound, which is a number
between 0 (silent) and 1 (maximum volume).
- getWidth() - Method in interface acm.graphics.GCanvasInterface
-
- getWidth() - Method in class acm.graphics.GLabel
-
Returns the width of this string, as it appears on the display.
- getWidth() - Method in class acm.graphics.GObject
-
Returns the width of this object, which is defined to be
the width of the bounding box.
- getWidth() - Method in class acm.graphics.GRectangle
-
Returns the width of this GDimension
.
- getWidth() - Method in class acm.program.CommandLineProgram
-
Returns the width of the central region.
- getWidth() - Method in class acm.program.HeadlessGraphicsProgram
-
- getWidth() - Method in class acm.program.Program
-
Returns the width of the central region.
- getWidth(String) - Static method in class stanford.cs106.util.StringUtils
-
- getWidth() - Method in class stanford.karel.KarelWorld
-
- getWindow() - Method in class acm.program.Program
-
Returns the Java Swing window that encloses this program.
- getWorkingDir() - Static method in class acm.io.SimpleScanner
-
- getWorld() - Method in class stanford.karel.Karel
-
- getWorld() - Method in class stanford.karel.KarelControlPanel
-
- getWorld() - Method in interface stanford.karel.KarelInterface
-
- getWorld() - Method in class stanford.karel.KarelProgram
-
Returns the KarelWorld
object in which Karel lives.
- getWorldDirectory() - Static method in class stanford.karel.KarelProgram
-
Returns the default directory in which Karel's worlds live.
- getWorldFile() - Method in class stanford.karel.HeadlessKarel
-
- getWriter() - Method in class acm.io.IOConsole
-
- getWriter() - Method in class acm.program.CommandLineProgram
-
Returns a PrintWriter
whose output is directed to the console.
- getWriter() - Method in class acm.program.Program
-
Returns a PrintWriter
whose output is directed to the console.
- getX() - Method in class acm.graphics.GObject
-
Returns the leftmost x-coordinate of the object.
- getX() - Method in class acm.graphics.GPoint
-
Returns the x coordinate of this GPoint
.
- getX() - Method in class acm.graphics.GRectangle
-
Returns the x coordinate of this GRectangle
.
- getY() - Method in class acm.graphics.GObject
-
Returns the topmost y-coordinate of the object.
- getY() - Method in class acm.graphics.GPoint
-
Returns the y coordinate of this GPoint
.
- getY() - Method in class acm.graphics.GRectangle
-
Returns the y coordinate of this GRectangle
.
- getYesOrNo(String) - Method in class acm.program.Program
-
Prompts the user to answer a yes/no question and returns true if the user
typed 'yes' (or anything that starts with a 'y', case-insensitively),
false if the user types anything that starts with 'n', or re-prompts if
the user doesn't type a 'y' or 'n' word.
- getZipFileContents(URL) - Static method in class stanford.cs106.net.Downloader
-
- GImage - Class in acm.graphics
-
The GImage
class is a graphical object whose appearance is
defined by an image.
- GImage(Image) - Constructor for class acm.graphics.GImage
-
Creates a new GImage
object at the origin that displays
the specified image.
- GImage(String) - Constructor for class acm.graphics.GImage
-
Creates a new GImage
object by looking for an image with that
name.
- GImage(int[][]) - Constructor for class acm.graphics.GImage
-
Creates a new GImage
object at the origin.
- GImage(Image, double, double) - Constructor for class acm.graphics.GImage
-
Creates a new GImage
object at the specified coordinates.
- GImage(String, double, double) - Constructor for class acm.graphics.GImage
-
Creates a new GImage
object at the specified coordinates.
- GImage(int[][], double, double) - Constructor for class acm.graphics.GImage
-
Creates a new GImage
object at the specified coordinates.
- GLabel - Class in acm.graphics
-
The GLabel
class is a graphical object whose appearance
consists of a text string.
- GLabel(String) - Constructor for class acm.graphics.GLabel
-
Creates a new GLabel
object initialized to contain the specified string.
- GLabel(String, double, double) - Constructor for class acm.graphics.GLabel
-
Creates a new GLabel
object with its baseline origin at the
specified position.
- GLine - Class in acm.graphics
-
The GLine
class is a graphical object whose appearance consists
of a line segment.
- GLine() - Constructor for class acm.graphics.GLine
-
Constructs a line segment of length 0 at position (0, 0).
- GLine(double, double) - Constructor for class acm.graphics.GLine
-
Constructs a line segment of length 0 at position (x0, y0).
- GLine(double, double, double, double) - Constructor for class acm.graphics.GLine
-
Constructs a line segment from its endpoints.
- GLineGroup - Class in acm.graphics
-
A line group represents a collection of points that form line segments.
- GLineGroup() - Constructor for class acm.graphics.GLineGroup
-
Creates a new line group that does not contain any points.
- GMath - Class in acm.graphics
-
This class defines a variety of static mathematical methods that are useful
for the acm.graphics
package.
- GObject - Class in acm.graphics
-
This class is the common superclass of all graphical objects that can
be displayed on a
GCanvas
.
- GObject() - Constructor for class acm.graphics.GObject
-
Constructs a new GObject
and initializes its state.
- GOval - Class in acm.graphics
-
- GOval(double, double) - Constructor for class acm.graphics.GOval
-
- GOval(double, double, double, double) - Constructor for class acm.graphics.GOval
-
- GPoint - Class in acm.graphics
-
This class is a double-precision version of the Point
class in
java.awt
.
- GPoint() - Constructor for class acm.graphics.GPoint
-
Constructs a new GPoint
at the origin (0, 0).
- GPoint(double, double) - Constructor for class acm.graphics.GPoint
-
Constructs a new GPoint
with the specified coordinates.
- GPoint(GPoint) - Constructor for class acm.graphics.GPoint
-
Constructs a new GPoint
from an existing one.
- GPoint(Point) - Constructor for class acm.graphics.GPoint
-
Constructs a new GPoint
from an existing AWT
Point
.
- Graph<V,E> - Interface in stanford.cs106.collections
-
A Graph is a collection of vertices and edges between vertices.
- GraphColor - Enum in stanford.cs106.collections
-
- GraphicsProgram - Class in acm.program
-
This class is a standard subclass of
Program
whose principal window is
used for drawing graphics.
- GraphicsProgram() - Constructor for class acm.program.GraphicsProgram
-
Creates a new graphics program.
- GraphicsProgramInterface - Interface in acm.program
-
- GRAY - Static variable in class stanford.karel.HeadlessSuperKarel
-
- GRAY - Static variable in class stanford.karel.KarelProgram
-
- GRAY - Static variable in class stanford.karel.SuperKarel
-
- GRectangle - Class in acm.graphics
-
This class is a double-precision version of the Rectangle
class
in java.awt
.
- GRectangle() - Constructor for class acm.graphics.GRectangle
-
Constructs a new empty GRectangle
.
- GRectangle(double, double, double, double) - Constructor for class acm.graphics.GRectangle
-
Constructs a new GRectangle
with the specified coordinates and size.
- GRectangle(double, double) - Constructor for class acm.graphics.GRectangle
-
Constructs a GRectangle
at the origin with the specified width and height.
- GRectangle(GPoint, GDimension) - Constructor for class acm.graphics.GRectangle
-
Constructs a new GRectangle
with the specified location and size.
- GRectangle(GPoint) - Constructor for class acm.graphics.GRectangle
-
Constructs a new empty GRectangle
at the specified location.
- GRectangle(GDimension) - Constructor for class acm.graphics.GRectangle
-
Constructs a new GRectangle
at the origin with the specified size.
- GRectangle(GRectangle) - Constructor for class acm.graphics.GRectangle
-
Constructs a new GRectangle
from an existing one.
- GREEN - Static variable in class stanford.karel.HeadlessSuperKarel
-
- GREEN - Static variable in class stanford.karel.KarelProgram
-
- GREEN - Static variable in class stanford.karel.SuperKarel
-
- GResizable - Interface in acm.graphics
-
Specifies the characteristics of a graphical object that supports the
setSize
and setBounds
methods.
- Grid<E> - Class in stanford.cs106.collections
-
- Grid(int, int) - Constructor for class stanford.cs106.collections.Grid
-
- grow(double, double) - Method in class acm.graphics.GRectangle
-
Adjusts the edges of a rectangle by the specified dx
and dy
offsets along each of its borders.
- growFont(JComponent) - Static method in class stanford.cs106.gui.GuiUtils
-
- growFont(JComponent, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- GScalable - Interface in acm.graphics
-
Specifies the characteristics of a graphical object that supports the
scale
method.
- GuiUtils - Class in stanford.cs106.gui
-
- ignoreCommand() - Method in class stanford.karel.KarelWorld
-
- inBounds(int, int) - Method in class acm.graphics.GCanvas
-
Whether the given (x, y) point falls within the bounds of this canvas, from (0, 0) ..
- inBounds(double, double) - Method in class acm.graphics.GImage
-
Returns whether the given x/y pixel position is within the bounds of the image,
in other words, whether it is between (0, 0) and (w, h).
- inBounds(int, int) - Method in class stanford.cs106.collections.Grid
-
- inDegree(String) - Method in class stanford.cs106.collections.BasicGraph
-
Returns the number of incoming edges to the given vertex.
- inDegree(Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Returns the number of incoming edges to the given vertex.
- inDegree(String) - Method in interface stanford.cs106.collections.Graph
-
Returns the number of incoming edges to the given vertex.
- inDegree(Vertex<V>) - Method in interface stanford.cs106.collections.Graph
-
Returns the number of incoming edges to the given vertex.
- indexOfSafe(List<T>, T) - Static method in class stanford.cs106.util.CollectionUtils
-
Returns the index of the given value in the given list,
using == to compare rather than .equals.
- INFINITE - Static variable in class stanford.karel.KarelProgram
-
- INFINITE - Static variable in class stanford.karel.KarelWorld
-
- init() - Method in class acm.program.CommandLineProgram
-
The init method is called at startup time before the run method is
called.
- init() - Method in class acm.program.ConsoleProgram
-
Specifies the code to be executed as startup time before the
run
method is called.
- init() - Method in class acm.program.DialogProgram
-
Specifies the code to be executed as startup time before the
run
method is called.
- init() - Method in class acm.program.GraphicsProgram
-
Specifies the code to be executed as startup time before the
run
method is called.
- init() - Method in class acm.program.HeadlessGraphicsProgram
-
- init() - Method in class acm.program.Program
-
Specifies the code to be executed as startup time before the
run
method is called.
- init() - Method in interface acm.program.ProgramInterface
-
- init() - Method in class stanford.karel.HeadlessKarel
-
Initializes Karel.
- init(int, int) - Method in class stanford.karel.KarelWorld
-
- INPUT_STYLE - Static variable in interface acm.io.ConsoleModel
-
- insertUpdate(DocumentEvent) - Method in class acm.gui.JFontChooser.ListSearchTextFieldDocumentHandler
-
- insertUpdate(DocumentEvent) - Method in class acm.program.Program
-
Required method of DocumentListener interface.
- install(Component) - Method in class acm.program.ProgramMenuBar
-
Installs the menu bar in the JFrame
or Program
object enclosing the component comp
.
- intensityToSample(double) - Static method in class acm.util.SoundClip
-
Converts an intensity value between -1.0 and +1.0 into the corresponding
integer sample in the range -32767 and +32767.
- intersection(GRectangle) - Method in class acm.graphics.GRectangle
-
Returns the largest rectangle that is contained in both
r1
and r2
.
- intersects(double, double, double, double, double, double, double) - Static method in class acm.graphics.GLine
-
Returns whether the given x/y point intersects the line from x0,y0 to x1,y1 of the given width.
- intersects(GObject) - Method in class acm.graphics.GObject
-
Returns true if this object touches the given other object.
- intersects(GRectangle) - Method in class acm.graphics.GRectangle
-
Returns true
if r1
and r2
have a nonempty
intersection.
- intervalAdded(ListDataEvent) - Method in class acm.program.Program
-
Required method of ListDataListener interface.
- intervalRemoved(ListDataEvent) - Method in class acm.program.Program
-
Required method of ListDataListener interface.
- IntField - Class in acm.gui
-
This class implements a simple interactor that accepts an integer value.
- IntField() - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value.
- IntField(int) - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value.
- IntField(int, int) - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value,
which is constrained to be within the specified range.
- IntField(int, int, int) - Constructor for class acm.gui.IntField
-
Creates a new field object for entering a int
value,
which is constrained to be within the specified range.
- invalidateLayout(Container) - Method in class acm.gui.TableLayout
-
Indicates that the layout is no longer valid.
- inverseNeighbors(String) - Method in class stanford.cs106.collections.BasicGraph
-
- inverseNeighbors(Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
- invisibleObjects - Variable in class acm.program.Program
-
- IOConsole - Class in acm.io
-
- IOConsole() - Constructor for class acm.io.IOConsole
-
- ioException() - Method in class acm.io.SimpleScanner
-
Returns the IOException last thrown by this Scanner.
- IORuntimeException - Exception in stanford.cs106.io
-
- IORuntimeException(String) - Constructor for exception stanford.cs106.io.IORuntimeException
-
- IORuntimeException(String, Throwable) - Constructor for exception stanford.cs106.io.IORuntimeException
-
- IORuntimeException(Throwable) - Constructor for exception stanford.cs106.io.IORuntimeException
-
- IOUtils - Class in stanford.cs106.io
-
Utility methods related to file processing and I/O.
- isAnimated() - Method in class acm.program.Program
-
Returns true if the program is currently in animated mode.
- isAntiAliasing() - Method in class acm.graphics.GCanvas
-
Sets whether this canvas uses anti-aliasing, which is smoothing and blending of neighboring pixels.
- isAntiAliasing() - Method in interface acm.graphics.GCanvasInterface
-
- isAntiAliasing() - Static method in class acm.graphics.GObject
-
- isAntiAliasing() - Method in class acm.program.GraphicsProgram
-
Sets whether this program's canvas uses anti-aliasing, which is
smoothing and blending of neighboring pixels.
- isAntiAliasing() - Method in class acm.program.HeadlessGraphicsProgram
-
- isApplet() - Method in class acm.program.Program
-
Returns true
if this program is running as an applet in a browser.
- isAppletMode() - Method in class acm.program.CommandLineProgram
-
Returns true
if this program is running as an applet in a browser.
- isAppletMode() - Method in class acm.program.Program
-
Returns true
if this program is running as an applet in a browser.
- isBoolean(String) - Static method in class acm.graphics.GMath
-
Returns true if the given string could be interpreted as a boolean, such as "true" or "false".
- isCachingEnabled() - Static method in class acm.util.MediaTools
-
This method returns the status of the flag that determins whether images
and audio clips are cached internally by name, as described in
setCachingEnabled
.
- isCapturing() - Static method in class stanford.cs106.io.OutputCapturer
-
Returns true if output is currently being captured.
- isChar(String) - Static method in class acm.graphics.GMath
-
Returns true if the given string could be interpreted as a char, such as "Q" or "\n".
- isCommandEnabled(String) - Method in class acm.io.StandardConsoleModel
-
- isConsoleMenuItem(JMenuItem) - Method in class acm.io.IOConsole
-
- isDelimiter(int) - Method in class stanford.cs106.gui.JComboGroupBox
-
- isDirected() - Method in class stanford.cs106.collections.BasicGraph
-
Returns true if this is a directed graph, and false if it is undirected.
- isDirected() - Method in interface stanford.cs106.collections.Graph
-
Returns true if this is a directed graph, and false if it is undirected.
- isDouble(String) - Static method in class acm.graphics.GMath
-
Returns true if the given string could be interpreted as a double, such as "123.45".
- isEmpty() - Method in class acm.graphics.GLineGroup
-
Returns true if there are no points in this line group.
- isEmpty() - Method in class acm.graphics.GRectangle
-
Returns true
if the rectangle is empty.
- isEmpty() - Method in class acm.gui.JButtonGroup
-
- isEmpty() - Method in class stanford.cs106.collections.AbstractMultimap
-
- isEmpty() - Method in class stanford.cs106.collections.AbstractTable
-
- isEmpty() - Method in class stanford.cs106.collections.BasicGraph
-
Returns true if this graph does not contain any vertices or edges.
- isEmpty() - Method in interface stanford.cs106.collections.Graph
-
Returns true if this graph does not contain any vertices or edges.
- isEmpty() - Method in class stanford.cs106.collections.Grid
-
- isEmpty() - Method in class stanford.cs106.collections.Lexicon
-
- isEmpty() - Method in interface stanford.cs106.collections.Multimap
-
- isEmpty() - Method in interface stanford.cs106.collections.Table
-
- isEmpty() - Static method in class stanford.cs106.gui.ClipboardUtils
-
Returns true if the clipboard currently does not contain any text.
- isExitOnClose() - Method in class acm.program.Program
-
Returns whether the program will exit when its window is closed (default true).
- isFalsey(String) - Static method in class stanford.cs106.util.StringUtils
-
- isFilled() - Method in class acm.graphics.GOval
-
- isFocusedItem(JMenuItem) - Method in class acm.program.ProgramMenuBar
-
Returns true
if the item is a focused item.
- isHeadless() - Static method in class acm.program.CommandLineProgram
-
Returns true if the program is running in non-graphical "headless" mode.
- isInitialized() - Method in class acm.program.Program
-
Returns true if this program's init() method has been called.
- isInnerClass(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- isInnerClass(String) - Static method in class stanford.cs106.reflect.ClassUtils
-
- isInteger(String) - Static method in class acm.graphics.GMath
-
Returns true if the given string could be interpreted as an integer, such as "12345".
- isJUnitMethod(Class<?>, Method) - Static method in class stanford.cs106.junit.JUnitUtils
-
- isJUnitMethod(Class<?>, String) - Static method in class stanford.cs106.junit.JUnitUtils
-
- isLong(String) - Static method in class acm.graphics.GMath
-
Returns true if the given string could be interpreted as an long, such as "12345".
- isMuted() - Static method in class stanford.cs106.audio.StdAudio
-
Returns whether the audio system is currently muted.
- isPaused() - Static method in class stanford.cs106.audio.StdAudio
-
Returns whether the audio system is currently paused.
- isPointSelection() - Method in interface acm.io.ConsoleModel
-
- isPointSelection() - Method in class acm.io.StandardConsoleModel
-
- isPointSelection() - Method in class acm.io.SystemConsoleModel
-
- isRaised() - Method in class acm.graphics.G3DRect
-
- isRepeat() - Method in class stanford.cs106.audio.Note
-
Returns true if this Note is the start or end of a repeated section.
- isRest() - Method in class stanford.cs106.audio.Note
-
Returns true if this Note is a rest.
- isRunning() - Method in class stanford.cs106.net.BackEndServer
-
- isRunning() - Method in class stanford.cs106.net.SimpleServer
-
Returns whether the server is currently active and listening for HTTP requests,
which will be true after start() is called.
- isSelected(String) - Method in class acm.gui.JButtonGroup
-
- isStarted() - Method in class acm.program.CommandLineProgram
-
Checks to see whether this program has started, usually by checking to see
whether some pane exists.
- isStarted() - Method in class acm.program.GraphicsProgram
-
Checks to see whether this program has started, usually by checking to
see whether some pane exists.
- isStarted() - Method in class acm.program.Program
-
Checks to see whether this program has started, usually by checking to see
whether some pane exists.
- isStarted() - Method in class stanford.karel.KarelProgram
-
Checks to see whether this program has started.
- isStereo() - Method in class acm.util.SoundClip
-
Returns true
if the sound is recorded in stereo.
- isStrictGridBagModel() - Method in class acm.gui.TableLayout
-
Returns true
if this layout manager is treating multirow
cells exactly as GridBagLayout
does.
- isTruthy(String) - Static method in class stanford.cs106.util.StringUtils
-
- isVertical() - Method in class acm.gui.JButtonGroup
-
- isVisible() - Method in class acm.graphics.GObject
-
Checks to see whether this object is visible.
- isWeighted() - Method in class stanford.cs106.collections.BasicGraph
-
Returns true if this is a weighted graph and false if it is unweighted.
- isWeighted() - Method in interface stanford.cs106.collections.Graph
-
Returns true if this is a weighted graph and false if it is unweighted.
- itemStateChanged(ItemEvent) - Method in class acm.program.Program
-
Required empty method of ItemListener interface.
- iterator() - Method in class acm.graphics.GCanvas
-
Returns an Iterator
that cycles through the elements within
this container in the default direction, which is from back to front.
- iterator(int) - Method in class acm.graphics.GCanvas
-
- iterator() - Method in interface acm.graphics.GCanvasInterface
-
- iterator(int) - Method in interface acm.graphics.GCanvasInterface
-
- iterator() - Method in class acm.graphics.GCompound
-
Returns an Iterator
that cycles through the elements within
this container in the default direction, which is from back to front.
- iterator(int) - Method in class acm.graphics.GCompound
-
- iterator() - Method in class acm.graphics.GLineGroup
-
Returns an Iterator for examining the points in this line group.
- iterator() - Method in class acm.gui.JButtonGroup
-
- iterator() - Method in class acm.program.GraphicsProgram
-
Returns an Iterator
that cycles through the elements within
this container in the default direction, which is from back to front.
- iterator(int) - Method in class acm.program.GraphicsProgram
-
Returns an
Iterator
that cycles through the elements within
this container in the specified direction, which must be one of the
constants
FRONT_TO_BACK
or
BACK_TO_FRONT
from
the
GContainer
interface.
- iterator() - Method in class acm.program.HeadlessGraphicsProgram
-
- iterator(int) - Method in class acm.program.HeadlessGraphicsProgram
-
- iterator() - Method in class acm.program.ProgramMenuBar
-
Returns an iterator that enumerates the individual menu items under the
control of the menu bar.
- iterator() - Method in class stanford.cs106.collections.Lexicon
-
- pack() - Method in class acm.program.Program
-
Resizes this program to exactly fit the preferred size of its contents.
- pad(JComponent, int, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- padL(int, int) - Static method in class stanford.cs106.util.StringUtils
-
- padL(String, int) - Static method in class stanford.cs106.util.StringUtils
-
- padNumber(int, int) - Static method in class stanford.cs106.util.StringUtils
-
- padNumber(int, int, boolean) - Static method in class stanford.cs106.util.StringUtils
-
- padR(int, int) - Static method in class stanford.cs106.util.StringUtils
-
- padR(String, int) - Static method in class stanford.cs106.util.StringUtils
-
- paint(Graphics) - Method in class acm.graphics.GObject
-
All subclasses of GObject
must define a paint
method which allows the object to draw itself on the Graphics
context passed in as the parameter g
.
- paint2d(Graphics2D) - Method in class acm.graphics.G3DRect
-
Implements the paint2d
operation for this graphical object.
- paint2d(Graphics2D) - Method in class acm.graphics.GCompound
-
Implements the paint2d
operation for this graphical object.
- paint2d(Graphics2D) - Method in class acm.graphics.GImage
-
Implements the paint2d
operation for this graphical object.
- paint2d(Graphics2D) - Method in class acm.graphics.GLabel
-
Implements the paint2d
operation for this graphical object.
- paint2d(Graphics2D) - Method in class acm.graphics.GLine
-
Implements the paint2d
operation for this graphical object.
- paint2d(Graphics2D) - Method in class acm.graphics.GLineGroup
-
Paints the group of lines on the screen.
- paint2d(Graphics2D) - Method in class acm.graphics.GObject
-
All subclasses of GObject
must define a paint2d
method which allows the object to draw itself on the Graphics
context passed in as the parameter g
.
- paint2d(Graphics2D) - Method in class acm.graphics.GOval
-
- paintComponent(Graphics) - Method in class acm.graphics.GCanvas
-
Paints the canvas.
- paintComponent(Graphics) - Method in class acm.gui.JPlaceholderTextField
-
- paintComponent(Graphics) - Method in class stanford.karel.KarelWorld
-
- paintCorner(Color) - Method in class stanford.karel.HeadlessSuperKarel
-
- paintCorner(int) - Method in class stanford.karel.HeadlessSuperKarel
-
- paintCorner(double, double, double) - Method in class stanford.karel.HeadlessSuperKarel
-
- paintCorner(Color) - Method in class stanford.karel.SuperKarel
-
- paintCorner(int) - Method in class stanford.karel.SuperKarel
-
- paintCorner(double, double, double) - Method in class stanford.karel.SuperKarel
-
- paramString() - Method in class acm.graphics.GLabel
-
Returns a string indicating the parameters of this object.
- paramString() - Method in class acm.graphics.GLine
-
Returns a string indicating the parameters of this object.
- paramString() - Method in class acm.graphics.GLineGroup
-
Returns a string indicating the parameters of this object.
- paramString() - Method in class acm.graphics.GObject
-
Returns a string indicating the parameters of this object.
- parseBooleanArray(String) - Static method in class stanford.cs106.util.StringUtils
-
- parseCharArray(String) - Static method in class stanford.cs106.util.StringUtils
-
- parseDoubleArray(String) - Static method in class stanford.cs106.util.StringUtils
-
- parseIntArray(String) - Static method in class stanford.cs106.util.StringUtils
-
- parseIntArray2D(String) - Static method in class stanford.cs106.util.StringUtils
-
- parsePoint(String) - Static method in class stanford.cs106.util.StringUtils
-
- parseStringArray(String) - Static method in class stanford.cs106.util.StringUtils
-
- parseValue(Class<?>, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- parseValue(Class<?>, Type, String) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- pass(String) - Static method in class stanford.cs106.junit.Assert
-
- paste() - Method in interface acm.io.ConsoleModel
-
- paste() - Method in class acm.io.IOConsole
-
- paste() - Method in class acm.io.StandardConsoleModel
-
- paste() - Method in class acm.io.SystemConsoleModel
-
- PatchingClassLoader - Class in acm.util
-
A ClassLoader that allows you to patch what the superclass is for an existing class
as it is loaded.
- PatchingClassLoader(String, Class<?>) - Constructor for class acm.util.PatchingClassLoader
-
- PatchingClassLoader(String, String) - Constructor for class acm.util.PatchingClassLoader
-
- pause(double) - Method in class acm.graphics.GObject
-
Delays the calling thread for the specified time, which is expressed in
milliseconds.
- pause(double) - Method in class acm.program.CommandLineProgram
-
Causes the program to delay for the given number of milliseconds.
- pause(double) - Method in class acm.program.HeadlessGraphicsProgram
-
- pause(double) - Method in class acm.program.Program
-
Delays the calling thread for the specified time, which is expressed in
milliseconds.
- pause(double) - Method in interface acm.program.ProgramInterface
-
- pause(double) - Method in class stanford.karel.HeadlessSuperKarel
-
- pause(double) - Method in interface stanford.karel.KarelInterface
-
- pause(double) - Method in class stanford.karel.SuperKarel
-
- pauseTick() - Method in class acm.program.Program
-
Sets a 'pause tick' flag.
- PGDN - Variable in class acm.program.ProgramMenuBar
-
- PGUP - Variable in class acm.program.ProgramMenuBar
-
- pickBeeper() - Method in class stanford.karel.Karel
-
- pickBeeper() - Method in interface stanford.karel.KarelInterface
-
- PINK - Static variable in class stanford.karel.HeadlessSuperKarel
-
- PINK - Static variable in class stanford.karel.KarelProgram
-
- PINK - Static variable in class stanford.karel.SuperKarel
-
- Pitch - Enum in stanford.cs106.audio
-
A Pitch represents a musical pitch.
- play() - Method in class acm.util.SoundClip
-
Plays the sound through the computer's audio system.
- play() - Method in class stanford.cs106.audio.Note
-
Plays this note through the underlying audio system.
- play() - Method in class stanford.cs106.audio.SplClip
-
- play(double) - Static method in class stanford.cs106.audio.StdAudio
-
Write one sample (between -1.0 and +1.0) to standard audio.
- play(double[]) - Static method in class stanford.cs106.audio.StdAudio
-
Write an array of samples (between -1.0 and +1.0) to standard audio.
- play(double[], double) - Static method in class stanford.cs106.audio.StdAudio
-
Write an array of samples (between -1.0 and +1.0) to standard audio.
- play(Note, double[], double) - Static method in class stanford.cs106.audio.StdAudio
-
Write an array of samples (between -1.0 and +1.0) to standard audio.
- play(String) - Static method in class stanford.cs106.audio.StdAudio
-
Play a sound file (in .wav or .au format) in a background thread.
- plural(int) - Static method in class stanford.cs106.util.StringUtils
-
- PLUS1 - Static variable in class stanford.karel.KarelWorld
-
- popupMenuCanceled(PopupMenuEvent) - Method in class acm.program.Program
-
Required method of PopupMenuListener interface.
- popupMenuWillBecomeInvisible(PopupMenuEvent) - Method in class acm.program.Program
-
Required method of PopupMenuListener interface.
- popupMenuWillBecomeVisible(PopupMenuEvent) - Method in class acm.program.Program
-
Required method of PopupMenuListener interface.
- portIsAvailable() - Method in class stanford.cs106.net.SimpleServer
-
Returns true if this server's port is available for listening.
- portIsAvailable(int) - Static method in class stanford.cs106.net.SimpleServer
-
Returns true if the given port is available for listening.
- preferredLayoutSize(Container) - Method in class acm.gui.TableLayout
-
Calculates the preferred size for the FrameLayout
component
when laid out in the target
container.
- prefixCount() - Method in class stanford.cs106.collections.Lexicon
-
- pressedOk() - Method in class acm.gui.JListOptionPane
-
- previous() - Method in class stanford.cs106.collections.Vertex
-
Returns the value of the internal 'previous' vertex marker for this vertex.
- primitiveFor(Class<?>) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- print(String, int) - Method in interface acm.io.ConsoleModel
-
- print(PrintJob) - Method in interface acm.io.ConsoleModel
-
- print(String) - Method in class acm.io.IOConsole
-
- print(boolean) - Method in class acm.io.IOConsole
-
- print(char) - Method in class acm.io.IOConsole
-
- print(double) - Method in class acm.io.IOConsole
-
- print(float) - Method in class acm.io.IOConsole
-
- print(int) - Method in class acm.io.IOConsole
-
- print(long) - Method in class acm.io.IOConsole
-
- print(Object) - Method in class acm.io.IOConsole
-
- print(String, int) - Method in class acm.io.StandardConsoleModel
-
- print(PrintJob) - Method in class acm.io.StandardConsoleModel
-
- print(String, int) - Method in class acm.io.SystemConsoleModel
-
- print(PrintJob) - Method in class acm.io.SystemConsoleModel
-
- print(String) - Method in class acm.program.CommandLineProgram
-
Displays the argument value on the console, leaving the cursor at the end of
the output.
- print(boolean) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display a boolean
.
- print(char) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display a char
.
- print(double) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display a double
.
- print(float) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display a float
.
- print(int) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display an int
.
- print(long) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display a long
.
- print(Object) - Method in class acm.program.CommandLineProgram
-
Makes sure that print
can display an Object
.
- print(String) - Method in class acm.program.ConsoleProgram
-
- print(String, Color) - Method in class acm.program.ConsoleProgram
-
- print(Object) - Method in class acm.program.HeadlessGraphicsProgram
-
- print(String) - Method in class acm.program.HeadlessGraphicsProgram
-
- print(boolean) - Method in class acm.program.Program
-
Makes sure that print
can display a boolean
.
- print(boolean, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(char) - Method in class acm.program.Program
-
Makes sure that print
can display a char
.
- print(char, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(double) - Method in class acm.program.Program
-
Makes sure that print
can display a double
.
- print(double, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(float) - Method in class acm.program.Program
-
Makes sure that print
can display a float
.
- print(float, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(int) - Method in class acm.program.Program
-
Makes sure that print
can display an int
.
- print(int, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(long) - Method in class acm.program.Program
-
Makes sure that print
can display a long
.
- print(long, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(Object) - Method in class acm.program.Program
-
Makes sure that print
can display an Object
.
- print(Object, Color) - Method in class acm.program.Program
-
Prints the given value in the given color.
- print(String) - Method in class acm.program.Program
-
Displays the argument value on the console, leaving the cursor at the end of
the output.
- print(String, Color) - Method in class acm.program.Program
-
Prints the given string in the given color.
- print(Object) - Method in interface acm.program.ProgramInterface
-
- print(String) - Method in interface acm.program.ProgramInterface
-
- print(int) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(double) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(float) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(long) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(short) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(byte) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(boolean) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(char) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(Object) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(String) - Method in class stanford.cs106.io.LimitedPrintStream
-
- print(Object) - Method in class stanford.karel.HeadlessKarel
-
- print(String) - Method in class stanford.karel.HeadlessKarel
-
- printCallback(String, int) - Method in class acm.io.StandardConsoleModel
-
- printComponentHierarchy(Component) - Static method in class stanford.cs106.gui.GuiUtils
-
- printConsole() - Method in class acm.io.IOConsole
-
- printConsole(PrintJob) - Method in class acm.io.IOConsole
-
- printf(String, Object...) - Method in class acm.program.CommandLineProgram
-
Writes a formatted string to this output stream using the specified format string and arguments.
- printf(String, Object...) - Method in class acm.program.ConsoleProgram
-
- printf(String, Object...) - Method in class acm.program.HeadlessGraphicsProgram
-
- printf(String, Object...) - Method in class acm.program.Program
-
Writes a formatted string to this output stream using the specified format string and arguments.
- printf(String, Object...) - Method in interface acm.program.ProgramInterface
-
- printf(String, Object...) - Method in class stanford.karel.HeadlessKarel
-
- println() - Method in class acm.io.IOConsole
-
- println(String) - Method in class acm.io.IOConsole
-
- println(boolean) - Method in class acm.io.IOConsole
-
- println(char) - Method in class acm.io.IOConsole
-
- println(double) - Method in class acm.io.IOConsole
-
- println(float) - Method in class acm.io.IOConsole
-
- println(int) - Method in class acm.io.IOConsole
-
- println(long) - Method in class acm.io.IOConsole
-
- println(Object) - Method in class acm.io.IOConsole
-
- println() - Method in class acm.program.CommandLineProgram
-
Advances the console cursor to the beginning of the next line.
- println(String) - Method in class acm.program.CommandLineProgram
-
Displays the argument value on the console and then advances the cursor
to the beginning of the next line.
- println(boolean) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display a boolean
.
- println(char) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display a char
.
- println(double) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display a double
.
- println(float) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display a float
.
- println(int) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display an int
.
- println(long) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display a long
.
- println(Object) - Method in class acm.program.CommandLineProgram
-
Makes sure that println
can display an Object
.
- println() - Method in class acm.program.ConsoleProgram
-
- println(String) - Method in class acm.program.ConsoleProgram
-
- println(String, Color) - Method in class acm.program.ConsoleProgram
-
- println() - Method in class acm.program.HeadlessGraphicsProgram
-
- println(Object) - Method in class acm.program.HeadlessGraphicsProgram
-
- println(String) - Method in class acm.program.HeadlessGraphicsProgram
-
- println() - Method in class acm.program.Program
-
Advances the console cursor to the beginning of the next line.
- println(boolean) - Method in class acm.program.Program
-
Makes sure that println
can display a boolean
.
- println(boolean, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(char) - Method in class acm.program.Program
-
Makes sure that println
can display a char
.
- println(char, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(double) - Method in class acm.program.Program
-
Makes sure that println
can display a double
.
- println(double, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(float) - Method in class acm.program.Program
-
Makes sure that println
can display a float
.
- println(float, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(int) - Method in class acm.program.Program
-
Makes sure that println
can display an int
.
- println(int, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(long) - Method in class acm.program.Program
-
Makes sure that println
can display a long
.
- println(long, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(Object) - Method in class acm.program.Program
-
Makes sure that println
can display an Object
.
- println(Object, Color) - Method in class acm.program.Program
-
Prints the given value in the given color and then advances the cursor to the beginning of the next line.
- println(String) - Method in class acm.program.Program
-
Displays the argument value on the console and then advances the cursor
to the beginning of the next line.
- println(String, Color) - Method in class acm.program.Program
-
Prints the given string in the given color and then advances the cursor to the beginning of the next line.
- println() - Method in interface acm.program.ProgramInterface
-
- println(Object) - Method in interface acm.program.ProgramInterface
-
- println(String) - Method in interface acm.program.ProgramInterface
-
- println(int) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(double) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(float) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(long) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(short) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(byte) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(boolean) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(char) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(Object) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(String) - Method in class stanford.cs106.io.LimitedPrintStream
-
- println(boolean) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given value, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println(char) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given value, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println(double) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given value, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println(int) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given value, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println(long) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given value, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println(Object) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given value, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println(String) - Static method in class stanford.cs106.util.RecursionUtils
-
Prints the given string, with each line indented relative to how many
recursive calls are currently on top of the call stack.
- println() - Method in class stanford.karel.HeadlessKarel
-
- println(Object) - Method in class stanford.karel.HeadlessKarel
-
- println(String) - Method in class stanford.karel.HeadlessKarel
-
- ProcessUtils - Class in stanford.cs106.util
-
- Program - Class in acm.program
-
This class is the superclass for all executable
programs in the acm.program
package.
- Program() - Constructor for class acm.program.Program
-
This code initializes the program data structures.
- PROGRAM_COMPLETED_TITLE_SUFFIX - Static variable in class acm.program.AbstractConsoleProgram
-
- ProgramInterface - Interface in acm.program
-
This interface contains all methods that Program classes are required to implement.
- ProgramMenuBar - Class in acm.program
-
This class standardizes the menu bars used in the ACM program package.
- ProgramMenuBar(Program) - Constructor for class acm.program.ProgramMenuBar
-
Creates an empty ProgramMenuBar
.
- ProgramStartupFlags - Interface in acm.program
-
- progress(int, long, byte[], Map) - Method in class stanford.cs106.audio.SplClip
-
- prompt(String) - Method in class acm.program.Program
-
Pops up a dialog box displaying the given message and asking the user to type a response.
- promptUserForFile(String) - Method in class acm.program.AbstractConsoleProgram
-
Asks the user to type a file name, re-prompting until the user types a
file that exists in the current directory.
- promptUserForFile(String, String) - Method in class acm.program.AbstractConsoleProgram
-
Asks the user to type a file name, re-prompting until the user types a
file that exists in the given directory.
- promptUserForFile(String, String, String) - Method in class acm.program.AbstractConsoleProgram
-
Asks the user to type a file name, re-prompting until the user types a
file that exists in the given directory.
- put(K, V) - Method in class stanford.cs106.collections.AbstractMultimap
-
- put(R, C, V) - Method in class stanford.cs106.collections.AbstractTable
-
- put(K, V) - Method in interface stanford.cs106.collections.Multimap
-
- put(R, C, V) - Method in interface stanford.cs106.collections.Table
-
- putBeeper() - Method in class stanford.karel.Karel
-
- putBeeper() - Method in interface stanford.karel.KarelInterface
-
- radix() - Method in class acm.io.SimpleScanner
-
Returns this scanner's default radix.
- random() - Method in class stanford.karel.HeadlessSuperKarel
-
- random(double) - Method in class stanford.karel.HeadlessSuperKarel
-
- random() - Method in class stanford.karel.SuperKarel
-
- random(double) - Method in class stanford.karel.SuperKarel
-
- RandomGenerator - Class in acm.util
-
This class implements a simple random number generator that allows clients to
generate pseudorandom integers, doubles, booleans, and colors.
- RandomGenerator() - Constructor for class acm.util.RandomGenerator
-
Creates a new random generator.
- RandomGenerator(long) - Constructor for class acm.util.RandomGenerator
-
Creates a new random generator, using the given seed value to influence
its random generation of values.
- RandomGenerator - Class in stanford.cs106.util
-
- RandomGenerator() - Constructor for class stanford.cs106.util.RandomGenerator
-
- RandomGenerator(long) - Constructor for class stanford.cs106.util.RandomGenerator
-
- read(String) - Static method in class stanford.cs106.audio.StdAudio
-
Read audio samples from a file (in .wav or .au format) and return them as
a double array with values between -1.0 and +1.0.
- read() - Method in class stanford.cs106.io.ReaderInputStream
-
- read(byte[], int, int) - Method in class stanford.cs106.io.ReaderInputStream
-
- readAndRename(String, String) - Static method in class stanford.cs106.reflect.ClassUtils
-
- readAndRename(String, String, String) - Static method in class stanford.cs106.reflect.ClassUtils
-
- readBoolean() - Method in class acm.io.IOConsole
-
- readBoolean(String) - Method in class acm.io.IOConsole
-
- readBoolean(String, String, String) - Method in class acm.io.IOConsole
-
- readBoolean() - Method in class acm.program.CommandLineProgram
-
Reads and returns a boolean value (true
or false
).
- readBoolean(String) - Method in class acm.program.CommandLineProgram
-
Prompts the user to enter a boolean value, which is returned as
the value of this method.
- readBoolean(String, String, String) - Method in class acm.program.CommandLineProgram
-
Prompts the user to enter a boolean value, which is matched against the
labels provided.
- readBoolean(String, String, String) - Method in class acm.program.ConsoleProgram
-
- readBoolean() - Method in class acm.program.Program
-
Reads and returns a boolean value (true
or false
).
- readBoolean(String) - Method in class acm.program.Program
-
Prompts the user to enter a boolean value, which is returned as
the value of this method.
- readBoolean(String, String, String) - Method in class acm.program.Program
-
Prompts the user to enter a boolean value, which is matched against the
labels provided.
- readDouble() - Method in class acm.io.IOConsole
-
- readDouble(double, double) - Method in class acm.io.IOConsole
-
- readDouble(String) - Method in class acm.io.IOConsole
-
- readDouble(String, double, double) - Method in class acm.io.IOConsole
-
- readDouble() - Method in class acm.program.CommandLineProgram
-
Reads and returns a double-precision value from the user.
- readDouble(double, double) - Method in class acm.program.CommandLineProgram
-
Reads and returns a double-precision value from the user, which is
constrained to be within the specified inclusive range.
- readDouble(String) - Method in class acm.program.CommandLineProgram
-
Prompts the user to enter an double-precision number, which is then
returned as the value of this method.
- readDouble(String, double, double) - Method in class acm.program.CommandLineProgram
-
Prompts the user to enter an double-precision number, which is then returned
as the value of this method.
- readDouble(String, double, double) - Method in class acm.program.ConsoleProgram
-
- readDouble() - Method in class acm.program.Program
-
Reads and returns a double-precision value from the user.
- readDouble(double, double) - Method in class acm.program.Program
-
Reads and returns a double-precision value from the user, which is
constrained to be within the specified inclusive range.
- readDouble(String) - Method in class acm.program.Program
-
Prompts the user to enter an double-precision number, which is then
returned as the value of this method.
- readDouble(String, double, double) - Method in class acm.program.Program
-
Prompts the user to enter an double-precision number, which is then returned
as the value of this method.
- readEntireFile(File) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given file's text fully and returns it as a String.
- readEntireFile(String) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given file's text fully and returns it as a String.
- readEntireFileBytes(String) - Static method in class stanford.cs106.io.IOUtils
-
Reads the full text from the file with the given name,
and returns it as an array of bytes.
- readEntireFileBytes(File) - Static method in class stanford.cs106.io.IOUtils
-
Reads the full text from the given file,
and returns it as an array of bytes.
- readEntireReader(Reader) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given reader's text fully and returns it as a String.
- readEntireReaderBytes(Reader) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given reader's text fully and returns it as an array of bytes.
- readEntireScanner(Scanner) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given scanner's text fully and returns it as a String.
- readEntireStream(InputStream) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given stream's text fully and returns it as a String.
- readEntireStreamBytes(InputStream) - Static method in class stanford.cs106.io.IOUtils
-
Reads the given stream's text fully and returns it as an array of bytes.
- ReaderInputStream - Class in stanford.cs106.io
-
- ReaderInputStream(Reader) - Constructor for class stanford.cs106.io.ReaderInputStream
-
- readInt() - Method in class acm.io.IOConsole
-
- readInt(int, int) - Method in class acm.io.IOConsole
-
- readInt(String) - Method in class acm.io.IOConsole
-
- readInt(String, int, int) - Method in class acm.io.IOConsole
-
- readInt() - Method in class acm.program.CommandLineProgram
-
Reads and returns an integer value from the user.
- readInt(int, int) - Method in class acm.program.CommandLineProgram
-
Reads and returns an integer value from the user, which is constrained to
be within the specified inclusive range.
- readInt(String) - Method in class acm.program.CommandLineProgram
-
Prompts the user to enter an integer, which is then returned as the value
of this method.
- readInt(String, int, int) - Method in class acm.program.CommandLineProgram
-
Prompts the user to enter an integer, which is then returned as the value
of this method.
- readInt(String, int, int) - Method in class acm.program.ConsoleProgram
-
- readInt() - Method in class acm.program.Program
-
Reads and returns an integer value from the user.
- readInt(int, int) - Method in class acm.program.Program
-
Reads and returns an integer value from the user, which is constrained to
be within the specified inclusive range.
- readInt(String) - Method in class acm.program.Program
-
Prompts the user to enter an integer, which is then returned as the value
of this method.
- readInt(String, int, int) - Method in class acm.program.Program
-
Prompts the user to enter an integer, which is then returned as the value
of this method.
- readLine() - Method in interface acm.io.ConsoleModel
-
- readLine() - Method in class acm.io.IOConsole
-
- readLine(String) - Method in class acm.io.IOConsole
-
- readLine() - Method in class acm.io.StandardConsoleModel
-
- readLine() - Method in class acm.io.SystemConsoleModel
-
- readLine() - Method in class acm.program.CommandLineProgram
-
Reads and returns a line of input from the console.
- readLine(String) - Method in class acm.program.CommandLineProgram
-
Prompts the user for a line of input.
- readLine(String) - Method in class acm.program.ConsoleProgram
-
- readLine() - Method in class acm.program.Program
-
Reads and returns a line of input from the console.
- readLine(String) - Method in class acm.program.Program
-
Prompts the user for a line of input.
- readLineCallback() - Method in class acm.io.StandardConsoleModel
-
- RecursionUtils - Class in stanford.cs106.util
-
A class with a few "helper" methods for recursion and backtracking.
- RED - Static variable in class stanford.karel.HeadlessSuperKarel
-
- RED - Static variable in class stanford.karel.KarelProgram
-
- RED - Static variable in class stanford.karel.SuperKarel
-
- redirectInput(String) - Static method in class stanford.cs106.io.IOUtils
-
Redirects System.in to pull input data from the text in the given string.
- redirectOutput() - Static method in class stanford.cs106.io.IOUtils
-
Redirects System.out to a byte array output stream, which is returned.
- redirectOutput(boolean) - Static method in class stanford.cs106.io.IOUtils
-
Redirects System.out to a byte array output stream, which is returned.
- redraw() - Method in class acm.program.AsciiArtProgram
-
- reflectionEquals(Object, Object) - Static method in class stanford.cs106.reflect.ClassUtils
-
- ReflectionRuntimeException - Exception in stanford.cs106.reflect
-
- ReflectionRuntimeException(String) - Constructor for exception stanford.cs106.reflect.ReflectionRuntimeException
-
- ReflectionRuntimeException(String, Throwable) - Constructor for exception stanford.cs106.reflect.ReflectionRuntimeException
-
- ReflectionRuntimeException(Throwable) - Constructor for exception stanford.cs106.reflect.ReflectionRuntimeException
-
- ReflectionUtils - Class in stanford.cs106.reflect
-
- ReflectionUtils() - Constructor for class stanford.cs106.reflect.ReflectionUtils
-
- ReflectionUtils.FieldNameComparator - Class in stanford.cs106.reflect
-
- ReflectionUtils.MethodNameComparator - Class in stanford.cs106.reflect
-
- rememberWindowLocation(Frame) - Static method in class stanford.cs106.gui.GuiUtils
-
- remove(Component) - Method in class acm.graphics.GCanvas
-
Removes the component from the canvas.
- remove(double, double) - Method in class acm.graphics.GCanvas
-
Removes the top-most graphical object at the given (x, y) position from this container.
- remove(GObject) - Method in class acm.graphics.GCanvas
-
Removes a graphical object from this GCanvas
.
- remove(GPoint) - Method in class acm.graphics.GCanvas
-
Removes the top-most graphical object at the given (x, y) position from this container.
- remove(double, double) - Method in interface acm.graphics.GCanvasInterface
-
- remove(GPoint) - Method in interface acm.graphics.GCanvasInterface
-
- remove(GObject) - Method in interface acm.graphics.GCanvasInterface
-
- remove(GObject) - Method in class acm.graphics.GCompound
-
Removes a graphical object from this GCompound
.
- remove(GObject) - Method in interface acm.graphics.GContainer
-
Removes a graphical object from this container.
- remove(double, double) - Method in class acm.graphics.GLineGroup
-
Removes the given point from this line group, if it is part of the line group.
- remove(GPoint) - Method in class acm.graphics.GLineGroup
-
Removes the given point from this line group, if it is part of the line group.
- remove(Component) - Method in class acm.gui.JButtonGroup
-
- remove(JRadioButton) - Method in class acm.gui.JButtonGroup
-
- remove(String) - Method in class acm.gui.JButtonGroup
-
- remove() - Method in class acm.io.SimpleScanner
-
The remove operation is not supported by this implementation of Iterator.
- remove(int) - Method in class acm.program.CommandLineProgram
-
Removes the component at the specified index from the central region.
- remove(Component) - Method in class acm.program.CommandLineProgram
-
Removes the specified component from the central region.
- remove(double, double) - Method in class acm.program.GraphicsProgram
-
Removes the top-most graphical object at the given (x, y) position from this container.
- remove(GPoint) - Method in class acm.program.GraphicsProgram
-
Removes the top-most graphical object at the given (x, y) position from this container.
- remove(GObject) - Method in class acm.program.GraphicsProgram
-
Removes a graphical object from this container.
- remove(double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- remove(GPoint) - Method in class acm.program.HeadlessGraphicsProgram
-
- remove(GObject) - Method in class acm.program.HeadlessGraphicsProgram
-
- remove(int) - Method in class acm.program.Program
-
Removes the component at the specified index from the central region.
- remove(Component) - Method in class acm.program.Program
-
Removes the specified component from the central region.
- remove(Object, Object) - Method in class stanford.cs106.collections.AbstractMultimap
-
- remove(Object, Object) - Method in class stanford.cs106.collections.AbstractTable
-
- remove(Object, Object) - Method in interface stanford.cs106.collections.Multimap
-
- remove(Object, Object) - Method in interface stanford.cs106.collections.Table
-
- remove(Observer) - Method in class stanford.karel.Event
-
- remove(KarelInterface) - Method in class stanford.karel.KarelWorld
-
- removeActionListener(ActionListener) - Method in class acm.graphics.GObject
-
Removes an action listener from this graphical object.
- removeActionListener(ActionListener) - Method in class acm.gui.JButtonGroup
-
- removeActionListener(ActionListener) - Method in class acm.gui.JStringList
-
Detaches the given listener so that it will not be notified of future
action events that occur in this list.
- removeAll() - Method in class acm.graphics.GCanvas
-
Removes all graphical objects from this GCanvas
.
- removeAll(double, double) - Method in class acm.graphics.GCanvas
-
Removes all graphical objects at the given (x, y) position from this container.
- removeAll(double...) - Method in class acm.graphics.GCanvas
-
Removes all graphical objects at the given (x, y) positions from this container.
- removeAll(GPoint) - Method in class acm.graphics.GCanvas
-
Removes all graphical objects at the given (x, y) position from this container.
- removeAll() - Method in interface acm.graphics.GCanvasInterface
-
- removeAll(double, double) - Method in interface acm.graphics.GCanvasInterface
-
- removeAll(double...) - Method in interface acm.graphics.GCanvasInterface
-
- removeAll(GPoint) - Method in interface acm.graphics.GCanvasInterface
-
- removeAll() - Method in class acm.graphics.GCompound
-
Removes all graphical objects from this GCompound
.
- removeAll() - Method in interface acm.graphics.GContainer
-
Removes all graphical objects from this container.
- removeAll() - Method in class acm.gui.JButtonGroup
-
- removeAll() - Method in class acm.program.CommandLineProgram
-
Removes all components from the central region.
- removeAll() - Method in class acm.program.GraphicsProgram
-
Removes all graphical objects from this container.
- removeAll(double, double) - Method in class acm.program.GraphicsProgram
-
Removes all graphical objects at the given (x, y) position from this container.
- removeAll(double...) - Method in class acm.program.GraphicsProgram
-
Removes all graphical objects at the given (x, y) positions from this container.
- removeAll(GPoint) - Method in class acm.program.GraphicsProgram
-
Removes all graphical objects at the given (x, y) position from this container.
- removeAll() - Method in class acm.program.HeadlessGraphicsProgram
-
- removeAll(double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- removeAll(double...) - Method in class acm.program.HeadlessGraphicsProgram
-
- removeAll(GPoint) - Method in class acm.program.HeadlessGraphicsProgram
-
- removeAll() - Method in class acm.program.Program
-
Removes all components from the central region.
- removeAll(Object) - Method in class stanford.cs106.collections.AbstractMultimap
-
- removeAll(Object) - Method in interface stanford.cs106.collections.Multimap
-
- removeAllComponents() - Method in class acm.program.GraphicsProgram
-
Removes all components from this container.
- removeAllComponents() - Method in interface acm.program.GraphicsProgramInterface
-
- removeAllComponents() - Method in class acm.program.HeadlessGraphicsProgram
-
- removeAudioEventListener(StdAudio.AudioEventListener) - Static method in class stanford.cs106.audio.StdAudio
-
Removes the given audio event listener from being notified of future
audio events, if it was present.
- removeEdge(Edge<V, E>) - Method in class stanford.cs106.collections.BasicGraph
-
Removes any edge(s) that exist with the given extra info stored in it/them.
- removeEdge(String, String) - Method in class stanford.cs106.collections.BasicGraph
-
Removes any edge that exists from vertex v1 to vertex v2.
- removeEdge(Vertex<V>, Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Removes any edge that exists from vertex v1 to vertex v2.
- removeEdge(Edge<V, E>) - Method in interface stanford.cs106.collections.Graph
-
Removes any edge(s) that exist with the given extra info stored in it/them.
- removeEdge(String, String) - Method in interface stanford.cs106.collections.Graph
-
Removes any edge that exists from vertex v1 to vertex v2.
- removeEdge(Vertex<V>, Vertex<V>) - Method in interface stanford.cs106.collections.Graph
-
Removes any edge that exists from vertex v1 to vertex v2.
- removeExtension(String) - Static method in class stanford.cs106.io.IOUtils
-
Removes the file's extension; e.g.
- removeFolder(String) - Static method in class stanford.cs106.io.IOUtils
-
Removes any leading folders from the given file name;
e.g.
- removeFromRegion(Component, String) - Method in class acm.program.Program
-
Removes the specified component from the specified region of this program window.
- removeItem(int) - Method in class acm.gui.JStringList
-
Removes the element at the given index from this list, shifting others
down an index if necessary.
- removeItem(String) - Method in class acm.gui.JStringList
-
Removes the first occurrence of the given string element at the given index from this list, shifting others
down an index if necessary.
- removeLayoutComponent(Component) - Method in class acm.gui.TableLayout
-
Removes the specified component from the layout.
- removeMenuBar() - Method in class acm.program.Program
-
Removes the JMenuBar at the top of the program window.
- removeMouseListener(MouseListener) - Method in class acm.graphics.GObject
-
Removes a mouse listener from this graphical object.
- removeMouseMotionListener(MouseMotionListener) - Method in class acm.graphics.GObject
-
Removes a mouse motion listener from this graphical object.
- removeParam(String) - Method in class stanford.cs106.net.Request
-
Removes the query parameter with the given name from this request.
- removeUpdate(DocumentEvent) - Method in class acm.gui.JFontChooser.ListSearchTextFieldDocumentHandler
-
- removeUpdate(DocumentEvent) - Method in class acm.program.Program
-
Required method of DocumentListener interface.
- removeVertex(String) - Method in class stanford.cs106.collections.BasicGraph
-
Removes the given vertex from this graph, along with all edges that were
touching it.
- removeVertex(Vertex<V>) - Method in class stanford.cs106.collections.BasicGraph
-
Removes the given vertex from this graph, along with all edges that were
touching it.
- removeVertex(String) - Method in interface stanford.cs106.collections.Graph
-
Removes the given vertex from this graph, along with all edges that were
touching it.
- removeVertex(Vertex<V>) - Method in interface stanford.cs106.collections.Graph
-
Removes the given vertex from this graph, along with all edges that were
touching it.
- removeWhitespace(String) - Static method in class stanford.cs106.util.StringUtils
-
- renameAndWriteJavaFile(String, String, String, boolean) - Static method in class stanford.cs106.reflect.ClassUtils
-
- renderTemplate(String, Map<String, String>) - Static method in class stanford.cs106.net.BackEndServer
-
Method: Render Template
-----------------------
OPTIONAL: This method takes in a template (currently it takes the path to a template)
and provides functionality for (a) importing other slivers of HTML and (b) inserting
values from a map into all places in the template with the sequence {{key}}.
- repaint() - Method in interface acm.graphics.GCanvasInterface
-
- repaint() - Method in class acm.graphics.GObject
-
Signals that the object needs to be repainted.
- repaint() - Method in class acm.program.CommandLineProgram
-
Forwards repaint to the content pane.
- repaint() - Method in class acm.program.GraphicsProgram
-
Signals a need to repaint this window.
- repaint() - Method in class acm.program.HeadlessGraphicsProgram
-
- repaint() - Method in class acm.program.Program
-
Forwards repaint to the content pane.
- repaint() - Method in class stanford.karel.KarelWorld
-
- Request - Class in stanford.cs106.net
-
A Request object encapsulates a basic HTTP request along with its
various query parameter key/value pairs.
- Request(String) - Constructor for class stanford.cs106.net.Request
-
Constructs a new Request object with the given command verb.
- Request(String, String...) - Constructor for class stanford.cs106.net.Request
-
Constructs a new Request object with the given command verb
and the given set of parameter key/value pairs.
- requestFocus() - Method in interface acm.io.ConsoleModel
-
- requestFocus() - Method in class acm.io.IOConsole
-
- requestFocus() - Method in class acm.io.StandardConsoleModel
-
- requestFocus() - Method in class acm.io.SystemConsoleModel
-
- requestMade(Request) - Method in interface stanford.cs106.net.SimpleServerListener
-
Responds to the given request, returning the response to send back.
- requireAttributes(Node, String...) - Static method in class stanford.cs106.util.XmlUtils
-
Ensures that the given XML DOM node contains all of the given attributes.
- reset() - Method in class stanford.cs106.io.ReaderInputStream
-
- reset() - Method in class stanford.karel.KarelWorld
-
- resetData() - Method in class stanford.cs106.collections.BasicGraph
-
Clears out any data stored in each vertex.
- resetData() - Method in interface stanford.cs106.collections.Graph
-
Clears out any data stored in each vertex.
- resize(int, int) - Method in class stanford.cs106.collections.Grid
-
- ResizeListener - Interface in stanford.cs106.gui
-
- ResourceUtils - Class in stanford.cs106.io
-
- ResourceUtils() - Constructor for class stanford.cs106.io.ResourceUtils
-
- rewind() - Method in class acm.util.SoundClip
-
Rewinds the sound to the beginning.
- rigBoolean(Boolean) - Static method in class stanford.cs106.util.RandomGenerator
-
- rigDouble(Double) - Static method in class stanford.cs106.util.RandomGenerator
-
- RIGHT - Static variable in class acm.gui.TableLayout
-
Align table horizontally at the right of its container
- RIGHT - Static variable in class acm.util.SoundClip
-
Identifies the right channel in a stereo sound.
- rightFrom(int) - Static method in class stanford.karel.KarelWorld
-
- rightIsBlocked() - Method in class stanford.karel.Karel
-
- rightIsBlocked() - Method in interface stanford.karel.KarelInterface
-
- rightIsClear() - Method in class stanford.karel.Karel
-
- rightIsClear() - Method in interface stanford.karel.KarelInterface
-
- rigInt(Integer) - Static method in class stanford.cs106.util.RandomGenerator
-
- rotate(double) - Method in class acm.graphics.GObject
-
Rotates this object by the given degrees counter-clockwise.
- round(double) - Static method in class acm.graphics.GMath
-
Rounds a double
value to the nearest int
.
- round(double, int) - Static method in class acm.graphics.GMath
-
Rounds a double
value to the given number of decimal places.
- row(R) - Method in class stanford.cs106.collections.AbstractTable
-
- row(R) - Method in interface stanford.cs106.collections.Table
-
- rowKeySet() - Method in class stanford.cs106.collections.AbstractTable
-
- rowKeySet() - Method in interface stanford.cs106.collections.Table
-
- rowMap() - Method in class stanford.cs106.collections.AbstractTable
-
- rowMap() - Method in interface stanford.cs106.collections.Table
-
- run() - Method in class acm.gui.JFontChooser.ListSearchTextFieldDocumentHandler.ListSelector
-
- run() - Method in class acm.program.CommandLineProgram
-
Contains the code to be executed for each specific program subclass.
- run() - Method in class acm.program.ConsoleProgram
-
Specifies the code to be executed as the program runs.
- run() - Method in class acm.program.DialogProgram
-
Specifies the code to be executed as the program runs.
- run() - Method in class acm.program.GraphicsProgram
-
Specifies the code to be executed as the program runs.
- run() - Method in class acm.program.HeadlessGraphicsProgram
-
- run() - Method in class acm.program.Program
-
Specifies the code to be executed as the program runs.
- run() - Method in interface acm.program.ProgramInterface
-
- run() - Method in class stanford.cs106.audio.SplClip
-
- run() - Method in class stanford.karel.HeadlessKarel
-
- run() - Method in class stanford.karel.HeadlessSuperKarel
-
- run() - Method in class stanford.karel.Karel
-
- run() - Method in interface stanford.karel.KarelInterface
-
- run() - Method in class stanford.karel.SuperKarel
-
- runHook() - Method in class acm.program.Program
-
Calls the run method in the program.
- runJUnitMethod(Class<?>, Method, JUnitListener) - Static method in class stanford.cs106.junit.JUnitUtils
-
- runMain(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- runMain(Class<?>, String[]) - Static method in class stanford.cs106.reflect.ClassUtils
-
- SAMPLE_RATE - Static variable in class stanford.cs106.audio.StdAudio
-
The sample rate - 44,100 Hz for CD quality audio.
- sampleToIntensity(int) - Static method in class acm.util.SoundClip
-
Converts an integer sample in the range -32767 and +32767 into a
double
between -1.0 and +1.0.
- sanitizeClassName(String) - Static method in class stanford.cs106.reflect.ClassUtils
-
- save(File) - Method in class acm.graphics.GCanvas
-
Writes the contents of the canvas to the given file.
- save(String) - Method in class acm.graphics.GCanvas
-
Writes the contents of the canvas to the given file.
- save() - Method in class acm.io.IOConsole
-
- save(Writer) - Method in class acm.io.IOConsole
-
- save() - Method in class acm.program.HeadlessGraphicsProgram
-
- save(String) - Method in class acm.util.SoundClip
-
Writes a data file containing the specified sound.
- save(File) - Method in class acm.util.SoundClip
-
Writes the sound to the specified File
object.
- save(String, double[]) - Static method in class stanford.cs106.audio.StdAudio
-
Save the double array as a sound file (using .wav or .au format).
- save() - Method in class stanford.karel.KarelWorld
-
- saveAs() - Method in class acm.io.IOConsole
-
- saveConfiguration(Properties) - Method in class acm.program.AbstractConsoleProgram
-
Writes the console's configuration settings to disk.
- saveConfiguration() - Method in class acm.program.Program
-
Saves configuration of this program to disk.
- saveConfiguration(Properties) - Method in class acm.program.Program
-
Saves configuration of this program to disk in the given properties collection.
- saveConfiguration(Properties) - Method in class stanford.karel.KarelProgram
-
- saveImage(File) - Method in class acm.graphics.GImage
-
Saves the image to the specified file.
- saveImage(String) - Method in class acm.graphics.GImage
-
Saves the image to a file with the specified filename.
- saveImage(Image, String) - Static method in class acm.util.MediaTools
-
Saves an image to a file with the specified filename.
- saveImage(Image, File) - Static method in class acm.util.MediaTools
-
Saves an image to the specified file.
- saveToImage(File) - Method in class stanford.karel.KarelWorld
-
Saves an image of this Karel world to the given image file.
- saveToImage(String) - Method in class stanford.karel.KarelWorld
-
Saves an image of this Karel world to the given image file.
- say(String) - Method in class stanford.karel.HeadlessSuperKarel
-
Causes Karel to pop up a speech bubble with the given text in it.
- say(String) - Method in class stanford.karel.SuperKarel
-
Causes Karel to pop up a speech bubble with the given text in it.
- scale(double, double) - Method in class acm.graphics.GCompound
-
Scales every object contained in this compound by the scale factors
sx
and sy
.
- scale(double, double) - Method in class acm.graphics.GImage
-
Scales the object on the screen by the scale factors sx
and sy
.
- scale(double, double) - Method in class acm.graphics.GLine
-
Scales the line on the screen by the scale factors sx
and
sy
.
- scale(double, double) - Method in class acm.graphics.GObject
-
Scales the size of this object by the given factors in the x and y dimensions.
- scale(double) - Method in class acm.graphics.GObject
-
Scales the size of this object by the given factor in the x and y dimensions.
- scale(double, double) - Method in interface acm.graphics.GScalable
-
Scales the object on the screen by the scale factors sx
and sy
.
- scale(double) - Method in interface acm.graphics.GScalable
-
Scales the object on the screen by the scale factor sf
, which applies
in both dimensions.
- SCANNER_APPLET_MODE_PROPERTY_NAME - Static variable in class acm.io.SimpleScanner
-
- SCANNER_ECHO_PROPERTY_NAME - Static variable in class acm.io.SimpleScanner
-
- SCANNER_REUSE_PROPERTY_NAME - Static variable in class acm.io.SimpleScanner
-
- SCANNER_WORKING_DIR_PROPERTY_NAME - Static variable in class acm.io.SimpleScanner
-
- script() - Method in class acm.io.IOConsole
-
- scrollLineDown() - Method in class acm.program.AbstractConsoleProgram
-
Tells the console's output area to scroll itself downward by one line.
- scrollLineUp() - Method in class acm.program.AbstractConsoleProgram
-
Tells the console's output area to scroll itself upward by one line.
- scrollPageDown() - Method in class acm.program.AbstractConsoleProgram
-
Tells the console's output area to scroll itself downward by one page.
- scrollPageUp() - Method in class acm.program.AbstractConsoleProgram
-
Tells the console's output area to scroll itself upward by one page.
- scrollToBottom() - Method in class acm.program.AbstractConsoleProgram
-
Tells the console's output area to scroll itself to the bottom of the output.
- scrollToTop() - Method in class acm.program.AbstractConsoleProgram
-
Tells the console's output area to scroll itself to the top of the output.
- selectAll() - Method in interface acm.io.ConsoleModel
-
- selectAll() - Method in class acm.io.IOConsole
-
- selectAll() - Method in class acm.io.StandardConsoleModel
-
- selectAll() - Method in class acm.io.SystemConsoleModel
-
- send(String, String...) - Method in class stanford.cs106.net.NetworkManager
-
- sendBackward(GObject) - Method in class acm.graphics.GCanvas
-
Implements the sendBackward
function from the GContainer
interface.
- sendBackward(GObject) - Method in class acm.graphics.GCompound
-
Implements the sendBackward
function from the GContainer
interface.
- sendBackward() - Method in class acm.graphics.GObject
-
Moves this object one step toward the back in the z dimension.
- sendForward(GObject) - Method in class acm.graphics.GCanvas
-
Implements the sendForward
function from the GContainer
interface.
- sendForward(GObject) - Method in class acm.graphics.GCompound
-
Implements the sendForward
function from the GContainer
interface.
- sendForward() - Method in class acm.graphics.GObject
-
Moves this object one step toward the front in the z dimension.
- sendHttp(String, Map<String, Object>) - Method in class stanford.cs106.net.NetworkManager
-
- sendResponse(int, int, String, String) - Method in class stanford.cs106.net.BackEndServer
-
- sendResponseFile(int, int, String, String) - Method in class stanford.cs106.net.BackEndServer
-
- sendToBack(GObject) - Method in class acm.graphics.GCanvas
-
Implements the sendToBack
function from the GContainer
interface.
- sendToBack(GObject) - Method in class acm.graphics.GCompound
-
Implements the sendToBack
function from the GContainer
interface.
- sendToBack() - Method in class acm.graphics.GObject
-
Moves this object to the back of the display in the z dimension.
- sendToFront(GObject) - Method in class acm.graphics.GCanvas
-
Implements the sendToFront
function from the GContainer
interface.
- sendToFront(GObject) - Method in class acm.graphics.GCompound
-
Implements the sendToFront
function from the GContainer
interface.
- sendToFront() - Method in class acm.graphics.GObject
-
Moves this object to the front of the display in the z dimension.
- SESSION_KEY_PARAM_NAME - Static variable in class stanford.cs106.net.SimpleClient
-
A special request parameter used to indicate that the server should
maintain a session with this client.
- sessionData(Request) - Method in class stanford.cs106.net.SimpleServer
-
Returns all data associated with the given request's session.
- sessionEnd() - Method in class stanford.cs106.net.SimpleClient
-
Ends any current session between this client and the server host.
- sessionEnd(Request) - Method in class stanford.cs106.net.SimpleServer
-
Ends any active session for the given request, clearing its session data.
- sessionIsInProgress() - Method in class stanford.cs106.net.SimpleClient
-
Returns true if a session is currently in progress between this client
and the server host.
- sessionIsInProgress(Request) - Method in class stanford.cs106.net.SimpleServer
-
Returns whether the given request contains an active session.
- sessionStart() - Method in class stanford.cs106.net.SimpleClient
-
Begins a session between this client and the server host.
- sessionStart(Request) - Method in class stanford.cs106.net.SimpleServer
-
Begins an active session for the given request, with empty session data.
- set(int, int, E) - Method in class stanford.cs106.collections.Grid
-
- setAccelerator(JMenuItem, int) - Method in class acm.program.ProgramMenuBar
-
Sets the accelerator for the item as appropriate to the operating system
conventions.
- setAccidental(Accidental) - Method in class stanford.cs106.audio.Note
-
Sets this Note's accidental value to be the given value: SHARP, FLAT, or NATURAL.
- setAccidental(String) - Method in class stanford.cs106.audio.Note
-
Sets this Note's accidental value to be the given value: "SHARP", "FLAT", or "NATURAL".
- setActionCommand(String) - Method in class acm.gui.JStringList
-
Sets the current action command of this list, which is the string that
will occur when action events are performed on this list.
- setAlignment(int) - Method in class stanford.karel.KarelWorld
-
- setAllSeed(Long) - Static method in class stanford.cs106.util.RandomGenerator
-
- setAnimated(boolean) - Method in class acm.program.Program
-
Sets the program to be in animated (true) or non-animated (false) mode.
- setAnimationDelay(int) - Method in class acm.program.Program
-
Sets the number of milliseconds to delay between frames of animation.
- setAntiAliasDefault(boolean) - Static method in class acm.program.HeadlessGraphicsProgram
-
- setAntiAliasing(boolean) - Method in class acm.graphics.GCanvas
-
Sets whether this canvas uses anti-aliasing, which is smoothing and blending of neighboring pixels.
- setAntiAliasing(boolean) - Method in interface acm.graphics.GCanvasInterface
-
- setAntiAliasing(boolean) - Static method in class acm.graphics.GObject
-
- setAntiAliasing(boolean) - Method in class acm.program.GraphicsProgram
-
Sets whether this program's canvas uses anti-aliasing, which is
smoothing and blending of neighboring pixels.
- setAntiAliasing(boolean) - Method in class acm.program.HeadlessGraphicsProgram
-
- setAppletMode(boolean) - Static method in class acm.io.SimpleScanner
-
- setAppletStub(AppletStub) - Method in class acm.program.CommandLineProgram
-
Sets the applet stub for this program in a way that makes it possible for
clients to retrieve it.
- setAppletStub(AppletStub) - Method in class acm.program.Program
-
Sets the applet stub for this program in a way that makes it possible for
clients to retrieve it.
- setAttribute(Node, String, String) - Static method in class stanford.cs106.util.XmlUtils
-
- setAutoRepaintFlag(boolean) - Method in class acm.graphics.GCanvas
-
Changes the setting of the auto-repaint flag.
- setBackground(Color) - Method in class acm.graphics.GCanvas
-
- setBackground(Color) - Method in interface acm.graphics.GCanvasInterface
-
- setBackground(Color) - Method in class acm.io.IOConsole
-
- setBackground(Color) - Method in class acm.program.CommandLineProgram
-
Sets the background for the central region of the content pane.
- setBackground(Color) - Method in class acm.program.GraphicsProgram
-
Sets the background color of the GCanvas
.
- setBackground(Color) - Method in class acm.program.HeadlessGraphicsProgram
-
- setBackground(Color) - Method in class acm.program.Program
-
Sets the background for the central region of the content pane.
- setBackgroundCharacter(char) - Method in class acm.program.AsciiArtProgram
-
- setBackgroundCharacter(String) - Method in class acm.program.AsciiArtProgram
-
- setBackgroundColor(Color) - Method in class acm.program.AsciiArtProgram
-
- setBeepers(int, int) - Static method in class stanford.karel.KarelWorld
-
- setBeepersInBag(int) - Method in class stanford.karel.Karel
-
- setBeepersInBag(int) - Method in interface stanford.karel.KarelInterface
-
- setBeepersOnCorner(Point, int) - Method in class stanford.karel.KarelWorld
-
- setBeepersOnCorner(int, int, int) - Method in class stanford.karel.KarelWorld
-
- setBorder(Color) - Method in class acm.graphics.GCanvas
-
Sets this canvas to use a border of the given color, 1px thick.
- setBorder(Color, int) - Method in class acm.graphics.GCanvas
-
Sets this canvas to use a border of the given color and number of pixels thick.
- setBottomY(double) - Method in class acm.graphics.GLabel
-
Sets the bottom y-coordinate of this object to the given y value.
- setBottomY(double) - Method in class acm.graphics.GObject
-
Sets the bottom y-coordinate of this object to the given y value.
- setBottomY(double) - Method in class acm.program.Program
-
Sets the y location of the bottom of this program.
- setBounds(double, double, double, double) - Method in class acm.graphics.GImage
-
Changes the bounds of this object to the specified values.
- setBounds(GRectangle) - Method in class acm.graphics.GImage
-
Changes the bounds of this object to the values from the specified
GRectangle
.
- setBounds(double, double, double, double) - Method in class acm.graphics.GOval
-
- setBounds(GRectangle) - Method in class acm.graphics.GOval
-
- setBounds(double, double, double, double) - Method in class acm.graphics.GRectangle
-
Sets the components of a GRectangle
from the specified values.
- setBounds(GPoint, GDimension) - Method in class acm.graphics.GRectangle
-
Sets the components of a GRectangle
from the specified location and size.
- setBounds(GRectangle) - Method in class acm.graphics.GRectangle
-
Sets the bounds of one GRectangle
equal to that of another.
- setBounds(double, double, double, double) - Method in interface acm.graphics.GResizable
-
Changes the bounds of this object to the specified values.
- setBounds(GRectangle) - Method in interface acm.graphics.GResizable
-
Changes the bounds of this object to the values from the specified
GRectangle
.
- setCachingEnabled(boolean) - Static method in class acm.util.MediaTools
-
This method sets an internal flag in the MediaTools
package
to indicate whether images and audio clips are cached internally by name.
- setCanvasHeight(double) - Method in class acm.program.GraphicsProgram
-
Sets this program to be exactly the right size so that its graphical canvas will be
the given height in pixels.
- setCanvasHeight(double) - Method in interface acm.program.GraphicsProgramInterface
-
- setCanvasHeight(double) - Method in class acm.program.HeadlessGraphicsProgram
-
- setCanvasSize(double, double) - Method in class acm.program.GraphicsProgram
-
Sets this program to be exactly the right size so that its graphical canvas will be
the given size in pixels.
- setCanvasSize(double, double) - Method in interface acm.program.GraphicsProgramInterface
-
- setCanvasSize(double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- setCanvasWidth(double) - Method in class acm.program.GraphicsProgram
-
Sets this program to be exactly the right size so that its graphical canvas will be
the given width in pixels.
- setCanvasWidth(double) - Method in interface acm.program.GraphicsProgramInterface
-
- setCanvasWidth(double) - Method in class acm.program.HeadlessGraphicsProgram
-
- setCenterLocation(double, double) - Method in class acm.graphics.GLabel
-
Sets the central x/y-coordinates of this object to the given x/y values.
- setCenterLocation(double, double) - Method in class acm.graphics.GObject
-
Sets the central x/y-coordinates of this object to the given x/y values.
- setCenterLocation(GPoint) - Method in class acm.graphics.GObject
-
Sets the central x/y-coordinates of this object to the given x/y values.
- setCenterLocation(double, double) - Method in class acm.program.Program
-
Sets the y location of the horizontal and vertical center of this program.
- setCenterX(double) - Method in class acm.graphics.GObject
-
Sets the central x-coordinate of this object to the given x value.
- setCenterX(double) - Method in class acm.program.Program
-
Sets the x location of the horizontal center of this program.
- setCenterY(double) - Method in class acm.graphics.GLabel
-
Sets the central y-coordinate of this object to the given y value.
- setCenterY(double) - Method in class acm.graphics.GObject
-
Sets the central y-coordinate of this object to the given y value.
- setCenterY(double) - Method in class acm.program.Program
-
Sets the y location of the vertical center of this program.
- setClearConsoleEnabled(boolean) - Method in class acm.program.AbstractConsoleProgram
-
Turns on/off the ability to clear the console using clearConsole(); (default true)
- setColor(Color) - Method in class acm.graphics.GCanvas
-
- setColor(int) - Method in class acm.graphics.GCanvas
-
- setColor(Color) - Method in class acm.graphics.GObject
-
Sets the color used to display this object.
- setColor(int, Color) - Method in class acm.gui.JStringList
-
Sets the color of the item at the given index to the given color.
- setColor(Color) - Method in class stanford.cs106.collections.Vertex
-
Sets the vertex's color
- setColorFromChooser(boolean) - Method in class acm.program.AbstractConsoleProgram
-
Pops up a JColorChooser to let the user pick a color for the console.
- setColors(Color[]) - Method in class acm.gui.JStringList
-
Sets the items of this list to use the colors from the given array.
- setColumnCount(int) - Method in class acm.gui.TableLayout
-
Resets the number of columns in the table.
- setConsole(IOConsole) - Method in interface acm.io.ConsoleModel
-
- setConsole(IOConsole) - Method in class acm.io.StandardConsoleModel
-
- setConsole(IOConsole) - Method in class acm.io.SystemConsoleModel
-
- setConsole(IOConsole) - Method in class acm.program.CommandLineProgram
-
Sets the console associated with this program.
- setConsole(IOConsole) - Method in class acm.program.Program
-
Sets the console associated with this program.
- setConstantValue(Class<?>, String, Object) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- setConstantValue(Class<?>, Object, String, Object) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- setConstantValue(String, String, Object) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- setConstraints(Component, GridBagConstraints) - Method in class acm.gui.TableLayout
-
Sets the constraints for the component to a copy of the supplied
constraints.
- setConstraints(Component, String) - Method in class acm.gui.TableLayout
-
Sets the constraints for the component to the constraints
specified by the string.
- setController(BasicController) - Method in class stanford.cs106.audio.SplClip
-
- setCornerColor(Point, Color) - Method in class stanford.karel.KarelWorld
-
- setCornerColor(int, int, Color) - Method in class stanford.karel.KarelWorld
-
- setCost(double) - Method in class stanford.cs106.collections.Vertex
-
Sets the value of the internal 'cost' to reach this vertex.
- setDefaultFill(int) - Method in class acm.gui.TableLayout
-
Sets the default fill parameter for components in the table.
- setDetails(String) - Method in error stanford.cs106.junit.ComparisonFailureEnhanced
-
- setDialog(IODialog) - Method in class acm.program.Program
-
Sets the dialog associated with this program.
- setDirection(int) - Method in class stanford.karel.Karel
-
- setDirection(int) - Method in interface stanford.karel.KarelInterface
-
- setDisplayFlag(boolean) - Method in class stanford.karel.KarelWorld
-
- setDisplayOneFlag(boolean) - Method in class stanford.karel.Karel
-
- setDisplayOneFlag(boolean) - Method in class stanford.karel.KarelWorld
-
- setDuration(double) - Method in class stanford.cs106.audio.Note
-
Sets this Note's duration in seconds to be the given value.
- setEcho(boolean) - Static method in class acm.io.SimpleScanner
-
- setEchoForce(boolean) - Method in class acm.io.SimpleScanner
-
- setEchoStream(PrintStream) - Method in class acm.io.SimpleScanner
-
- setEditMode(boolean) - Method in class stanford.karel.KarelWorld
-
- setEnabled(String, boolean) - Method in class acm.program.ProgramMenuBar
-
Enables or disables any menu items that generate the specified action
command.
- setEndPoint(double, double) - Method in class acm.graphics.GLine
-
Sets the end point of the line to the point (x
,
y
).
- setEndPointPolar(double, double) - Method in class acm.graphics.GLine
-
Sets the end point of the line using polar coordinates.
- setErrorColor(Color) - Method in interface acm.io.ConsoleModel
-
- setErrorColor(Color) - Method in class acm.io.IOConsole
-
- setErrorColor(Color) - Method in class acm.io.StandardConsoleModel
-
- setErrorColor(Color) - Method in class acm.io.SystemConsoleModel
-
- setErrorStyle(int) - Method in interface acm.io.ConsoleModel
-
- setErrorStyle(int) - Method in class acm.io.IOConsole
-
- setErrorStyle(int) - Method in class acm.io.StandardConsoleModel
-
- setErrorStyle(int) - Method in class acm.io.SystemConsoleModel
-
- setExceptionOnError(boolean) - Method in class acm.gui.DoubleField
-
Sets the error-handling mode of this interactor as specified by the flag
parameter.
- setExceptionOnError(boolean) - Method in class acm.gui.IntField
-
Sets the error-handling mode of this interactor as specified by the flag
parameter.
- setExceptionOnError(boolean) - Method in class acm.io.IOConsole
-
- setExitEnabled(boolean) - Static method in class stanford.karel.HeadlessKarel
-
- setExitOnClose(boolean) - Method in class acm.program.Program
-
Sets whether the program will exit when its window is closed (default true).
- setFieldValue(Class<?>, String, Object) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- setFieldValue(Object, Field, Object) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- setFillCharacter(char) - Method in class acm.program.AsciiArtProgram
-
- setFillCharacter(String) - Method in class acm.program.AsciiArtProgram
-
- setFillColor(Color) - Method in class acm.graphics.GOval
-
- setFilled(boolean) - Method in class acm.graphics.GOval
-
- setFocusedListener(ActionListener) - Method in class acm.program.ProgramMenuBar
-
Registers a listener that responds while the caller holds the keyboard
focus.
- setFont(Font) - Method in interface acm.graphics.GCanvasInterface
-
- setFont(Font) - Method in class acm.graphics.GLabel
-
Changes the font used to display the GLabel
.
- setFont(String) - Method in class acm.graphics.GLabel
-
Changes the font used to display the GLabel
as specified by
the string str
, which is interpreted in the style of
Font.decode
.
- setFont(String) - Method in class acm.io.IOConsole
-
- setFont(Font) - Method in class acm.io.IOConsole
-
- setFont(Font) - Method in class acm.io.SystemConsoleModel
-
- setFont(Font) - Method in class acm.program.AbstractConsoleProgram
-
Sets the font for the console.
- setFont(String) - Method in class acm.program.AbstractConsoleProgram
-
Sets the font used for the console as specified by the string
str
, which is interpreted in the style of
Font.decode
.
- setFont(Font) - Method in class acm.program.HeadlessGraphicsProgram
-
- setFontFromChooser() - Method in class acm.program.AbstractConsoleProgram
-
Pops up a JFontChooser to let the user pick a font for the console.
- setForeground(Color) - Method in class acm.graphics.GCanvas
-
- setForeground(int) - Method in class acm.graphics.GCanvas
-
- setForeground(Color) - Method in class acm.io.IOConsole
-
- setForegroundCharacter(char) - Method in class acm.program.AsciiArtProgram
-
- setForegroundCharacter(String) - Method in class acm.program.AsciiArtProgram
-
- setForegroundColor(Color) - Method in class acm.program.AsciiArtProgram
-
- setFormat(String) - Method in class acm.gui.DoubleField
-
Sets the format used for the field.
- setFormat(String) - Method in class acm.gui.IntField
-
Sets the format used for the field.
- setFrameIndex(int) - Method in class acm.util.SoundClip
-
Sets the current frame index.
- setFramesPerSecond(int) - Method in class acm.program.Program
-
Sets the animation delay properly to produce the given number of frames
per second of animation.
- setHeight(double) - Method in class acm.program.Program
-
Sets the height of this program without changing its width.
- setHgap(int) - Method in class acm.gui.TableLayout
-
Sets the horizontal gap between components.
- setHorizontalAlignment(int) - Method in class acm.gui.TableLayout
-
Sets the horizontal alignment for the table.
- setImage(Image) - Method in class acm.graphics.GImage
-
Resets the image used by this GImage
object to the new image
specified as an argument.
- setImage(String) - Method in class acm.graphics.GImage
-
Resets the image used by this GImage
object to the one identified
by the argument name
, which is processed exactly as described
in the constructors.
- setInputColor(Color) - Method in interface acm.io.ConsoleModel
-
- setInputColor(Color) - Method in class acm.io.IOConsole
-
- setInputColor(Color) - Method in class acm.io.StandardConsoleModel
-
- setInputColor(Color) - Method in class acm.io.SystemConsoleModel
-
- setInputModel(IOModel) - Method in class acm.program.Program
-
Sets the input model associated with this program.
- setInputScript(BufferedReader) - Method in interface acm.io.ConsoleModel
-
- setInputScript(BufferedReader) - Method in class acm.io.IOConsole
-
- setInputScript(BufferedReader) - Method in class acm.io.StandardConsoleModel
-
- setInputScript(BufferedReader) - Method in class acm.io.SystemConsoleModel
-
- setInputStyle(int) - Method in interface acm.io.ConsoleModel
-
- setInputStyle(int) - Method in class acm.io.IOConsole
-
- setInputStyle(int) - Method in class acm.io.StandardConsoleModel
-
- setInputStyle(int) - Method in class acm.io.SystemConsoleModel
-
- setInteractiveMode(boolean) - Method in class stanford.karel.KarelWorld
-
- setInvisible(GObject, boolean) - Method in class acm.program.Program
-
Marks the given GObject as being 'invisible'.
- setItem(int, String) - Method in class acm.gui.JStringList
-
Sets the item at the given index to store the given text.
- setItem(int, String, Color) - Method in class acm.gui.JStringList
-
Sets the item at the given index to store the given text in the given color.
- setItems(String[], Color[]) - Method in class acm.gui.JStringList
-
Sets the list contents to be the given items in the given colors.
- setJavaBackEnd(JavaBackEnd) - Method in class stanford.cs106.net.BackEndServer
-
- setJFrame(JFrame) - Method in class acm.program.Program
-
Sets the Java Swing window frame that encloses this program.
- setJMenuBar(JMenuBar) - Method in class acm.program.Program
-
Sets the JMenuBar at the top of the program window to be the given menu bar.
- setLabel(String) - Method in class acm.graphics.GLabel
-
Changes the string stored within the GLabel
object, so that
a new text string appears on the display.
- setLayout(LayoutManager) - Method in class acm.program.CommandLineProgram
-
Sets the layout manager for the central region of the content pane.
- setLayout(LayoutManager) - Method in class acm.program.Program
-
Sets the layout manager for the central region of the content pane.
- setLineWidth(double) - Method in class acm.graphics.GObject
-
Sets the thickness of lines drawn on this shape to the given number of pixels.
- setLocation(double, double) - Method in class acm.graphics.GLineGroup
-
Sets the line group's top/left corner to the given x/y pair.
- setLocation(double, double) - Method in class acm.graphics.GObject
-
Sets the location of this object to the point (x
, y
).
- setLocation(GPoint) - Method in class acm.graphics.GObject
-
Sets the location of this object to the specified point.
- setLocation(double, double) - Method in class acm.graphics.GPoint
-
Sets the location of the GPoint
to the specified
x
and y
values.
- setLocation(GPoint) - Method in class acm.graphics.GPoint
-
Sets the location of the GPoint
to that of an existing one.
- setLocation(double, double) - Method in class acm.graphics.GRectangle
-
Sets the location of the GRectangle
to the specified x
and y
values.
- setLocation(GPoint) - Method in class acm.graphics.GRectangle
-
Sets the location of the GRectangle
to the specified point.
- setLocation(double, double) - Method in class acm.program.Program
-
Sets the (x, y) location of the top-left corner of this program.
- setLocation(GPoint) - Method in class acm.program.Program
-
Sets the (x, y) location of the top-left corner of this program.
- setLocation(Point) - Method in class stanford.karel.Karel
-
- setLocation(int, int) - Method in class stanford.karel.Karel
-
- setLocation(int, int) - Method in interface stanford.karel.KarelInterface
-
- setLocation(Point) - Method in interface stanford.karel.KarelInterface
-
- setLook(int) - Method in class stanford.karel.KarelWorld
-
- setMacMenuBarFlag(boolean) - Method in class acm.program.CommandLineProgram
-
Sets a flag indicating whether applications running on the Macintosh
should use standard Mac menus.
- setMenuBar(ProgramMenuBar) - Method in interface acm.io.ConsoleModel
-
- setMenuBar(ProgramMenuBar) - Method in class acm.io.IOConsole
-
- setMenuBar(ProgramMenuBar) - Method in class acm.io.StandardConsoleModel
-
- setMenuBar(ProgramMenuBar) - Method in class acm.io.SystemConsoleModel
-
- setMonitor(KarelWorldMonitor) - Method in class stanford.karel.KarelWorld
-
- setMsKarel(boolean) - Method in class stanford.karel.KarelWorld
-
- setMultipleSelection(boolean) - Method in class acm.gui.JListOptionPane
-
- setMute(boolean) - Static method in class stanford.cs106.audio.StdAudio
-
Sets whether the audio system is muted.
- setName(String) - Method in class acm.util.SoundClip
-
Sets a name to identify the sound.
- setNativeArcFlag(boolean) - Method in class acm.graphics.GCanvas
-
Sets whether the redering code for GArc
and GOval
should use
Java arcs.
- setNumber(int) - Method in class stanford.cs106.collections.Vertex
-
Sets the value of the internal 'number' vertex marker for this vertex.
- setNumberSquaresFlag(boolean) - Method in class stanford.karel.KarelWorld
-
- setOctave(int) - Method in class stanford.cs106.audio.Note
-
Sets this Note's octave to be the given value.
- setOpaque(boolean) - Method in class acm.graphics.GCanvas
-
Sets a flag indicating whether this canvas is opaque, which means that it
obscures anything behind it.
- setOutputColor(Color) - Method in class acm.io.StandardConsoleModel
-
- setOutputColor(Color) - Method in class acm.program.Program
-
Sets the current output color used to display output on the console.
- setOutputModel(IOModel) - Method in class acm.program.Program
-
Sets the output model associated with this program.
- setOutputStyle(int) - Method in class acm.io.StandardConsoleModel
-
- setParameter(String, String) - Method in class acm.program.Program
-
Sets a new value for the named parameter.
- setParameterTable(Map<String, String>) - Method in class acm.program.CommandLineProgram
-
- setParameterTable(HashMap<String, String>) - Method in class acm.program.CommandLineProgram
-
Sets the parameter table for this program.
- setParameterTable(Map<String, String>) - Method in class acm.program.HeadlessGraphicsProgram
-
- setParameterTable(Map<String, String>) - Method in class acm.program.Program
-
Sets the parameter table for this program.
- setParameterTable(Map<String, String>) - Method in interface acm.program.ProgramInterface
-
- setParent(GContainer) - Method in class acm.graphics.GObject
-
Sets the parent of this object, which should be called only by the
GContainer
in which this is installed.
- setPathname(String) - Method in class stanford.karel.KarelWorld
-
- setPathName(String) - Method in class stanford.karel.KarelWorld
-
- setPaused(boolean) - Static method in class stanford.cs106.audio.StdAudio
-
Sets whether the audio system is paused.
- setPauseScaleFactor(double) - Method in class acm.program.Program
-
Applies a scaling factor to the duration of pause() calls.
- setPitch(Pitch) - Method in class stanford.cs106.audio.Note
-
Sets this Note's pitch to be the given value.
- setPitch(String) - Method in class stanford.cs106.audio.Note
-
Sets this Note's pitch to be the given value.
- setPixelArray(int[][]) - Method in class acm.graphics.GImage
-
Sets the image to use the given two-dimensional array of pixel values.
- setPixelsFromString(String) - Method in class acm.graphics.GCanvas
-
- setPlaceholder(String) - Method in class acm.gui.JPlaceholderTextField
-
- setPreferredHeight(JComponent, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- setPreferredWidth(JComponent, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- setPrevious(Vertex<V>) - Method in class stanford.cs106.collections.Vertex
-
Sets the value of the internal 'previous' vertex marker for this vertex.
- setRaised(boolean) - Method in class acm.graphics.G3DRect
-
- setReadBooleanRepromptMessage(String) - Method in class acm.io.IOConsole
-
- setReadDoubleDefaultPrompt(String) - Method in class acm.io.IOConsole
-
- setReadDoubleRepromptMessage(String) - Method in class acm.io.IOConsole
-
- setReadIntDefaultPrompt(String) - Method in class acm.io.IOConsole
-
- setReadIntRepromptMessage(String) - Method in class acm.io.IOConsole
-
- setRedrawAutomatically(boolean) - Method in class acm.program.AsciiArtProgram
-
- setRepaintFlag(boolean) - Method in class stanford.karel.KarelWorld
-
- setRepeat(boolean) - Method in class stanford.cs106.audio.Note
-
Sets this Note's repeat flag to be the given value.
- setResizable(boolean) - Method in class acm.program.Program
-
Sets the title of this program.
- setResourceLoaderClass(Class<?>) - Static method in class stanford.cs106.io.ResourceUtils
-
- setReuse(boolean) - Static method in class acm.io.SimpleScanner
-
- setRGB(int, int, int) - Method in class acm.graphics.GCanvas
-
- setRGB(int, int, int, boolean) - Method in class acm.graphics.GCanvas
-
- setRightX(double) - Method in class acm.graphics.GObject
-
Sets the rightmost x-coordinate of this object to the given x value.
- setRightX(double) - Method in class acm.program.Program
-
Sets the x location of the right edge of this program.
- setRowCount(int) - Method in class acm.gui.TableLayout
-
Resets the number of rows in the table.
- setSaveFile(String) - Static method in class acm.program.HeadlessGraphicsProgram
-
- setSaveFile(String) - Method in class stanford.karel.HeadlessKarel
-
- setSelectedFont(Font) - Method in class acm.gui.JFontChooser
-
Set the selected font.
- setSelectedFontFamily(String) - Method in class acm.gui.JFontChooser
-
Set the family name of the selected font.
- setSelectedFontSize(int) - Method in class acm.gui.JFontChooser
-
Set the size of the selected font.
- setSelectedFontStyle(int) - Method in class acm.gui.JFontChooser
-
Set the style of the selected font.
- setSharedSeed(long) - Static method in class acm.util.RandomGenerator
-
Sets a seed value that will be used by all RandomGenerators when they are
constructed.
- setShowPixelGrid(boolean) - Method in class acm.graphics.GCanvas
-
Sets whether to display information on this canvas about the current pixel where
the mouse pointer is resting.
- setShowPixelGrid(boolean) - Method in class acm.program.Program
-
Sets whether to display a grid of horizontal and vertical lines on this canvas
for debugging, if this program contains a graphical canvas.
- setShowPixelInfo(boolean) - Method in class acm.graphics.GCanvas
-
Sets whether to display information on this canvas about the current pixel where
the mouse pointer is resting.
- setShowPixelInfo(boolean) - Method in interface acm.graphics.GCanvasInterface
-
- setShowPixelInfo(boolean) - Method in class acm.program.GraphicsProgram
-
Sets whether to display information on this canvas about the current pixel where
the mouse pointer is resting in this program's graphical canvas.
- setShowPixelInfo(boolean) - Method in class acm.program.HeadlessGraphicsProgram
-
- setShowPixelInfo(boolean) - Method in class acm.program.Program
-
Sets whether to display information on this canvas about the current pixel where
the mouse pointer is resting in this program's graphical canvas, if this program
contains a graphical canvas.
- setSize(Dimension) - Method in interface acm.graphics.GCanvasInterface
-
- setSize(double, double) - Method in class acm.graphics.GImage
-
Changes the size of this object to the specified width and height.
- setSize(GDimension) - Method in class acm.graphics.GImage
-
Changes the size of this object to the specified GDimension
.
- setSize(double, double) - Method in class acm.graphics.GOval
-
- setSize(GDimension) - Method in class acm.graphics.GOval
-
- setSize(double, double) - Method in class acm.graphics.GRectangle
-
Sets the size of the GRectangle
to the specified values.
- setSize(GDimension) - Method in class acm.graphics.GRectangle
-
Sets the size of the GRectangle
to the specified dimension.
- setSize(double, double) - Method in interface acm.graphics.GResizable
-
Changes the size of this object to the specified width and height.
- setSize(GDimension) - Method in interface acm.graphics.GResizable
-
Changes the size of this object as specified by the GDimension
object.
- setSize(double, double) - Method in class acm.program.GraphicsProgram
-
Sets this program to be exactly the right size so that its graphical canvas will be
the given size in pixels.
- setSize(int, int) - Method in class acm.program.GraphicsProgram
-
Sets this program to be exactly the right size so that its graphical canvas will be
the given size in pixels.
- setSize(double, double) - Method in interface acm.program.GraphicsProgramInterface
-
- setSize(Dimension) - Method in class acm.program.HeadlessGraphicsProgram
-
- setSize(double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- setSize(double, double) - Method in class acm.program.Program
-
Sets the width and height of this program.
- setSize(int, int) - Method in class stanford.karel.KarelWorld
-
- setSpeed(double) - Method in class stanford.karel.KarelControlPanel
-
This method is invoked when a world map file needs to set the simulation
speed (between 0 and 100).
- setStartPoint(double, double) - Method in class acm.graphics.GLine
-
Sets the initial point in the line to (x
,
y
), leaving the end point unchanged.
- setStartupObject(Object) - Method in class acm.program.CommandLineProgram
-
- setStartupObject(Object) - Method in class acm.program.HeadlessGraphicsProgram
-
- setStartupObject(Object) - Method in class acm.program.Program
-
Sets the object that is created when the program is started so that
it can be retrieved later by getStartupObject
.
- setStartupObject(Object) - Method in interface acm.program.ProgramInterface
-
- setStatus(String) - Method in class stanford.karel.KarelProgram
-
- setStrictGridBagModel(boolean) - Method in class acm.gui.TableLayout
-
Sets a flag indicating whether the layout manager should match the
model used in GridBagLayout
even when that interpretation
seems wrong.
- setSystemLookAndFeel() - Static method in class stanford.cs106.gui.GuiUtils
-
- setSystemProperty(String, String) - Static method in class stanford.cs106.util.SystemProperties
-
- setTestCounts(int, int) - Method in interface stanford.cs106.junit.JUnitListener
-
- setTestDetails(String, Map<String, String>) - Method in interface stanford.cs106.junit.JUnitListener
-
- setTestDetailsMessage(String, String) - Method in interface stanford.cs106.junit.JUnitListener
-
- setTestingCompleted(boolean) - Method in interface stanford.cs106.junit.JUnitListener
-
- setTestResult(String, String) - Method in interface stanford.cs106.junit.JUnitListener
-
- setTestRuntime(String, int) - Method in interface stanford.cs106.junit.JUnitListener
-
- setText(String) - Method in class acm.graphics.GLabel
-
Changes the string stored within the GLabel
object, so that
a new text string appears on the display.
- SETTINGS_FILENAME - Static variable in class stanford.cs106.gui.GuiUtils
-
- setTitle(String) - Method in class acm.program.CommandLineProgram
-
Sets the title of this program.
- setTitle(String) - Method in class acm.program.HeadlessGraphicsProgram
-
- setTitle(String) - Method in class acm.program.Program
-
Sets the title of this program.
- setTitle(String) - Method in interface acm.program.ProgramInterface
-
- setTitle(String) - Method in class stanford.karel.HeadlessKarel
-
- setTitle(String) - Method in class stanford.karel.KarelWorld
-
- setToDefaultSize() - Method in class stanford.karel.KarelWorld
-
- setTopY(double) - Method in class acm.graphics.GLabel
-
Sets the top y-coordinate of this object to the given y value.
- setTrackLocationsVisited(boolean) - Method in class stanford.karel.HeadlessKarel
-
- setValue(double) - Method in class acm.gui.DoubleField
-
Sets the value of a field.
- setValue(int) - Method in class acm.gui.IntField
-
Sets the value of a field.
- setValue(double) - Method in class acm.gui.JPlaceholderTextField
-
- setValue(int) - Method in class acm.gui.JPlaceholderTextField
-
- setValue(long) - Method in class acm.gui.JPlaceholderTextField
-
- setVertical(boolean) - Method in class acm.gui.JButtonGroup
-
- setVerticalAlignment(int) - Method in class acm.gui.TableLayout
-
Sets the vertical alignment for the table.
- setVgap(int) - Method in class acm.gui.TableLayout
-
Sets the vertical gap between components.
- setVisible(boolean) - Method in class acm.graphics.GObject
-
Sets whether this object is visible.
- setVisited() - Method in class stanford.cs106.collections.Vertex
-
Sets the value of the internal 'previous' vertex marker to true for this vertex.
- setVisited(boolean) - Method in class stanford.cs106.collections.Vertex
-
Sets the value of the internal 'previous' vertex marker for this vertex.
- setVolume(double) - Method in class acm.util.SoundClip
-
Sets the overall volume setting for the sound, which is a number
between 0 (silent) and 1 (maximum volume).
- setWall(Point, int) - Method in class stanford.karel.KarelWorld
-
- setWall(int, int, int) - Method in class stanford.karel.KarelWorld
-
- setWeight(double) - Method in class stanford.cs106.collections.Edge
-
Modifies this edge's weight to be the given value.
- setWidth(double) - Method in class acm.program.Program
-
Sets the width of this program without changing its height.
- setWindowSize(double, double) - Method in class acm.program.GraphicsProgram
-
Sets this program's window to be the given size in pixels.
- setWindowSize(double, double) - Method in interface acm.program.GraphicsProgramInterface
-
- setWindowSize(double, double) - Method in class acm.program.HeadlessGraphicsProgram
-
- setWorkingDir(String) - Static method in class acm.io.SimpleScanner
-
- setWorld(KarelWorld) - Method in class stanford.karel.Karel
-
- setWorld(KarelWorld) - Method in interface stanford.karel.KarelInterface
-
- setWorld(KarelWorld) - Method in class stanford.karel.KarelProgram
-
- setWorldFile(String) - Method in class stanford.karel.HeadlessKarel
-
- setX(double) - Method in class acm.graphics.GObject
-
Sets the leftmost x-coordinate of this object to the given x value.
- setX(double) - Method in class acm.program.Program
-
Sets the x location of the top-left corner of this program.
- setY(double) - Method in class acm.graphics.GObject
-
Sets the topmost y-coordinate of this object to the given y value.
- setY(double) - Method in class acm.program.Program
-
Sets the y location of the top-left corner of this program.
- SHIFT - Static variable in class acm.program.ProgramMenuBar
-
Constant indicating that an accelerator key requires the SHIFT modifier.
- shiftPreferredSize(JComponent, int, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- showDialog(Component) - Method in class acm.gui.JFontChooser
-
Show font selection dialog.
- showDiffDialog() - Method in class acm.graphics.GCanvas
-
Pops up a dialog box to compare the contents of this canvas to an expected image file.
- showDiffDialog(File) - Method in class acm.graphics.GCanvas
-
Pops up a dialog box to compare the contents of this canvas to an expected image file.
- showDiffDialog(String) - Method in class acm.graphics.GCanvas
-
Pops up a dialog box to compare the contents of this canvas to an expected image file.
- showErrorMessage(String) - Method in class acm.io.IOConsole
-
- showErrorMessage(String) - Method in class acm.program.CommandLineProgram
-
Displays the error message in the standard output model.
- showErrorMessage(String) - Method in class acm.program.Program
-
Displays the error message in the standard output model.
- showSaveDialog() - Method in class acm.graphics.GCanvas
-
Pops up a dialog box to save the contents of this canvas to a file.
- showSaveDialog(File) - Method in class acm.graphics.GCanvas
-
Pops up a dialog box to save the contents of this canvas to a file.
- showSaveDialog(String) - Method in class acm.graphics.GCanvas
-
Pops up a dialog box to save the contents of this canvas to a file.
- shrinkFont(JComponent) - Static method in class stanford.cs106.gui.GuiUtils
-
- shrinkFont(JComponent, int) - Static method in class stanford.cs106.gui.GuiUtils
-
- SIMPLE - Static variable in class stanford.karel.KarelProgram
-
- SIMPLE - Static variable in class stanford.karel.KarelWorld
-
- SIMPLE_FRACTION - Static variable in class stanford.karel.KarelWorld
-
- SimpleClient - Class in stanford.cs106.net
-
This class implements a basic synchronous HTTP client.
- SimpleClient(String) - Constructor for class stanford.cs106.net.SimpleClient
-
Initialiazes a new client to connect to the given HTTP server/host.
- SimpleScanner - Class in acm.io
-
A simple text scanner which can parse primitive types and strings
using regular expressions.
- SimpleScanner(File) - Constructor for class acm.io.SimpleScanner
-
Constructs a new Scanner that produces values scanned from the specified
file.
- SimpleScanner(InputStream) - Constructor for class acm.io.SimpleScanner
-
Constructs a new Scanner that produces values scanned from the specified
input stream.
- SimpleScanner(Reader) - Constructor for class acm.io.SimpleScanner
-
Constructs a new Scanner that produces values scanned from the specified
source.
- SimpleScanner(String) - Constructor for class acm.io.SimpleScanner
-
Constructs a new Scanner that produces values scanned from the specified
string.
- SimpleServer - Class in stanford.cs106.net
-
This class implements a simple synchronous HTTP server that can listen on a
given port and respond to requests made by clients.
- SimpleServer(int) - Constructor for class stanford.cs106.net.SimpleServer
-
Constructs a new server that will listen on the given port.
- SimpleServer(SimpleServerListener) - Constructor for class stanford.cs106.net.SimpleServer
-
Constructs a new server that will listen on a default port, with the given
listener to be notified as each request comes in.
- SimpleServer(SimpleServerListener, int) - Constructor for class stanford.cs106.net.SimpleServer
-
Constructs a new server that will listen on the given port, with the given
listener to be notified as each request comes in.
- SimpleServer.SimpleServerException - Exception in stanford.cs106.net
-
An exception type that represents server-related runtime errors.
- SimpleServerException(String) - Constructor for exception stanford.cs106.net.SimpleServer.SimpleServerException
-
- SimpleServerException(Throwable) - Constructor for exception stanford.cs106.net.SimpleServer.SimpleServerException
-
- SimpleServerListener - Interface in stanford.cs106.net
-
A listener that can respond to requests made to a server.
- sinDegrees(double) - Static method in class acm.graphics.GMath
-
Returns the trigonometric sine of its argument where angle
is expressed in degrees.
- size() - Method in class acm.graphics.GLineGroup
-
Returns the number of points that have been added to the line group.
- size() - Method in class stanford.cs106.collections.AbstractMultimap
-
- size() - Method in class stanford.cs106.collections.AbstractTable
-
- size() - Method in class stanford.cs106.collections.Grid
-
- size() - Method in class stanford.cs106.collections.Lexicon
-
- size() - Method in interface stanford.cs106.collections.Multimap
-
- size() - Method in interface stanford.cs106.collections.Table
-
- skip(Pattern) - Method in class acm.io.SimpleScanner
-
Skips input that matches the specified pattern, ignoring delimiters.
- skip(String) - Method in class acm.io.SimpleScanner
-
Skips input that matches a pattern constructed from the specified string.
- skip(long) - Method in class stanford.cs106.io.ReaderInputStream
-
- sortChars(String) - Static method in class stanford.cs106.util.StringUtils
-
- SoundClip - Class in acm.util
-
This class represents a sound, which can be created from a URL, sound file,
resource stream, or digital samples.
- SoundClip() - Constructor for class acm.util.SoundClip
-
Creates an empty single-channel sound to which samples can be added.
- SoundClip(int) - Constructor for class acm.util.SoundClip
-
Creates an empty sound with the specified number of channels, which
must be 1 for mono and 2 for stereo.
- SoundClip(String) - Constructor for class acm.util.SoundClip
-
Creates a new sound by reading the data from the specified file.
- SoundClip(File) - Constructor for class acm.util.SoundClip
-
Creates a new sound by reading the data from the specified file.
- SoundClip(URL) - Constructor for class acm.util.SoundClip
-
Creates a new sound by reading the data from the specified URL.
- SoundClip(InputStream) - Constructor for class acm.util.SoundClip
-
Creates a new sound by reading the data from the specified input stream.
- SoundClip(int[]) - Constructor for class acm.util.SoundClip
-
Creates a new mono sound from the sample array.
- SoundClip(int[], int[]) - Constructor for class acm.util.SoundClip
-
Creates a new stereo sound from the two sample arrays.
- SOUTH - Static variable in interface acm.program.ProgramInterface
-
Constant specifying the south edge of the container
- SOUTH - Static variable in class stanford.karel.KarelProgram
-
- SOUTH - Static variable in class stanford.karel.KarelWorld
-
- SOUTHEAST - Static variable in class stanford.karel.KarelWorld
-
- SOUTHWEST - Static variable in class stanford.karel.KarelWorld
-
- SPL_AUTOGRADER_MODE - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_ECHO - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_EXIT_ON_CLOSE - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_FONTSIZE - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_HEIGHT - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_LOCATION_SAVED - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_WIDTH - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_X - Static variable in interface acm.program.ProgramStartupFlags
-
- SPL_CONSOLE_Y - Static variable in interface acm.program.ProgramStartupFlags
-
- SplClip - Class in stanford.cs106.audio
-
- SplClip(String) - Constructor for class stanford.cs106.audio.SplClip
-
- stackTraceToString() - Static method in class stanford.cs106.util.ExceptionUtils
-
The current stack trace as a multi-line String.
- stackTraceToString(int) - Static method in class stanford.cs106.util.ExceptionUtils
-
The current stack trace as a multi-line String.
- stackTraceToString(Throwable) - Static method in class stanford.cs106.util.ExceptionUtils
-
The stack trace of the given exception as a multi-line String.
- stackTraceToString(Throwable, int) - Static method in class stanford.cs106.util.ExceptionUtils
-
The stack trace of the given exception as a multi-line String.
- STANDARD_FRAME_RATE - Static variable in class acm.util.SoundClip
-
Specifies the standard frame rate in a sampled sound.
- StandardConsoleModel - Class in acm.io
-
- StandardConsoleModel() - Constructor for class acm.io.StandardConsoleModel
-
- Stanford - Class in stanford.cs106.util
-
- stanford.cs106.audio - package stanford.cs106.audio
-
- stanford.cs106.collections - package stanford.cs106.collections
-
- stanford.cs106.gui - package stanford.cs106.gui
-
- stanford.cs106.io - package stanford.cs106.io
-
- stanford.cs106.junit - package stanford.cs106.junit
-
- stanford.cs106.net - package stanford.cs106.net
-
- stanford.cs106.reflect - package stanford.cs106.reflect
-
- stanford.cs106.util - package stanford.cs106.util
-
- stanford.karel - package stanford.karel
-
- start() - Method in class acm.graphics.GObject
-
Starts a GraphicsProgram
containing this object.
- start(String[]) - Method in class acm.graphics.GObject
-
Starts a GraphicsProgram
containing this object, passing
it the specified arguments.
- start() - Method in class acm.program.CommandLineProgram
-
- start(String[]) - Method in class acm.program.CommandLineProgram
-
Starts the program using the specified argument list.
- start() - Method in class acm.program.HeadlessGraphicsProgram
-
- start(String[]) - Method in class acm.program.HeadlessGraphicsProgram
-
- start() - Method in class acm.program.Program
-
Starts the program when it is running in application mode.
- start(String[]) - Method in class acm.program.Program
-
Starts the program using the specified argument list.
- start() - Method in interface acm.program.ProgramInterface
-
- start(String[]) - Method in interface acm.program.ProgramInterface
-
- start() - Method in class stanford.cs106.collections.Edge
-
Returns the starting vertex of this edge.
- start() - Static method in class stanford.cs106.io.OutputCapturer
-
Begins capturing output with no limit as to its length.
- start(boolean) - Static method in class stanford.cs106.io.OutputCapturer
-
Begins capturing output.
- start() - Method in class stanford.cs106.net.BackEndServer
-
Method: Start
-------------
This method starts a server on the given port.
- start() - Method in class stanford.cs106.net.NetworkManager
-
- start() - Method in class stanford.cs106.net.SimpleServer
-
Starts a server on the given port.
- start() - Method in class stanford.karel.HeadlessKarel
-
- start(String[]) - Method in class stanford.karel.Karel
-
Starts a KarelProgram
containing this Karel instance,
passing it the specified arguments.
- startAnimation() - Method in class acm.program.Program
-
Sets the program into animated mode.
- startGraphicsProgram(GObject, String[]) - Static method in class acm.program.GraphicsProgram
-
Creates a GraphicsProgram
containing the specified
GObject
and then starts it.
- startHook() - Method in class acm.program.CommandLineProgram
-
Performs class-specific initialization for the program just before
it starts.
- startHook() - Method in class acm.program.Program
-
Performs class-specific initialization for the program just before
it starts.
- startRun() - Method in class acm.program.Program
-
Initializes and runs the run method.
- startRun() - Method in class stanford.karel.KarelProgram
-
- startWorldEdit() - Method in class stanford.karel.KarelControlPanel
-
- stateChanged(ChangeEvent) - Method in class acm.program.Program
-
Required method of ChangeListener interface.
- stateChanged(ChangeEvent) - Method in class stanford.karel.KarelControlPanel
-
- StateEvent - Variable in class stanford.karel.KarelProgram
-
- stateUpdated(BasicPlayerEvent) - Method in class stanford.cs106.audio.SplClip
-
- staticMethodInvoke(String, String, Object...) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- staticMethodInvoke(Class<?>, String, Object...) - Static method in class stanford.cs106.reflect.ReflectionUtils
-
- StdAudio - Class in stanford.cs106.audio
-
Standard audio.
- StdAudio.AudioEvent - Class in stanford.cs106.audio
-
- StdAudio.AudioEvent.Type - Enum in stanford.cs106.audio
-
- StdAudio.AudioEventListener - Interface in stanford.cs106.audio
-
- STEREO - Static variable in class acm.util.SoundClip
-
Number of channels in a stereo sound.
- stop() - Method in class acm.util.SoundClip
-
Stops the playback of the sound.
- stop() - Method in class stanford.cs106.audio.SplClip
-
- stop() - Static method in class stanford.cs106.io.OutputCapturer
-
Stops capturing output and returns the string of captured output.
- stop() - Method in class stanford.cs106.net.BackEndServer
-
...
- stop() - Method in class stanford.cs106.net.NetworkManager
-
- stop() - Method in class stanford.cs106.net.SimpleServer
-
Stops the server so that it will no longer listen to HTTP requests.
- stopAnimation() - Method in class acm.program.Program
-
Sets the program into non-animated (default) mode.
- stopRedirectingInput() - Static method in class stanford.cs106.io.IOUtils
-
Sets System.in back to its original state.
- stopRedirectingOutput() - Static method in class stanford.cs106.io.IOUtils
-
Sets System.out/err back to their original state.
- stringIsBoolean(String) - Static method in class stanford.cs106.util.StringUtils
-
- stringIsDouble(String) - Static method in class stanford.cs106.util.StringUtils
-
- stringIsInteger(String) - Static method in class stanford.cs106.util.StringUtils
-
- stringIsInteger(String, int) - Static method in class stanford.cs106.util.StringUtils
-
- stringIsReal(String) - Static method in class stanford.cs106.util.StringUtils
-
- StringUtils - Class in stanford.cs106.util
-
This class contains utility code related to Strings and text processing.
- stripPackages(Class<?>) - Static method in class stanford.cs106.reflect.ClassUtils
-
- stripPackages(String) - Static method in class stanford.cs106.reflect.ClassUtils
-
- SuperKarel - Class in stanford.karel
-
Extended Karel class .
- SuperKarel() - Constructor for class stanford.karel.SuperKarel
-
- supportsExtension(String) - Static method in class stanford.cs106.audio.SplClip
-
- supportsFile(String) - Static method in class stanford.cs106.audio.SplClip
-
- SYSTEM_CONSOLE - Static variable in class acm.io.IOConsole
-
- SystemConsoleModel - Class in acm.io
-
- SystemConsoleModel() - Constructor for class acm.io.SystemConsoleModel
-
- SystemProperties - Class in stanford.cs106.util
-