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

A

actionPerformed(ActionEvent) - Method in class PictureExplorer
Controls the zoom menu bar
actionPerformed(ActionEvent) - Method in class SoundExplorer
Method to handle an action event
add(String) - Method in class AnimationPanel
Method to add a picture
addArc(Color, int, int, int, int, int, int) - Method in class Picture
 
addArcFilled(Color, int, int, int, int, int, int) - Method in class Picture
 
addEnvironmentWord(String) - Method in class HighlightingStyledDocument
Method: addEnvironmentWord Adds an environment word to the Vector of environment words.
addFrame(Picture) - Method in class FrameSequencer
Method to add a picture to the frame sequence
addKeyword(String) - Method in class HighlightingStyledDocument
Method: addKeyword Adds a keyword to the Vector of keywords.
addLine(Color, int, int, int, int) - Method in class Picture
 
addMessage(String, int, int) - Method in class SimplePicture
Method to draw a message as a string on the buffered image
addModel(Object) - Method in interface ModelDisplay
method to add the model to the world
addModel(Object) - Method in class World
Method to add a model to this model displayer
addMove(int, int, int, int) - Method in class Pen
Method to add a path segment if the pen is down
addNewLines(String) - Static method in class SimpleOutput
Method to add new line character if the message is too long
addOval(Color, int, int, int, int) - Method in class Picture
 
addOvalFilled(Color, int, int, int, int) - Method in class Picture
 
addPicture(Picture) - Method in class MoviePlayer
Method to add a picture to the movie
addRect(Color, int, int, int, int) - Method in class Picture
 
addRectFilled(Color, int, int, int, int) - Method in class Picture
 
addText(Color, int, int, String) - Method in class Picture
 
addTextWithStyle(Color, int, int, String, Font) - Method in class Picture
 
alaw2linear(byte) - Static method in class TConversionTool
 
ALTO_SAX - Static variable in class MidiPlayer
 
AnimationPanel - Class in <Unnamed>
Class to show a frame-based animation
AnimationPanel() - Constructor for class AnimationPanel
Constructor that takes no parameters
AnimationPanel(List<String>) - Constructor for class AnimationPanel
Constructor that takes a list of pictures
AnimationPanel(String) - Constructor for class AnimationPanel
 
APPLAUSE - Static variable in class MidiPlayer
 
asArray() - Method in class SimpleSound
Method to return the byte array

B

backward() - Method in class SimpleTurtle
Method to go backward by 100 pixels
backward(int) - Method in class SimpleTurtle
Method to go backward a given number of pixels
BASS - Static variable in class MidiPlayer
 
BIRD - Static variable in class MidiPlayer
 
blockingPlay() - Method in class SimpleSound
Plays the sound, then sleeps for how long the sound SHOULD last.
blockingPlayAtRateDur(double, double) - Method in class SimpleSound
First, checks the value of durInFrames to make sure that it is not larger than Integer.MAX_VALUE to guarrantee safe casting.
blockingPlayAtRateInRange(float, int, int) - Method in class SimpleSound
Calls playAtRateInRange(rate, startFrame, endFrame, true) .
blockingPlayOld() - Method in class SimpleSound
Creates a new Playback thread, starts it, then waits for the entire sound to finish playing before it returns.
ButtonPanel - Class in <Unnamed>
Class that holds the buttons for the movie player
ButtonPanel(MoviePlayer) - Constructor for class ButtonPanel
Constructor that doesn't take any parameters
bytesToInt16(byte[], int, boolean) - Static method in class TConversionTool
Converts 2 successive bytes starting at byteOffset in buffer to a signed integer sample with 16bit range.
bytesToInt24(byte[], int, boolean) - Static method in class TConversionTool
Converts 3 successive bytes starting at byteOffset in buffer to a signed integer sample with 24bit range.
bytesToInt32(byte[], int, boolean) - Static method in class TConversionTool
Converts a 4 successive bytes starting at byteOffset in buffer to a signed 32bit integer sample.

C

CELLO - Static variable in class MidiPlayer
 
changedUpdate(DocumentEvent) - Method in class JESGutter
Method: changedUpdate Gives notification that an attribute or set of attributes changed.
changeToBaseOne() - Method in class PictureExplorer
Changes the number system to start at one
checkScroll() - Method in class PictureExplorer
Method to check that the current position is in the viewing area and if not scroll to center the current position if possible
checkScroll() - Method in class SoundExplorer
Method to check that the current position is in the viewing area and if not scroll to center the current position if possible
CLARINET - Static variable in class MidiPlayer
 
cleanUp() - Static method in class JavaMusic
 
cleanUp() - Method in class MidiPlayer
Method to clean up the midi player
clearBackground() - Method in interface ModelDisplay
Method to clear the background
clearBackground() - Method in class World
Method to clear the background picture
clearPath() - Method in class Pen
Method to clear the path stored for this pen
clearPath() - Method in class SimpleTurtle
Method to clear the path (history of where the turtle has been)
close() - Static method in class JavaMusic
 
close() - Method in class MidiPlayer
Method to close the midi player
close() - Method in class PictureFrame
A method to close a picture frame
ColorChooser - Class in <Unnamed>
A class to make working with a color chooser easier for students.
ColorChooser() - Constructor for class ColorChooser
 
colorDistance(Color) - Method in class Pixel
Method to get the distance between this pixel's color and the passed color
colorDistance(Color, Color) - Static method in class Pixel
Method to compute the color distances between two color objects
containsTurtle(Turtle) - Method in class World
Method to check if this world contains the passed turtle
convert(String, String) - Static method in class SimpleSound
Method to convert a mp3 sound into a wav sound
copyPicture(SimplePicture) - Method in class SimplePicture
Method that will copy all of the passed source picture into the current picture object
createGraphics() - Method in class SimplePicture
Method to get a Graphics2D object for this picture which can be used to do 2D drawing on the picture
createLocationPanel(Font) - Method in class PictureExplorer
Create the pixel location panel

D

DigitalPicture - Interface in <Unnamed>
Interface to describe a digital picture.
displayImage() - Method in class PictureFrame
A method to make sure the frame is displayed
displayPixelInformation(String, String) - Method in class PictureExplorer
Method to display the pixel information from the passed x and y but also converts x and y from strings
draw(Graphics) - Method in class AnimationPanel
Method to paint the frames
drawInfoString(Graphics) - Method in class SimpleTurtle
Method to draw the information string
drop(Picture) - Method in class SimpleTurtle
Method to draw a passed picture at the current turtle location and rotation in a picture or model display

E

explore() - Method in class SimplePicture
Method to open a picture explorer on a copy of this simple picture
explore() - Method in class SimpleSound
Method to open a sound viewer on a copy of this sound

F

FileChooser - Class in <Unnamed>
A class to make working with a file chooser easier for students.
FileChooser() - Constructor for class FileChooser
 
fireRemoveUpdate(DocumentEvent) - Method in class HighlightingStyledDocument
fireRemoveUpdate Overrides the default method from DefaultStyledDocument.
FLUTE - Static variable in class MidiPlayer
 
forward() - Method in class SimpleTurtle
Method to move the turtle foward 100 pixels
forward(int) - Method in class SimpleTurtle
Method to move the turtle forward the given number of pixels
FrameSequencer - Class in <Unnamed>
Class used to save frames in a movie to a directory and show frames from a movie.
FrameSequencer(String) - Constructor for class FrameSequencer
Constructor that takes a directory name
FrameSequencer(String, String) - Constructor for class FrameSequencer
Constructor that takes a directory name and a base file name
FRENCH_HORN - Static variable in class MidiPlayer
 

G

getAlpha() - Method in class Pixel
Method to get the amount of alpha (transparency) at this pixel.
getAudioFileFormat() - Method in class SimpleSound
Method that returns the AudioFileFormat describing this simple sound.
getAverage() - Method in class Pixel
Method to get the average of the colors of this pixel
getBackground() - Method in class World
 
getBaseName() - Method in class FrameSequencer
Method to get the base name
getBasicPixel(int, int) - Method in interface DigitalPicture
 
getBasicPixel(int, int) - Method in class SimplePicture
Method to return the pixel value as an int for the given x and y location
getBlue() - Method in class Pixel
Method to get the amount of blue at this pixel.
getBlue(int) - Static method in class Pixel
Method to get the blue value from a pixel represented as an int
getBodyColor() - Method in class SimpleTurtle
Method to get the body color
getBuffer() - Method in class SimpleSound
Method that returns the byte array representation of this simple sound.
getBufferedImage() - Method in interface DigitalPicture
 
getBufferedImage() - Method in class SimplePicture
Method to get the buffered image
getChannel() - Static method in class JavaMusic
 
getChannels() - Method in class SimpleSound
Obtains the number of channels of this sound.
getColor() - Method in class Pen
Method to get the pen (ink) color
getColor() - Method in class Pixel
Method to get a color object that represents the color at this pixel.
getCurrentX() - Method in class ImageDisplay
Method to get the current x
getCurrentY() - Method in class ImageDisplay
Method to get the current y
getCurrIndex() - Method in class AnimationPanel
Method to get the current index
getDEBUG() - Method in class SimpleSound
Method to get the value of the debug flag
getDirectory() - Method in class FrameSequencer
Method to get the directory to write the frames to
getDistance(int, int) - Method in class SimpleTurtle
Get the distance from the passed x and y location
getExtension() - Method in class SimplePicture
Method to get the extension for this picture
getFileName() - Method in interface DigitalPicture
 
getFileName() - Method in class SimplePicture
Method to get the file name associated with the picture
getFileName() - Method in class SimpleSound
Method that returns the name of the file this sound came from.
getFrame(int) - Method in class SimpleSound
Returns an array containing all of the bytes in the specified frame.
getFrameNumber() - Method in class FrameSequencer
Method to get the frame number
getFramesPerSec() - Method in class AnimationPanel
Method to get the frames per second
getGraphics() - Method in interface ModelDisplay
Method that returns the graphics context for this model display
getGraphics() - Method in class SimplePicture
Method to get a graphics object for this picture to use to draw on
getGraphics() - Method in class World
Method to get the graphics context for drawing on
getGreen() - Method in class Pixel
Method to get the amount of green at this pixel.
getGreen(int) - Static method in class Pixel
Method to get the green value from a pixel represented as an int
getHeading() - Method in class SimpleTurtle
Method to get the current heading
getHeight() - Method in interface DigitalPicture
 
getHeight() - Method in interface ModelDisplay
Method to get the height of the display
getHeight() - Method in class SimplePicture
Method to get the height of the picture in pixels
getHeight() - Method in class SimpleTurtle
Method to return the height of this object
getHeight() - Method in class World
Method to get the height in pixels
getImage() - Method in interface DigitalPicture
 
getImage() - Method in class ImageDisplay
Method to get the image
getImage() - Method in class SimplePicture
Method to get an image from the picture
getInfoColor() - Method in class SimpleTurtle
Method to get the information color
getInstrumentNames() - Method in class MidiPlayer
Method to get the map of index number to instrument names
getIntNumber(String) - Static method in class SimpleInput
Method to allow the user to input an integer.
getIntNumber(String, int, int) - Static method in class SimpleInput
Method to get an integer between a minimum and maximum (inclusive)
getLastTurtle() - Method in class World
Metod to get the last turtle in this world
getLeftSample(int) - Method in class SimpleSound
Obtains the left sample of the audio data contained at the specified frame.
getLength() - Method in class SimpleSound
Method to return the length of the sound as the number of samples
getLengthInBytes() - Method in class SimpleSound
Obtains the length of this sound in bytes.
getLengthInFrames() - Method in class SimpleSound
Obtains the length of the audio data contained in the file, expressed in sample frames.
getMediaDirectory() - Static method in class FileChooser
Method to get the directory for the media
getMediaPath(String) - Static method in class FileChooser
Method to get the full path for the passed file name
getMediaPath(String) - Static method in class SimplePicture
Method to get the directory for the media
getModelDisplay() - Method in class SimpleTurtle
Method to get the model display for this simple turtle
getMoviePlayer() - Method in class FrameSequencer
Method to get the movie player to use to show this sequence
getName() - Method in class SimpleTurtle
Method to get the name of the turtle
getNumber(String) - Static method in class SimpleInput
Method to allow the user to input a number.
getNumFrames() - Method in class FrameSequencer
Method to get the number of frames in this sequence
getNumSamples() - Method in class SimpleSound
Returns the number of samples in this sound
getPen() - Method in class SimpleTurtle
Method to get the pen
getPenColor() - Method in class SimpleTurtle
Method to get the pen color
getPenWidth() - Method in class SimpleTurtle
Method to get the pen width
getPicture() - Method in class SimpleTurtle
Method to get the picture for this simple turtle
getPicture(int) - Method in class SlideShow
 
getPicture() - Method in class World
Method to get the background picture
getPictureFrame() - Method in class SimplePicture
Method to get the picture frame for the picture
getPictureWithHeight(int) - Method in class SimplePicture
Method to create a new picture of the passed height.
getPixel(int, int) - Method in interface DigitalPicture
 
getPixel(int, int) - Method in class SimplePicture
Method to get a pixel object for the given x and y location
getPixels() - Method in class SimplePicture
Method to get a one-dimensional array of Pixels for this simple picture
getPlaybacks() - Method in class SimpleSound
Method that returns the vector of playback threads currently active on this sound.
getPlaying() - Method in class Playback
Method to return true if this playback thread is playing and false otherwise
getPreferredScrollableViewportSize() - Method in class ImageDisplay
Method to return the preferred size
getRed() - Method in class Pixel
Method to get the amount of red at this pixel.
getRed(int) - Static method in class Pixel
Method to get the red value from a pixel represented as an int
getRightSample(int) - Method in class SimpleSound
Obtains the right sample of the audio data contained at the specified frame.
getSample(int) - Method in class Samples
gets item
getSample(int) - Method in class SimpleSound
Method to create and return a SoundSample object for the given frame number
getSamples(Sound) - Static method in class Samples
 
getSamples() - Method in class SimpleSound
Method to create and return an array of SoundSample objects
getSampleValue(int) - Method in class SimpleSound
If this is a mono sound, obtains the single sample contained within this frame, else obtains the first (left) sample contained in the specified frame.
getSampleValueAt(int) - Method in class SimpleSound
Method to get the sample at the passed index and handle any SoundExceptions
getSamplingRate() - Method in class SimpleSound
Method to get the sampling rate of this sound
getScrollableBlockIncrement(Rectangle, int, int) - Method in class ImageDisplay
Method to return the block increment for scrolling
getScrollableTracksViewportHeight() - Method in class ImageDisplay
Method to check if the viewport height is the source height
getScrollableTracksViewportWidth() - Method in class ImageDisplay
Method to check if the viewport width is the source width
getScrollableUnitIncrement(Rectangle, int, int) - Method in class ImageDisplay
Method to return the unit increment for scrolling
getShellColor() - Method in class SimpleTurtle
Method to get the shell color
getShowInfo() - Method in class SimpleTurtle
Method to get value of show info
getSound() - Method in class Sample
get sound object
getSound() - Method in class Samples
get sound object
getSoundExplorer() - Method in class SimpleSound
Method that returns the SoundExplorer
getString(String) - Static method in class SimpleInput
Method to get a string input by the user.
getSynthesizer() - Method in class MidiPlayer
Method to return the synthesizer
getTitle() - Method in interface DigitalPicture
 
getTitle() - Method in class SimplePicture
Method to get the title of the picture
getTitle() - Method in class SlideShow
 
getTransformEnclosingRect(AffineTransform) - Method in class SimplePicture
Method to get the coordinates of the enclosing rectangle after this transformation is applied to the current picture
getTurtleIterator() - Method in class World
Method to get an iterator on the list of turtles
getTurtleList() - Method in class World
Method to get the list of turtles in the world
getValue() - Method in class Sample
get sample value
getValue() - Method in class SoundSample
Method to get the value of this sample as in int and handle the possible sound exception
getWaitTime() - Method in class SlideShow
 
getWidth() - Method in interface DigitalPicture
 
getWidth() - Method in interface ModelDisplay
Method to get the width of the display
getWidth() - Method in class Pen
Method to get the width of the pen
getWidth() - Method in class SimplePicture
Method to get the width of the picture in pixels
getWidth() - Method in class SimpleTurtle
Method to return the width of this object
getWidth() - Method in class World
Method to get the width in pixels
getX() - Method in class Pixel
Method to get the x location of this pixel.
getXPos() - Method in class SimpleTurtle
Method to get the current x position
getY() - Method in class Pixel
Method to get the y location of this pixel.
getYPos() - Method in class SimpleTurtle
Method to get the current y position
GUITAR - Static variable in class MidiPlayer
 

H

HARMONICA - Static variable in class MidiPlayer
 
HARP - Static variable in class MidiPlayer
 
HELICOPTER - Static variable in class MidiPlayer
 
hide() - Method in class PictureFrame
A method to hide the frame
hide() - Method in class SimplePicture
Method to hide the picture
hide() - Method in class SimpleTurtle
Method to hide the turtle (stop showing it) This doesn't affect the pen status
hideFrame() - Method in class World
Method to hide the frame
HighlightingStyledDocument - Class in <Unnamed>
Highlights jython syntax in a Document Created for the Jython Environment for Students (JES) Hilghights keywords and environment words that are defined for it.
HighlightingStyledDocument() - Constructor for class HighlightingStyledDocument
 

I

ICE_CUBE - Static variable in class MidiPlayer
 
ImageDisplay - Class in <Unnamed>
Class to display an image and the current location with a + sign Copyright Georgia Institute of Technology 2004
ImageDisplay(Image) - Constructor for class ImageDisplay
Constructor that takes the image to display
ImageDisplay(Image, int, int) - Constructor for class ImageDisplay
Constructor that takes the image and current x and y
insertString(int, String, AttributeSet) - Method in class HighlightingStyledDocument
insertString Overrides the default method from DefaultStyledDocument.
insertUpdate(DocumentEvent) - Method in class JESGutter
Method: insertUpdate Gives notification that there was text inserted into the document.
intToBytes16(int, byte[], int, boolean) - Static method in class TConversionTool
Converts a 16 bit sample of type int to 2 bytes in an array.
intToBytes24(int, byte[], int, boolean) - Static method in class TConversionTool
Converts a 24 bit sample of type int to 3 bytes in an array.
intToBytes32(int, byte[], int, boolean) - Static method in class TConversionTool
Converts a 32 bit sample of type int to 4 bytes in an array.
intToUnsignedByte(int) - Static method in class TConversionTool
 
intToUnsignedBytes16(int, byte[], int, boolean) - Static method in class TConversionTool
 
intToUnsignedBytes24(int, byte[], int, boolean) - Static method in class TConversionTool
 
intToUnsignedBytes32(int, byte[], int, boolean) - Static method in class TConversionTool
 
isEnvWord(String) - Method in class HighlightingStyledDocument
Method: isEnvWord Sets the default style of text to use
isPenDown() - Method in class Pen
Method to get pen down status
isPenDown() - Method in class SimpleTurtle
Method to check if the pen is down
isShown() - Method in class FrameSequencer
Method to check if the frame sequence is being shown
isStereo() - Method in class SimpleSound
Method to check if a sound is stereo (2 channels) or not
isVisible() - Method in class SimpleTurtle
Method to get the value of the visible flag

J

JavaMusic - Class in <Unnamed>
 
JavaMusic() - Constructor for class JavaMusic
 
JAZZ_GUITAR - Static variable in class MidiPlayer
 
JESGutter - Class in <Unnamed>
The JES Gutter Created for the Jython Environment for Students The JES Gutter is a side bar that shows useful contextual information about the document being currently edited.
JESGutter(JEditorPane, Font) - Constructor for class JESGutter
Class constructor Creates a Gutter object with a given TextComponent.
JESstartup - Class in <Unnamed>
 
JESstartup() - Constructor for class JESstartup
 

L

linear2alaw(short) - Static method in class TConversionTool
 
linear2ulaw(int) - Static method in class TConversionTool
Converts a linear signed 16bit sample to a uLaw byte.
load(Image) - Method in interface DigitalPicture
 
load(String) - Method in interface DigitalPicture
 
load(Image) - Method in class SimplePicture
Method to load the buffered image with the passed image
load(String) - Method in class SimplePicture
Method to write the contents of the picture to a file with the passed name without throwing errors
loadFromFile(String) - Method in class SimpleSound
Resets the fields of this sound so that it now represents the sound in the specified file.
loadImage(String) - Method in class SimplePicture
Method to load the picture from the passed file name this just calls load(fileName) and is for name compatibility
loadOrFail(String) - Method in class SimplePicture
Method to load the picture from the passed file name
loadPictureAndShowIt(String) - Method in class SimplePicture
Method to load a picture from a file name and show it in a picture frame

M

main(String[]) - Static method in class FrameSequencer
 
main(String[]) - Static method in class JavaMusic
 
main(String[]) - Static method in class JESstartup
 
main(String[]) - Static method in class PictureExplorer
Test Main.
main(String[]) - Static method in class SlideShow
 
makeAIS() - Method in class SimpleSound
Creates an AudioInputStream for this sound from the buffer and the audioFileFormat.
MidiPlayer - Class in <Unnamed>
Class that knows how to play notes using the midi standard Copyright 2004 Georgia Institute of Technology
MidiPlayer() - Constructor for class MidiPlayer
Constructor that takes no arguments
modelChanged() - Method in interface ModelDisplay
method to notify the thing that displays that the model has changed
modelChanged() - Method in class World
Method that allows the model to notify the display
ModelDisplay - Interface in <Unnamed>
Interface to used to communicate between a model and its display Copyright Georgia Institute of Technology 2004
mouseClicked(MouseEvent) - Method in class PictureExplorer
Method called when the mouse is clicked
mouseClicked(MouseEvent) - Method in class SoundExplorer
Handle a mouse click event
mouseDragged(MouseEvent) - Method in class PictureExplorer
Called when the mouse is dragged (button held down and moved)
mouseDragged(MouseEvent) - Method in class SoundExplorer
Method to handle a mouse dragged event
mouseEntered(MouseEvent) - Method in class PictureExplorer
Method called when the component is entered (mouse moves over it)
mouseEntered(MouseEvent) - Method in class SoundExplorer
Method to handle a mouse entered event
mouseExited(MouseEvent) - Method in class PictureExplorer
Method called when the mouse moves over the component
mouseExited(MouseEvent) - Method in class SoundExplorer
Method to handle a mouse exited event
mouseMoved(MouseEvent) - Method in class PictureExplorer
Method called when the mouse is moved with no buttons down
mouseMoved(MouseEvent) - Method in class SoundExplorer
Method to handle a mouse move event
mousePressed(MouseEvent) - Method in class PictureExplorer
Method called when the mouse button is pushed down
mousePressed(MouseEvent) - Method in class SoundExplorer
Method to handle a mouse press
mouseReleased(MouseEvent) - Method in class PictureExplorer
Method called when the mouse button is released
mouseReleased(MouseEvent) - Method in class SoundExplorer
Method to handle a mouse release
moveTo(int, int) - Method in class SimpleTurtle
Method to move to turtle to the given x and y location
MoviePlayer - Class in <Unnamed>
Class that can play movies from multiple frames
MoviePlayer(List<String>) - Constructor for class MoviePlayer
Constructor that takes a list of pictures
MoviePlayer(String) - Constructor for class MoviePlayer
Constructor that takes a directory and shows a movie from it
MUSIC_BOX - Static variable in class MidiPlayer
 

N

newline - Static variable in class HighlightingStyledDocument
 

O

OBOE - Static variable in class MidiPlayer
 
open() - Static method in class JavaMusic
 

P

paint(Graphics) - Method in class JESGutter
paint Paints gutter information to the graphics object
paintComponent(Graphics) - Method in class AnimationPanel
Method to paint the component
paintComponent(Graphics) - Method in class ImageDisplay
Method to handle displaying this object
paintComponent(Graphics) - Method in class PathSegment
Method to paint this path segment
paintComponent(Graphics) - Method in class Pen
Metod to paint the pen path
paintComponent(Graphics) - Method in class SimpleTurtle
Method to paint the turtle
paintComponent(Graphics) - Method in class World
Method to paint this component
PathSegment - Class in <Unnamed>
This class represents a displayable path segment it has a color, width, and a Line2D object Copyright Georgia Institute of Technology 2005
PathSegment(Color, int, Line2D.Float) - Constructor for class PathSegment
Constructor that takes the color, width, and line
Pen - Class in <Unnamed>
Class to represent a pen which has a color, width, and a list of path segments that it should draw.
Pen() - Constructor for class Pen
Constructor that takes no arguments
Pen(Color, int) - Constructor for class Pen
Constructor that takes all the ink color, and width
Pen(Color, int, boolean) - Constructor for class Pen
Constructor that takes the ink color, width, and penDown flag
penDown() - Method in class SimpleTurtle
Method to set the pen down
penUp() - Method in class SimpleTurtle
Method to lift the pen up
PIANO - Static variable in class MidiPlayer
 
PICCOLO - Static variable in class MidiPlayer
 
pickAColor() - Static method in class ColorChooser
Method to let the user pick a color and return the color object.
pickAFile() - Static method in class FileChooser
Method to let the user pick a file and return the full file name as a string.
Picture - Class in <Unnamed>
A class that represents a picture.
Picture() - Constructor for class Picture
Constructor that takes no arguments
Picture(String) - Constructor for class Picture
Constructor that takes a file name and creates the picture
Picture(int, int) - Constructor for class Picture
Constructor that takes the width and height
Picture(Picture) - Constructor for class Picture
Constructor that takes a picture and creates a copy of that picture
pictureArray - Variable in class SlideShow
 
PictureExplorer - Class in <Unnamed>
Displays a picture and lets you explore the picture by displaying the x, y, red, green, and blue values of the pixel at the cursor when you click a mouse button or press and hold a mouse button while moving the cursor.
PictureExplorer(DigitalPicture) - Constructor for class PictureExplorer
Public constructor
PictureFrame - Class in <Unnamed>
Class that holds a digital picture and displays it.
PictureFrame() - Constructor for class PictureFrame
A constructor that takes no arguments.
PictureFrame(DigitalPicture) - Constructor for class PictureFrame
A constructor that takes a picture to display
Pixel - Class in <Unnamed>
Class that references a pixel in a picture.
Pixel(DigitalPicture, int, int) - Constructor for class Pixel
A constructor that take the x and y location for the pixel and the picture the pixel is coming from
play() - Method in class SimpleSound
Creates a new Playback thread and starts it.
playAtRateDur(double, double) - Method in class SimpleSound
Checks the value of durInFrames to make sure that it is not larger than Integer.MAX_VALUE to guarrantee safe casting.
playAtRateInRange(float, int, int) - Method in class SimpleSound
Calls playAtRateInRange(rate, startFrame, endFrame, false) .
playAtRateInRange(float, int, int, boolean) - Method in class SimpleSound
Plays the specified segment of this sound at the given sample rate.
Playback - Class in <Unnamed>
The class Playback extends from Thread and allows for playback of a simple sound.
Playback(SimpleSound) - Constructor for class Playback
Constructor that takes the simple sound to be played
playJingleBells() - Method in class MidiPlayer
Method to play Jingle Bells
playJingleBells4() - Method in class MidiPlayer
Method to play the first 4 measures of jingle bells with each measure taking 1000 milliseconds (1 second)
playJingleBellsV1V2() - Method in class MidiPlayer
Method to play the first verse of jingle bells with each measure taking 1000 milliseconds (1 second) It is in 2/4 time
playMovie() - Method in class MoviePlayer
Method to play the movie from the beginning
playMovie(int) - Method in class MoviePlayer
Method to play the movie from the beginning
playNote(int, int, int) - Static method in class JavaMusic
 
playNote(int, int) - Static method in class JavaMusic
 
playNote(int, int, int) - Method in class MidiPlayer
Method to play a note
playNote(int, int) - Method in class MidiPlayer
Method to play a note
playNote(int, int, int) - Static method in class SimpleSound
Method to play a note using MIDI
playNotesOnChannel(int, int[], int[], int[]) - Method in class MidiPlayer
Method to play an array of notes with the given durations and intensities

R

remove(Object) - Method in interface ModelDisplay
Method to remove the model from the world
remove(Object) - Method in class World
Method to remove the passed object from the world
removeLineMark() - Method in class JESGutter
removeLineMark Removes the line demarcation from the gutter
removePlayback(Playback) - Method in class SimpleSound
Deletes the specified playback object from the Vector.
removeUpdate(DocumentEvent) - Method in class JESGutter
Method: removeUpdate Gives notifications that text was removed from the document.
repaint() - Method in class PictureExplorer
Repaints the image on the scrollpane.
repaint() - Method in class PictureFrame
Method to force the picture frame to repaint (redraw)
repaint() - Method in class SimplePicture
Method to force the picture to redraw itself.
rest(int) - Method in class MidiPlayer
Method to rest for a specified number of milliseconds
run() - Method in class Playback
Starts this thread.

S

Sample - Class in <Unnamed>
Class that represents a sample.
Sample(Sound, int) - Constructor for class Sample
Constructor that takes a file name
SAMPLE_RATE - Static variable in class SimpleSound
Constant for the default sampling rate
Samples - Class in <Unnamed>
Class that represents a sample.
Samples(Sound) - Constructor for class Samples
Constructor that takes a file name
setAllPixelsToAColor(Color) - Method in class SimplePicture
Method to set the color in the picture to the passed color
setAlpha(int) - Method in class Pixel
Method to set the alpha (transparency) to a new alpha value
setAudioFileFormat(AudioFileFormat) - Method in class SimpleSound
Changes the AudioFileFormat of this sound.
setAutoRepaint(boolean) - Method in class World
Method to set the automatically repaint flag
setBase(int) - Method in class SoundExplorer
Method to set the base for the index.
setBaseName(String) - Method in class FrameSequencer
Method to set the base name
setBasicPixel(int, int, int) - Method in interface DigitalPicture
 
setBasicPixel(int, int, int) - Method in class SimplePicture
Method to set the value of a pixel in the picture from an int
setBlue(int) - Method in class Pixel
Method to set the blue to a new blue value
setBodyColor(Color) - Method in class SimpleTurtle
Method to set the body color which will also set the pen color
setBuffer(byte[]) - Method in class SimpleSound
Changes the byte array that represents this sound.
setBuffer(int) - Method in class SimpleSound
Changes the byte array that represents this sound.
setChannel(int) - Method in class MidiPlayer
Method to change the current channel
setColor(Color) - Method in class Pen
Method to set the pen (ink) color
setColor(Color) - Method in class Pixel
Method to set the pixel color to the passed in color object.
setColor(Color) - Method in class SimpleTurtle
Method to set the color of the turtle.
setCommentStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setCommentStyle Sets the style of text to use for comments
setCurrentX(int) - Method in class ImageDisplay
Method to set the current x
setCurrentY(int) - Method in class ImageDisplay
Method to set the current y
setDefaultStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setDefaultStyle Sets the default style of text to use
setDirectory(String) - Method in class FrameSequencer
Method to set the directory to write the frames to
setDocument(Document) - Method in class JESGutter
setDocument Sets the document for the gutter to listen for changes in.
setEnvironmentWords(String[]) - Method in class HighlightingStyledDocument
Method: setEnvironmentWords Sets a collection of environment words to highlight.
setEnvironmentWordStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setEnvironmentWordStyle Sets the style of text to use for environment words
setFrame(int, byte[]) - Method in class SimpleSound
Changes the value of each byte of the specified frame.
setFramesPerSec(int) - Method in class AnimationPanel
Method to set the frames per second to show the movie
setGreen(int) - Method in class Pixel
Method to set the green to a new green value
setHeading(double) - Method in class SimpleTurtle
Method to set the heading
setHeight(int) - Method in class SimpleTurtle
Method to set the height of this object
setImage(Image) - Method in class ImageDisplay
Method to set the image
setInfoColor(Color) - Method in class SimpleTurtle
Method to set the information color
setInstrument(int) - Method in class MidiPlayer
Method to set the instrument to play
setKeywords(String[]) - Method in class HighlightingStyledDocument
Method: setKeywords Sets a collection of keywords to highlight.
setKeywordStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setKeywordStyle Sets the style of text to use for keywords
setLeftSample(int, int) - Method in class SimpleSound
 
setLine(int, int, int) - Method in class JESGutter
setLine Adds a line to the gutter.
setLineMark(int) - Method in class JESGutter
setLineMark Sets the line do demarcate on the gutter
setLParenStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setLParenStyle Sets the style of text to use for invalid Left Parens
setMediaPath(String) - Static method in class FileChooser
Method to set the media path by setting the directory to use
setMediaPath(String) - Static method in class SimplePicture
Method to set the media path by setting the directory to use
setModelDisplay(ModelDisplay) - Method in class SimpleTurtle
Method to set the model display for this simple turtle
setName(String) - Method in class SimpleTurtle
Method to set the name of the turtle
setPen(Pen) - Method in class SimpleTurtle
Method to set the pen
setPenColor(Color) - Method in class SimpleTurtle
Method to set the pen color
setPenDown(boolean) - Method in class Pen
Method to set the pen down value
setPenDown(boolean) - Method in class SimpleTurtle
Method to set the pen down boolean variable
setPenWidth(int) - Method in class SimpleTurtle
Method to set the pen width
setPicture(Picture) - Method in class PictureFrame
Method to set the picture to show in this picture frame
setPicture(Picture) - Method in class SimpleTurtle
Method to set the picture for this simple turtle
setPicture(Picture) - Method in class World
Method to set the background picture
setPictureFrame(PictureFrame) - Method in class SimplePicture
Method to set the picture frame for this picture
setRed(int) - Method in class Pixel
Method to set the red to a new red value
setRightSample(int, int) - Method in class SimpleSound
 
setRParenStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setRParenStyle Sets the style of text to use for invalid Right Parens
setSample(int, int) - Method in class Samples
sets item
setSample(int, double) - Method in class Samples
sets item
setSampleValue(int, int) - Method in class SimpleSound
Changes the value of the sample found at the specified frame.
setSampleValueAt(int, int) - Method in class SimpleSound
Method to set the sample value at the passed index to the passed value
setShellColor(Color) - Method in class SimpleTurtle
Method to set the shell color
setShowInfo(boolean) - Method in class SimpleTurtle
Method to show the turtle information string
setShown(boolean) - Method in class FrameSequencer
Method to set the shown flag
setSoundExplorer(SoundExplorer) - Method in class SimpleSound
Changes the explorer of this object.
setStringStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setStringStyle Sets the style of text to use for strings
setTextComponent(JEditorPane) - Method in class JESGutter
setTextComponent() Sets th etext component the gutter models itself after
setTitle(String) - Method in interface DigitalPicture
 
setTitle(String) - Method in class PictureExplorer
Set the title of the frame
setTitle(String) - Method in class PictureFrame
Method to set the title for the picture frame
setTitle(String) - Method in class SimplePicture
Method to set the title for the picture
setTitle(String) - Method in class SlideShow
 
setTitle(String) - Method in class SoundExplorer
Method to set the title on the main window
setValue(int) - Method in class Sample
get sample value
setValue(double) - Method in class Sample
get sample value
setValue(int) - Method in class SoundSample
Method to set the value of this sample and handle the sound exception
setVisible(boolean) - Method in class MoviePlayer
Method to set the visibility of the frame
setVisible(boolean) - Method in class PictureFrame
A method to set the visible flag on the frame
setVisible(boolean) - Method in class SimplePicture
Method to make this picture visible or not
setVisible(boolean) - Method in class SimpleTurtle
Method to set the visible flag
setWidth(int) - Method in class Pen
Method to set the width of the pen
setWidth(int) - Method in class SimpleTurtle
Method to set the width of this object
show() - Method in interface DigitalPicture
 
show() - Method in class SimplePicture
Method to show the picture in a picture frame
show() - Method in class SimpleTurtle
Method to show the turtle (doesn't affect the pen status
show() - Method in class SlideShow
 
showAll() - Method in class AnimationPanel
show all frames starting at 0
showAllFromCurrent() - Method in class AnimationPanel
show animation from current index
showError(String) - Static method in class SimpleOutput
Method to show an error to a user
showFrame() - Method in class World
Method to show the frame
showInformation(String) - Static method in class SimpleOutput
Method to show information to the user
showNext() - Method in class AnimationPanel
Method to show just the next frame
showNext() - Method in class MoviePlayer
Method to show the next image
showPrev() - Method in class AnimationPanel
Method to show the previous frame
showPrevious() - Method in class MoviePlayer
Method to show the previous image
showWarning(String) - Static method in class SimpleOutput
Method to show a warning to a user
SimpleInput - Class in <Unnamed>
Class to make it easy to get input from a user using JOptionPane Copyright Georgia Institute of Technology 2004
SimpleInput() - Constructor for class SimpleInput
 
SimpleOutput - Class in <Unnamed>
Class to make it easy to do output to the user using JOptionPane Copyright Georgia Institute of Technology 2004
SimpleOutput() - Constructor for class SimpleOutput
 
SimplePicture - Class in <Unnamed>
A class that represents a simple picture.
SimplePicture() - Constructor for class SimplePicture
A Constructor that takes no arguments.
SimplePicture(String) - Constructor for class SimplePicture
A Constructor that takes a file name and uses the file to create a picture
SimplePicture(int, int) - Constructor for class SimplePicture
A constructor that takes the width and height desired for a picture and creates a buffered image of that size.
SimplePicture(SimplePicture) - Constructor for class SimplePicture
A Constructor that takes a picture to copy information from
SimpleSound - Class in <Unnamed>
The SimpleSound class is an implementation of the Java Sound API specifically designed for use with students.
SimpleSound() - Constructor for class SimpleSound
Constructs a SimpleSound of 3 seconds long.
SimpleSound(int) - Constructor for class SimpleSound
Constructs a SimpleSound of the specified length.
SimpleSound(int, boolean) - Constructor for class SimpleSound
Constructs a simple sound with the given sample size in bits and type of endian (big or little)
SimpleSound(String) - Constructor for class SimpleSound
Constructs a new SimpleSound from the given file.
SimpleSound(SimpleSound) - Constructor for class SimpleSound
Constructor that creates a new SimpleSound by copying a passed SimpleSound
SimpleTurtle - Class in <Unnamed>
Class that represents a Logo-style turtle.
SimpleTurtle(int, int) - Constructor for class SimpleTurtle
Constructor that takes the x and y position for the turtle
SimpleTurtle(int, int, ModelDisplay) - Constructor for class SimpleTurtle
Constructor that takes the x and y position and the model displayer
SimpleTurtle(ModelDisplay) - Constructor for class SimpleTurtle
Constructor that takes a model display and adds a turtle in the middle of it
SimpleTurtle(int, int, Picture) - Constructor for class SimpleTurtle
Constructor that takes the x and y position and the picture to draw on
SimpleTurtle(Picture) - Constructor for class SimpleTurtle
Constructor that takes the picture to draw on and will appear in the middle
SlideShow - Class in <Unnamed>
 
SlideShow() - Constructor for class SlideShow
 
SlideShow(Picture[]) - Constructor for class SlideShow
 
SlideShow(Picture[], int) - Constructor for class SlideShow
 
Sound - Class in <Unnamed>
Class that represents a sound.
Sound(String) - Constructor for class Sound
Constructor that takes a file name
Sound(int) - Constructor for class Sound
Constructor that takes the number of samples in the sound
Sound(Sound) - Constructor for class Sound
Constructor that takes a sound to copy
SoundException - Exception in <Unnamed>
Class to use to report a sound exception Copyright Georgia Institute of Technology 2004
SoundException(String) - Constructor for exception SoundException
 
SoundExplorer - Class in <Unnamed>
This class allows you to explore a Sound.
SoundExplorer(SimpleSound, boolean) - Constructor for class SoundExplorer
Constructor that takes a sound and a boolean flag
SoundSample - Class in <Unnamed>
Class that represents a sample of a sound.
SoundSample(SimpleSound, int) - Constructor for class SoundSample
Constructor that takes a sound and valueArray
SoundTest - Class in <Unnamed>
A JUnit test case class.
SoundTest() - Constructor for class SoundTest
 
STEEL_GUITAR - Static variable in class MidiPlayer
 
stopPlaying() - Method in class Playback
Stops this thread by breaking the while loop in the run method.

T

TConversionTool - Class in <Unnamed>
 
TConversionTool() - Constructor for class TConversionTool
 
TELEPHONE - Static variable in class MidiPlayer
 
TENOR_SAX - Static variable in class MidiPlayer
 
testPickAndPlay() - Method in class SoundTest
A test method.
TIMPANI - Static variable in class MidiPlayer
 
toString() - Method in class Picture
Method to return a string with information about this picture.
toString() - Method in class Pixel
Method to return a string with information about this pixel
toString() - Method in class Sample
Obtains a string representation of this JavaSound.
toString() - Method in class Samples
Obtains a string representation of this JavaSound.
toString() - Method in class SimplePicture
Method to return a string with information about this picture
toString() - Method in class SimpleSound
Obtains a string representation of this JavaSound.
toString() - Method in class SimpleTurtle
Method to return a string with informaiton about this turtle
toString() - Method in class SlideShow
 
toString() - Method in class Sound
Method to return the string representation of this sound
toString() - Method in class SoundSample
Method to return a string with the information about this object
toString() - Method in class World
Method that returns information about this world in the form of a string
TROMBONE - Static variable in class MidiPlayer
 
TRUMPET - Static variable in class MidiPlayer
 
TUBA - Static variable in class MidiPlayer
 
turn(int) - Method in class SimpleTurtle
Method to turn the turtle the passed degrees use negative to turn left and pos to turn right
turnLeft() - Method in class SimpleTurtle
Method to turn left
turnRight() - Method in class SimpleTurtle
Method to turn right
turnToFace(SimpleTurtle) - Method in class SimpleTurtle
Method to turn to face another simple turtle
turnToFace(int, int) - Method in class SimpleTurtle
Method to turn towards the given x and y
Turtle - Class in <Unnamed>
Class that represents a turtle which is similar to a Logo turtle.
Turtle(int, int, Picture) - Constructor for class Turtle
Constructor that takes the x and y and a picture to draw on
Turtle(int, int, ModelDisplay) - Constructor for class Turtle
Constructor that takes the x and y and a model display to draw it on
Turtle(ModelDisplay) - Constructor for class Turtle
Constructor that takes the model display
Turtle(Picture) - Constructor for class Turtle
Constructor that takes a picture to draw on

U

ulaw2linear(byte) - Static method in class TConversionTool
 
unsignedByteToInt(byte) - Static method in class TConversionTool
 
unsignedByteToInt16(byte[], int, boolean) - Static method in class TConversionTool
 
unsignedByteToInt24(byte[], int, boolean) - Static method in class TConversionTool
 
unsignedByteToInt32(byte[], int, boolean) - Static method in class TConversionTool
 
update(LineEvent) - Method in class SoundExplorer
Method to handle the line event update
updateDisplay() - Method in class SimpleTurtle
Method to update the display of this turtle and also check that the turtle is in the bounds
updateHighlightingInRange(int, int) - Method in class HighlightingStyledDocument
Method: updateHighlightingInRange Looks at a given range of text in a document and highlights it according to keywords, environment, strings, and comments.
updateImage() - Method in class PictureFrame
A method to update the picture frame image with the image in the picture
updateImageAndShowIt() - Method in class PictureFrame
A method to update the picture frame image with the image in the picture and show it
updateLines() - Method in class JESGutter
updateLines Recounts the number of lines in the Document, and updates the lines list to have the new last few lines.
updatePicture(int, int, int, int) - Method in class Pixel
Method to update the picture based on the passed color values for this pixel

V

VIOLIN - Static variable in class MidiPlayer
 

W

WHISTLE - Static variable in class MidiPlayer
 
World - Class in <Unnamed>
Class to represent a 2d world that can hold turtles and display them Copyright Georgia Institute of Technology 2004
World() - Constructor for class World
Constructor that takes no arguments
World(boolean) - Constructor for class World
Constructor that takes a boolean to say if this world should be visible or not
World(int, int) - Constructor for class World
Constructor that takes a width and height for this world
write(String) - Method in class SimplePicture
Method to write the contents of the picture to a file with the passed name without throwing errors
write(String) - Method in class SimpleSound
Method to write this sound to a file
writeOrFail(String) - Method in class SimplePicture
Method to write the contents of the picture to a file with the passed name
writeToFile(String) - Method in class SimpleSound
Creates an audioInputStream from this sound, and then writes this stream out to the file with the specified name.

X

XYLOPHONE - Static variable in class MidiPlayer
 

Z

zoom(double) - Method in class PictureExplorer
Zooms in the on picture by scaling the image.

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