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

P

PIANO - Static variable in class MidiPlayer
 
PICCOLO - Static variable in class MidiPlayer
 
PathSegment - class PathSegment.
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 Pen.
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
Picture - class Picture.
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
PictureExplorer - class PictureExplorer.
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 PictureFrame.
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 Pixel.
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
Playback - class Playback.
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
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
penDown() - Method in class SimpleTurtle
Method to set the pen down
penUp() - Method in class SimpleTurtle
Method to lift the pen up
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.
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.
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) - 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.

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