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

A

AbstractShape - Class in <Unnamed>
Class AbstractShape: abstract class for shapes that can be represented with 2 points Copyright Georgia Institute of Technology 2007
AbstractShape() - Constructor for class AbstractShape
Constructor that takes no arguments
AbstractShape(Point, Point) - Constructor for class AbstractShape
Constructor that takes the first and second point
AbstractShape(int, int, int, int) - Constructor for class AbstractShape
Constructor that takes x1,y1,x2,y2
act() - Method in class Deer
Method to act during a time step pick a random direction and move some random amount up to top speed
act() - Method in class Wolf
Method to act during a time step pick a random direction and move some random amount up to top speed
actionPerformed(ActionEvent) - Method in class PictureExplorer
Controls the zoom menu bar
actionPerformed(ActionEvent) - Method in class SoundExplorer
Method to handle an action event
add(Picture) - Method in class AnimationPanel
Method to add a picture
add(TextBalloon) - Method in class ComicPanel
Method to add a text balloon to the panel
add(AbstractShape) - Method in class ShapeComponent
Method to add a shape to the shape vector
addFrame(Picture) - Method in class FrameSequencer
Method to add a picture to the frame sequence
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
addPicture(Picture) - Method in class MoviePlayer
Method to add a picture to the movie
addWordBalloon(String, int, int) - Method in class Cartoon
Method to add a word balloon that contians the message
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 Copyright Georgia Institute of Technology 2007
AnimationPanel() - Constructor for class AnimationPanel
Constructor that takes no parameters
AnimationPanel(List<Picture>) - Constructor for class AnimationPanel
Constructor that takes a list of pictures
AnimationPanel(String) - Constructor for class AnimationPanel
Constructor that takes the directory to read the frames from
AnimationPanel(String, int) - Constructor for class AnimationPanel
Constructor that takes the directory to read from and the number of frames per second
APPLAUSE - Static variable in class MidiPlayer
 
ArraySorter - Class in <Unnamed>
Class ArraySorter has an array and can do different sorts on it
ArraySorter(int[]) - Constructor for class ArraySorter
Constructor that takes the array to sort
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
 
binaryFind(String, String[]) - Static method in class Searcher
Method to use a binary search to find a target string in a sorted array of strings
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

CaptureButtonPanel - Class in <Unnamed>
Class ButtonPanel: holds buttons for video capture Copyright Georgia Institute of Technology 2005
CaptureButtonPanel() - Constructor for class CaptureButtonPanel
A constructor that takes no arguments
CaptureButtonPanel(VideoCapturer, RegionInterface) - Constructor for class CaptureButtonPanel
A constructor that takes the object that handles the video capture and the object that handles the region selection
captureMovie() - Method in class MovieCapturer
Method to capture a movie until the done flag is set to true
captureMovie(int) - Method in class MovieCapturer
Method to capture a movie for the passed number of seconds
captureMovie(int, int, int, int) - Method in class MovieCapturer
Method to capture a movie until the done flag is set to true
captureMovie(int, int, int, int, int) - Method in class MovieCapturer
Method to capture a movie in a rectangular region for the passed number of seconds
captureMovie() - Method in class StartMovieCapture
Method to capture a movie until the stop method is called and sets the active thread to null
capturePicture() - Method in class StartMovieCapture
Method to capture a picture
captureRegion(int, int, int, int) - Method in class MovieCapturer
Method to capture a part of the screen
captureRegion() - Method in class MovieCapturer
Method to capture a region of the screen
captureScreen() - Method in class MovieCapturer
Method to capture the entire screen
captureScreen() - Method in interface VideoCapturer
Method that captures the screen
Cartoon - Class in <Unnamed>
Class to create a cartoon out of a picture
Cartoon(Picture) - Constructor for class Cartoon
Constructor that takes the picture
CELLO - Static variable in class MidiPlayer
 
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
 
ClassPeriod - Class in <Unnamed>
ClassPeriod represents a class period which has a teacher, a period number, and an array of students (max 35)
ClassPeriod() - Constructor for class ClassPeriod
No-argument constructor.
ClassPeriod(String) - Constructor for class ClassPeriod
Constructor that takes just the teacher's name
ClassPeriod(String, int) - Constructor for class ClassPeriod
Constructor that takes the teacher's name and period number
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)
clearShapes() - Method in interface RegionInterface
Method to clear the picked region (a shape)
clearShapes() - Method in class ShapeComponent
Clear all shapes out of the shape vector
close() - Method in class MidiPlayer
Method to close the midi player
close() - Method in class PictureFrame
A method to close a picture frame
color - Variable in class AbstractShape
the color of this shape
colorArray - Variable in class ColorSquares
 
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
ColorSquares - Class in <Unnamed>
Class that demonstrates creating buttons with different colors in a panel
ColorSquares() - Constructor for class ColorSquares
Constructor that takes no arguments
ComicPanel - Class in <Unnamed>
Class to create a comic panel.
ComicPanel(Picture) - Constructor for class ComicPanel
Constructor that takes just the picture to use
ComicStrip - Class in <Unnamed>
Class to display a comic strip.
ComicStrip(String, String, ComicPanel[]) - Constructor for class ComicStrip
Constructor that takes the name, author, and an array of panels
computeNetPay(double) - Method in class HourlyWorker
 
connect() - Method in class JpegImagesToMovie.ImageDataSource
 
containsTurtle(Turtle) - Method in class World
Method to check if this world contains the passed turtle
controllerUpdate(ControllerEvent) - Method in class JpegImagesToMovie
Controller Listener.
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
createDataSink(Processor, MediaLocator) - Method in class JpegImagesToMovie
Create the DataSink.
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
createMediaLocator(String) - Static method in class JpegImagesToMovie
Create a media locator from the given string.

D

DatabaseManager - Class in <Unnamed>
Class that handles the connection with the database
DatabaseManager(String, String) - Constructor for class DatabaseManager
Constructor that takes the driver name and url
dataSinkUpdate(DataSinkEvent) - Method in class JpegImagesToMovie
Event handler for the file writer.
Deer - Class in <Unnamed>
Class that represents a deer.
Deer(ModelDisplay) - Constructor for class Deer
Constructor that takes the model display (the original position will be randomally assigned
Deer(int, int, ModelDisplay) - Constructor for class Deer
Constructor that takes the x and y and a model display to draw it on
delAllAfter() - Method in class MoviePlayer
Method to delete all the frames after the current one
delAllBefore() - Method in class MoviePlayer
Method to delete all the frames before the current one
deleteLastFrame() - Method in class FrameSequencer
Method to delete the last frame
die() - Method in class Deer
Method that handles when a deer dies
DigitalPicture - Interface in <Unnamed>
Interface to describe a digital picture.
disconnect() - Method in class JpegImagesToMovie.ImageDataSource
 
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
doIt(int, int, int, List<String>, MediaLocator, String) - Method in class JpegImagesToMovie
Method to write out the movie for a given type
doItAVI(int, int, int, List<String>, String) - Method in class JpegImagesToMovie
Method to write out an AVI movie
doItAVI(int, int, int, List<String>, MediaLocator) - Method in class JpegImagesToMovie
Method to write out an AVI movie
doItAVI(int, int, int, List<String>, MediaLocator, String) - Method in class JpegImagesToMovie
Method to write out the movie for an AVI movie
doItQuicktime(int, int, int, List<String>, MediaLocator) - Method in class JpegImagesToMovie
Method to write out a quicktime movie
doItQuicktime(int, int, int, List<String>, String) - Method in class JpegImagesToMovie
Method to write out a quicktime movie
draw(Graphics) - Method in class AbstractShape
Abstract method to draw the shape given the graphics context
draw(Graphics) - Method in class AnimationPanel
Method to paint the frames
draw(Graphics) - Method in class RectangleShape
Draw the shape
draw(Graphics) - Method in class TextBalloon
Method to draw the text ballon using the passed graphics context
drawBalloon(int, Color, Color, Graphics2D) - Method in class TextBalloon
Method to draw the speech balloon
drawCircle(Point, double, double, double, Point, Color, Color, Graphics2D) - Method in class ThoughtBalloon
Method to draw a circle of a given width
drawInfoString(Graphics) - Method in class SimpleTurtle
Method to draw the information string
drawString(String, int, int) - Method in class SimplePicture
Method to draw a string at the given location on the picture
drawTail(int, Color, Color, Graphics2D) - Method in class SpeechBalloon
method to draw the tail of the balloon
drawTail(int, Color, Color, Graphics2D) - Method in class TextBalloon
Method to draw the tail of the balloon
drawTail(int, Color, Color, Graphics2D) - Method in class ThoughtBalloon
Method to draw the thought ballon using the passed graphics context
drawText(LineBreakMeasurer, Color, Graphics2D) - Method in class TextBalloon
Method to draw the text in the balloon
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

ended - Variable in class JpegImagesToMovie.ImageSourceStream
 
endOfStream() - Method in class JpegImagesToMovie.ImageSourceStream
 
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
 
fileDone - Variable in class JpegImagesToMovie
 
fileSuccess - Variable in class JpegImagesToMovie
 
FLUTE - Static variable in class MidiPlayer
 
format - Variable in class JpegImagesToMovie.ImageSourceStream
 
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
frame - Variable in class JpegImagesToMovie.ImageSourceStream
 
frame - Variable in class PictureFrame
Main window used as the frame
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

Geometry - Class in <Unnamed>
Class to hold methods for doing simple geometry All methods are static (class) methods.
Geometry() - Constructor for class Geometry
 
getAlpha() - Method in class Pixel
Method to get the amount of alpha (transparency) at this pixel.
getAttrIterator() - Method in class TextBalloon
Method to get the attributed character iterator used to display the text
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
getAverage() - Method in class Student
Method to return the average of the grades for this student
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
getChannels() - Method in class SimpleSound
Obtains the number of channels of this sound.
getClosestDeer(double) - Method in class Wolf
Method to get the closest deer within the passed distance to this wolf
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.
getContentDescriptor() - Method in class JpegImagesToMovie.ImageSourceStream
 
getContentLength() - Method in class JpegImagesToMovie.ImageSourceStream
 
getContentType() - Method in class JpegImagesToMovie.ImageDataSource
Content type is of RAW since we are sending buffers of video frames without a container format.
getControl(String) - Method in class JpegImagesToMovie.ImageDataSource
 
getControl(String) - Method in class JpegImagesToMovie.ImageSourceStream
 
getControls() - Method in class JpegImagesToMovie.ImageDataSource
 
getControls() - Method in class JpegImagesToMovie.ImageSourceStream
 
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
getDirectory(String) - Static method in class SimpleInput
Method to get the name of a directory
getDistance(double, double, double, double) - Static method in class Geometry
Method to get the distance between two points
getDistance(int, int) - Method in class SimpleTurtle
Get the distance from the passed x and y location
getDuration() - Method in class JpegImagesToMovie.ImageDataSource
We could have derived the duration from the number of frames and frame rate.
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.
getFinalPicture() - Method in class ComicPanel
 
getFont() - Method in class TextBalloon
Method to get the font used to display the message
getFormat() - Method in class JpegImagesToMovie.ImageSourceStream
Return the format of each video frame.
getFrame(int) - Method in class SimpleSound
Returns an array containing all of the bytes in the specified frame.
getFrameNames() - Method in class MovieWriter
Method to get the list of jpeg frames
getFrameNumber() - Method in class FrameSequencer
Method to get the frame number
getFrameSequencer() - Method in class MovieCapturer
Method to get the current directory
getFrameSequencer() - Method in interface VideoCapturer
Method to get the frame sequencer
getFramesPerSec() - Method in class AnimationPanel
Method to get the frames per second
getFramesPerSecond() - Method in class MovieCapturer
Method to get the number of frames per second
getFramesPerSecond() - Method in interface VideoCapturer
Method to return the number of frames per second
getGrade(int) - Method in class Student
Method to get the grade in the grade array at the passed index
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
getHead() - Static method in class Deer
Method to get the head of the linked list of deer
getHead() - Static method in class Wolf
Method to get the head of the linked list of wolves
getHeading() - Method in class SimpleTurtle
Method to get the current heading
getHeight() - Method in class AbstractShape
Method to get the height of the bounding rectangle
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(Graphics2D, AttributedCharacterIterator) - Method in class TextBalloon
Method to get the height of the balloon
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.
getListForQuery(String) - Method in class DatabaseManager
Method to execute a query and return a list of strings for the first returned row
getLocator() - Method in class JpegImagesToMovie.ImageDataSource
 
getMargin() - Method in class TextBalloon
Method to get the margin
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
getMessage() - Method in class TextBalloon
Method to get the message that is displayed in the balloon
getMinX() - Method in class AbstractShape
Method to get minimum x value of the bounding rectangle
getMinY() - Method in class AbstractShape
Method to get the minimum y value of the bounding rectangle
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
getName() - Method in class Student
Method to return the name of this student
getNext() - Method in class Deer
Method to get the next Deer in the linked list
getNext() - Method in class Wolf
Method to get the next Wolf in the linked list
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
getNumLines() - Method in class TextBalloon
Method to get the number of lines of text.
getNumSamples() - Method in class SimpleSound
Returns the number of samples in this sound
getNumStudents() - Method in class ClassPeriod
Method to return the number of students in the period
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
getPeriodNumber() - Method in class ClassPeriod
Method to get the period number
getPicture() - Method in class SimpleTurtle
Method to get the picture for this simple turtle
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.
getPictureWithWidth(int) - Method in class SimplePicture
Method to create a new picture of the passed width.
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
getPointAtDistance(int, int, double, double) - Static method in class Geometry
Method to get a new point at a given distance from an old point along a heading (angle in degrees)
getPointAtDistance(Point, double, double) - Static method in class Geometry
Method to get a new point at a given distance from an old point along a heading (angle in degrees)
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
getRegion() - Method in class MovieCapturer
Method to get the region to capture
getRegion() - Method in interface VideoCapturer
Method to get the region to capture
getRightSample(int) - Method in class SimpleSound
Obtains the right sample of the audio data contained at the specified frame.
getSample(int) - Method in class SimpleSound
Method to create and return a SoundSample object for the given frame number
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
getSlope(double, double, double, double) - Static method in class Geometry
Method to get the slope between two points
getSlopeAngle(double, double, double, double) - Static method in class Geometry
Method to get the slope angle between 2 points The slope angle is the interior angle of the triange of the slope line with the y and x axis.
getSoundExplorer() - Method in class SimpleSound
Method that returns the SoundExplorer
getStreams() - Method in class JpegImagesToMovie.ImageDataSource
Return the ImageSourceStreams.
getString(String) - Static method in class SimpleInput
Method to get a string input by the user.
getStringForQuery(String) - Method in class DatabaseManager
Method to execute a query and return a string of the first result
getStudent(int) - Method in class ClassPeriod
Method to get a student based on the index
getSynthesizer() - Method in class MidiPlayer
Method to return the synthesizer
getTailEnd() - Method in class TextBalloon
Method to get the point that is the end of the tail that indicates who is speaking
getTeacherName() - Method in class ClassPeriod
Method to get the teacher's name
getTitle() - Method in interface DigitalPicture
 
getTitle() - Method in class SimplePicture
Method to get the title of the picture
getTransformEnclosingRect(AffineTransform) - Method in class SimplePicture
Method to get the coordinates of the enclosing rectangle after this transformation is applied to the current picture
getTranslationEnclosingRect(AffineTransform) - Method in class SimplePicture
Method to get the coordinates of the enclosing rectangle after this transformation is applied to the current picture
getTurtleHeading(double, double, double, double) - Static method in class Geometry
Method to return the heading for a turtle which uses 0 degrees as north
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
getUpperLeft() - Method in class TextBalloon
Method to get the upper left point of the rectangle that encloses the balloon
getValue() - Method in class SoundSample
Method to get the value of this sample as in int and handle the possible sound exception
getWidth() - Method in class AbstractShape
Method to get the width of the bounding rectangle
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 TextBalloon
Method to get the width of the rectangle that encloses the balloon
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
Greeter - Class in <Unnamed>
Class to show how to define a very simple class.
Greeter() - Constructor for class Greeter
 
GUITAR - Static variable in class MidiPlayer
 

H

HARMONICA - Static variable in class MidiPlayer
 
HARP - Static variable in class MidiPlayer
 
height - Variable in class JpegImagesToMovie.ImageSourceStream
 
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
HourlyWorker - Class in <Unnamed>
 
HourlyWorker(String, String, double) - Constructor for class HourlyWorker
 

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
imageIcon - Variable in class PictureFrame
ImageIcon used to display the picture in the label
images - Variable in class JpegImagesToMovie.ImageSourceStream
 
init() - Method in class ColorSquares
Method to initialize the panel
init() - Method in class Deer
Method to initialize the new deer object
init() - Method in class Wolf
Method to initialize the new wolf object
insertionSort() - Method in class ArraySorter
Method to do an insertion sort on the array
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
 
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

JAZZ_GUITAR - Static variable in class MidiPlayer
 
JpegImagesToMovie - Class in <Unnamed>
This program takes a list of JPEG image files and converts them into a QuickTime or AVI movie.
JpegImagesToMovie() - Constructor for class JpegImagesToMovie
 
JpegImagesToMovie.ImageDataSource - Class in <Unnamed>
A DataSource to read from a list of JPEG image files and turn that into a stream of JMF buffers.
JpegImagesToMovie.ImageDataSource(int, int, int, List) - Constructor for class JpegImagesToMovie.ImageDataSource
 
JpegImagesToMovie.ImageSourceStream - Class in <Unnamed>
The source stream to go along with ImageDataSource.
JpegImagesToMovie.ImageSourceStream(int, int, int, List) - Constructor for class JpegImagesToMovie.ImageSourceStream
 

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.
linearFind(String, String[]) - Static method in class Searcher
Implement a linear search through the list
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 AnimationPanel
Method to test
main(String[]) - Static method in class ArraySorter
 
main(String[]) - Static method in class CaptureButtonPanel
 
main(String[]) - Static method in class Cartoon
 
main(String[]) - Static method in class ClassPeriod
Main method
main(String[]) - Static method in class ColorSquares
 
main(String[]) - Static method in class ComicPanel
 
main(String[]) - Static method in class ComicStrip
 
main(String[]) - Static method in class DatabaseManager
 
main(String[]) - Static method in class Deer
main method for testing
main(String[]) - Static method in class FrameSequencer
 
main(String[]) - Static method in class Greeter
 
main(String[]) - Static method in class HourlyWorker
Main method for testing
main(String[]) - Static method in class JpegImagesToMovie
 
main(String[]) - Static method in class MovieCapturePanel
 
main(String[]) - Static method in class MovieCapturer
 
main(String[]) - Static method in class MovieMaker
 
main(String[]) - Static method in class MoviePlayer
 
main(String[]) - Static method in class MovieWriter
 
main(String[]) - Static method in class NumberGuessGame
 
main(String[]) - Static method in class Picture
 
main(String[]) - Static method in class PictureExplorer
Test Main.
main(String[]) - Static method in class Searcher
Main for testing binary find
main(String[]) - Static method in class ShapeComponent
 
main(String[]) - Static method in class Sound
 
main(String[]) - Static method in class SpeechBalloon
 
main(String[]) - Static method in class Student
 
main(String[]) - Static method in class Test
 
main(String[]) - Static method in class ThoughtBalloon
 
main(String[]) - Static method in class Turtle
 
main(String[]) - Static method in class TurtleDropTest
 
main(String[]) - Static method in class TurtleTest
 
main(String[]) - Static method in class Wolf
main method for testing
makeAIS() - Method in class SimpleSound
Creates an AudioInputStream for this sound from the buffer and the audioFileFormat.
makeRectangleMovie(String) - Method in class MovieMaker
 
MAX_NEG - Static variable in class SimpleSound
Constant for max negative value
MAX_POS - Static variable in class SimpleSound
Constant for max positive value
mergeSort() - Method in class ArraySorter
Method to do a merge sort of the array
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 ShapeComponent.MyMouseMotionAdapter
Method to handle the drag of a mouse
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 ShapeComponent.MyMouseAdapter
Method to handle when the user presses down the button
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 ShapeComponent.MyMouseAdapter
Method to handle when the user releases the mouse
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
MovieCapturePanel - Class in <Unnamed>
Class MovieCapturePanel: a panel used to capture a movie Copyright Georgia Institute of Technology 2007
MovieCapturePanel(String) - Constructor for class MovieCapturePanel
A constructor that takes a directory to write the frames to
MovieCapturePanel() - Constructor for class MovieCapturePanel
Constructor that takes no arguments
MovieCapturer - Class in <Unnamed>
Class that captures a movie to a series of jpg frames Copyright Georgia Institute of Technology 2007
MovieCapturer(String) - Constructor for class MovieCapturer
Constructor that takes the directory to write the frames to
MovieCapturer(String, String) - Constructor for class MovieCapturer
Constructor that takes the directory to write to and the base name to use for the files
MovieMaker - Class in <Unnamed>
 
MovieMaker() - Constructor for class MovieMaker
 
MoviePlayer - Class in <Unnamed>
Class that can play movies from multiple frames Copyright Georgia Institute of Technology 2007
MoviePlayer(List<Picture>) - 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
MoviePlayer() - Constructor for class MoviePlayer
Constructor to create a movie player by asking the user to pick the directory that contains the JPEG frames
MovieWriter - Class in <Unnamed>
Class to write out an AVI or Quicktime movie from a series of JPEG (jpg) frames in a directory
MovieWriter() - Constructor for class MovieWriter
No arg constructor
MovieWriter(String) - Constructor for class MovieWriter
Constructor that takes the directory that has the frames
MovieWriter(int) - Constructor for class MovieWriter
Constructor that takes the frame rate
MovieWriter(int, String) - Constructor for class MovieWriter
Constructor that takes the frame rate and the directory that the frames are stored in
MovieWriter(String, int, String) - Constructor for class MovieWriter
Constructor that takes the directory with the frames the frame rate, and the output url (dir,name, and extendsion)
MUSIC_BOX - Static variable in class MidiPlayer
 

N

nextImage - Variable in class JpegImagesToMovie.ImageSourceStream
 
NumberGuessGame - Class in <Unnamed>
 
NumberGuessGame() - Constructor for class NumberGuessGame
 
NumberGuessGame(int, int) - Constructor for class NumberGuessGame
 

O

OBOE - Static variable in class MidiPlayer
 
OVAL - Static variable in class AbstractShape
 

P

p1 - Variable in class AbstractShape
the first point in the shape
p2 - Variable in class AbstractShape
the second point in the shape
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 ShapeComponent
Method to paint the shape canvas and all objects in it
paintComponent(Graphics) - Method in class SimpleTurtle
Method to paint the turtle
paintComponent(Graphics) - Method in class World
Method to paint this component
partition(int, int) - Method in class ArraySorter
Method to partition the array around a pivot point.
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.
pickADirectory() - Static method in class FileChooser
Method to let the user pick a directory and return the full path name as a string.
pickAFile() - Static method in class FileChooser
Method to let the user pick a file and return the full file name as a string.
pickMediaPath() - Static method in class FileChooser
Method to pick a media path using the file chooser and set it
pickPath(JFileChooser) - Static method in class FileChooser
Method to pick an item using the file chooser
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
Picture(BufferedImage) - Constructor for class Picture
Constructor that takes a buffered image
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(int) - Method in class FrameSequencer
Method to play the frames (pictures) added so far
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 MovieCapturer
Method to play the captured movie
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
playMovie() - Method in interface VideoCapturer
Method to play the captured movie
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
printError(String) - Method in class SimpleSound
Invokes printError(message, null)
printError(String, Exception) - Method in class SimpleSound
Prints the given String to the "standard" error output stream, then prints a stack trace on the exception, and then exits the program.
prUsage() - Static method in class JpegImagesToMovie
 

Q

quicksort(int, int) - Method in class ArraySorter
Do the quicsort on the array from the passed from to the passed to indicies

R

read(Buffer) - Method in class JpegImagesToMovie.ImageSourceStream
This is called from the Processor to read a frame worth of video data.
RECTANGLE - Static variable in class AbstractShape
 
RectangleShape - Class in <Unnamed>
Class Rectangle: inherits from Shape and draws a rectangle Copyright Georgia Institute of Technology 2007
RectangleShape() - Constructor for class RectangleShape
No argument constructor
RectangleShape(Point, Point) - Constructor for class RectangleShape
Constructor that takes two points to define the shape
RectangleShape(int, int, int, int) - Constructor for class RectangleShape
Constructor that takes x1,y1,x2,y2
RegionInterface - Interface in <Unnamed>
Interface for working with getting a region of an image Copyright Georgia Institute of Technology 2007
remove(TextBalloon) - Method in class ComicPanel
Method to remove a text balloon from the panel
remove(Object) - Method in interface ModelDisplay
Method to remove the model from the world
remove(Shape) - Method in class ShapeComponent
Method to remove a shape from the shape vector
remove(int) - Method in class ShapeComponent
Method to remove a shape given the index
remove(Object) - Method in class World
Method to remove the passed object from the world
removeAllAfter() - Method in class AnimationPanel
Method to remove all after the current index
removeAllBefore() - Method in class AnimationPanel
Method to remove all before current from list
removePlayback(Playback) - Method in class SimpleSound
Deletes the specified playback object from the Vector.
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 MovieCapturer
Method to run the captured movie
run() - Method in class Playback
Starts this thread.
run() - Method in class StartMovieCapture
Method to start the thread

S

scale(double, double) - Method in class SimplePicture
Method to create a new picture by scaling the current picture by the given x and y factors
Searcher - Class in <Unnamed>
Class that demonstrates search algorithms
Searcher() - Constructor for class Searcher
 
selectionSort() - Method in class ArraySorter
Method to do a selection sort on the array
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
setBackgroundImage(BufferedImage) - Method in interface RegionInterface
Method to set the background image to select the region from
setBackgroundImage(BufferedImage) - Method in class ShapeComponent
 
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.
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.
setCurrentX(int) - Method in class ImageDisplay
Method to set the current x
setCurrentY(int) - Method in class ImageDisplay
Method to set the current y
setDirectory(String) - Method in class FrameSequencer
Method to set the directory to write the frames to
setFileName(String) - Method in class SimplePicture
Method to set the file name
setFont(Font) - Method in class TextBalloon
Method to set the font used to display the balloon
setFrame(int, byte[]) - Method in class SimpleSound
Changes the value of each byte of the specified frame.
setFrameRate(int) - Method in class MoviePlayer
 
setFramesPerSec(int) - Method in class AnimationPanel
Method to set the frames per second to show the movie
setFramesPerSecond(int) - Method in class MovieCapturer
Method to set the number of frames per second
setFramesPerSecond(int) - Method in interface VideoCapturer
Method to set the number of frames per second
setGrade(int, double) - Method in class Student
Method to set a grade at an index
setGradeArray(double[]) - Method in class Student
Method to replace the array of grades
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
setLeftSample(int, int) - Method in class SimpleSound
 
setLocator(MediaLocator) - Method in class JpegImagesToMovie.ImageDataSource
 
setMargin(int) - Method in class TextBalloon
Method to set the margin
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
setMessage(String) - Method in class TextBalloon
Method to set the message that is displayed in the balloon
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
setName(String) - Method in class Student
Method to set the name for this student
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
setPeriodNumber(int) - Method in class ClassPeriod
Method to set the period number (if it hasn't been set)
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
setPoint1Values(int, int) - Method in class AbstractShape
Method to set the point values for point1 that defines the shape
setPoint2Values(int, int) - Method in class AbstractShape
Method to set the point values for point2 that defines the shape
setRed(int) - Method in class Pixel
Method to set the red to a new red value
setRegion(Rectangle) - Method in class MovieCapturer
Method to set the region to capture (makes sure that the width and height is a multiple of 4 for compression later
setRegion(Rectangle) - Method in interface VideoCapturer
Method that sets a region to capture
setRightSample(int, int) - Method in class SimpleSound
 
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
setShape(String) - Method in class ShapeComponent
Set the type of the shape that will be created when the user clicks in the shape canvas.
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.
setStudent(Student, int) - Method in class ClassPeriod
Method to set the student at an index
setTailEnd(Point) - Method in class TextBalloon
Method to set the end point of the tail which indicates who is speaking
setTeacherName(String) - Method in class ClassPeriod
Method to set the teacher's name
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 SoundExplorer
Method to set the title on the main window
setUpperLeft(Point) - Method in class TextBalloon
Method to set the upper left point of the rectangle that encloses the balloon
setValue(int) - Method in class SoundSample
Method to set the value of this sample and handle the sound exception
setVideoCapture(VideoCapturer) - Method in class ShapeComponent
 
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
setVisible(boolean) - Method in class World
Method to set the visibility of the world
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
setWidth(int) - Method in class TextBalloon
Method to set the width of the rectangle that encloses the balloon
ShapeComponent - Class in <Unnamed>
Class ShapeCanvas: holds shapes in a custom drawn area and handles a region selection Copyright Georgia Institute of Technology 2007
ShapeComponent() - Constructor for class ShapeComponent
A constructor that uses the default size
ShapeComponent(int, int) - Constructor for class ShapeComponent
A constructor that takes the width and height
ShapeComponent(BufferedImage) - Constructor for class ShapeComponent
A constructor that takes a buffered image for the background
ShapeComponent.MyMouseAdapter - Class in <Unnamed>
An inner class for handling the mouse listener interface
ShapeComponent.MyMouseAdapter() - Constructor for class ShapeComponent.MyMouseAdapter
 
ShapeComponent.MyMouseMotionAdapter - Class in <Unnamed>
Inner class for handling the mouse motion listener
ShapeComponent.MyMouseMotionAdapter() - Constructor for class ShapeComponent.MyMouseMotionAdapter
 
show() - Method in interface DigitalPicture
 
show() - Method in class FrameSequencer
Method to show the frame sequence
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
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
showHelp() - Method in class CaptureButtonPanel
Method to show help
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(int, int, Color) - 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
SimplePicture(BufferedImage) - Constructor for class SimplePicture
A constructor that takes a buffered image
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, 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
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(int, int) - Constructor for class Sound
Constructor that takes the number of samples that this sound will have and the sample rate
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
SpeechBalloon - Class in <Unnamed>
SpeechBalloon: this is used to represent objects in comic strips which are used to show what a character is saying.
SpeechBalloon(Point, int, Point, String) - Constructor for class SpeechBalloon
Constructor that takes the upper left, width, tail end, and message to display
start() - Method in class JpegImagesToMovie.ImageDataSource
 
startCapture() - Method in class MovieCapturer
Method to start capturing the movie
startCapture(int) - Method in class MovieCapturer
Method to start captureing the movie and continue for the passed number of seconds
startCapture() - Method in interface VideoCapturer
Method to start the capture
startCapture(int) - Method in interface VideoCapturer
Method to start the capture and capture numSeconds of video
StartMovieCapture - Class in <Unnamed>
Class that is Runnable to start Movie Capture and stop it Copyright Georgia Institute of Technology 2007
StartMovieCapture(FrameSequencer, int, Rectangle) - Constructor for class StartMovieCapture
Constructor that takes the frame sequencer, number of frames per second, and the region to capture
stateTransitionOK - Variable in class JpegImagesToMovie
 
STEEL_GUITAR - Static variable in class MidiPlayer
 
stop() - Method in class JpegImagesToMovie.ImageDataSource
 
stop() - Method in class StartMovieCapture
Method to stop the thread
stopCapture() - Method in class MovieCapturer
Method to stop capturing the movie
stopCapture() - Method in interface VideoCapturer
Method to stop the capture
stopPlaying() - Method in class Playback
Stops this thread by breaking the while loop in the run method.
streams - Variable in class JpegImagesToMovie.ImageDataSource
 
Student - Class in <Unnamed>
Class that describes a student.
Student() - Constructor for class Student
No argument constructor.
Student(String) - Constructor for class Student
Constructor that takes the name
Student(String, double[]) - Constructor for class Student
Constructor that takes the name and an array of grades

T

TConversionTool - Class in <Unnamed>
 
TConversionTool() - Constructor for class TConversionTool
 
TELEPHONE - Static variable in class MidiPlayer
 
TENOR_SAX - Static variable in class MidiPlayer
 
Test - Class in <Unnamed>
Class for simple testing Copyright Georgia Institute of Technology 2004
Test() - Constructor for class Test
 
testConnection() - Method in class DatabaseManager
Method for testing the connection
testInsertionSort() - Static method in class ArraySorter
Method to test insertion sort
testMergeSort() - Static method in class ArraySorter
 
testQuery(String, int) - Method in class DatabaseManager
Method to test a query and print the results
testQuicksort() - Static method in class ArraySorter
 
testSelectionSort() - Static method in class ArraySorter
Method to test selection sort
TextBalloon - Class in <Unnamed>
TextBalloon: this is used to represent objects in comic strips which are used to show what a character is saying or thinking.
TextBalloon(Point, int, Point, String) - Constructor for class TextBalloon
Constructor that takes the upper left, width, tail end, and message to display
ThoughtBalloon - Class in <Unnamed>
ThoughtBalloon: this is used to represent objects in comic strips which are used to show what a character is thinking.
ThoughtBalloon(Point, int, Point, String) - Constructor for class ThoughtBalloon
Constructor that takes the upper left, width, tail end, and message to display
TIMPANI - Static variable in class MidiPlayer
 
toString() - Method in class ClassPeriod
Method to return a string of information about this class period
toString() - Method in class NumberGuessGame
 
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 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 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 Student
Method to return a string with information about this student
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(double) - 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
TurtleDropTest - Class in <Unnamed>
 
TurtleDropTest() - Constructor for class TurtleDropTest
 
TurtleTest - Class in <Unnamed>
 
TurtleTest() - Constructor for class TurtleTest
 

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(Graphics) - Method in class ShapeComponent
Update normally clears the background and calls paint override it here to just call paint
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
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
updatePicture(int, int, int, int) - Method in class Pixel
Method to update the picture based on the passed color values for this pixel

V

VideoCapturer - Interface in <Unnamed>
Interface for working with video capture Copyright Georgia Institute of Technology 2007
VIOLIN - Static variable in class MidiPlayer
 

W

waitFileSync - Variable in class JpegImagesToMovie
 
waitForFileDone() - Method in class JpegImagesToMovie
Block until file writing is done.
waitForState(Processor, int) - Method in class JpegImagesToMovie
Block until the processor has transitioned to the given state.
waitSync - Variable in class JpegImagesToMovie
 
WHISTLE - Static variable in class MidiPlayer
 
width - Variable in class JpegImagesToMovie.ImageSourceStream
 
willReadBlock() - Method in class JpegImagesToMovie.ImageSourceStream
We should never need to block assuming data are read from files.
Wolf - Class in <Unnamed>
Class that represents a wolf.
Wolf(ModelDisplay) - Constructor for class Wolf
Constructor that takes the model display (the original position will be randomly assigned)
Wolf(int, int, ModelDisplay) - Constructor for class Wolf
Constructor that takes the x and y and a model display to draw it on
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 ComicPanel
Method to write out the comic panel
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
writeAVI() - Method in class MoviePlayer
Method to write out the movie frames as a Quicktime movie
writeAVI() - Method in class MovieWriter
Method to write the movie frames in AVI format
writeOrFail(String) - Method in class SimplePicture
Method to write the contents of the picture to a file with the passed name
writeQuicktime() - Method in class MoviePlayer
Method to write out the movie frames as a Quicktime movie
writeQuicktime() - Method in class MovieWriter
Method to write the movie frames as quicktime
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 Q R S T U V W X Z