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

A

AbstractQueue<E> - Class in <Unnamed>
Class to define an abstract queue
AbstractQueue() - Constructor for class AbstractQueue
 
act(int) - Method in class Agent
act() with a timestep
act() - Method in class Agent
Method to act during a time step.
act(int) - Method in class BirdAgent
act(t) For first 20 steps, walk toward the egg, +/- 30 degrees.
act(int) - Method in class CrowdAgent
act(t) For first 10 steps, walk around, Then walk AWAY from the bigger, mighter dog "Hunter", and coninue wandering around.
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 DeerAgent
How a DeerAgent acts
act(int) - Method in class EggAgent
To act, just drop the Egg for 15 steps, then be the eyes opened for five steps, then be the eyes switching back-and-forth
act() - Method in class HungryWolf
Method to act during a time step pick a random direction and move some random amount up to top speed
act(int) - Method in class NBDAgent
Method that provides the act behavior
act() - Method in class PersonAgent
How a Person acts
act() - Method in class PoliticalAgent
How a PoliticalAgent acts
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
act() - Method in class WolfAgent
Chase and eat the deer
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(CollectableNode) - Method in class CollectableNode
Add the input node after the last node in this list.
add(DrawableNode) - Method in class DrawableNode
Add the input node after the last node in this list.
add(SimEvent) - Method in class EventQueue
Add the event.
add(LayeredSceneElement) - Method in class LayeredSceneElement
Add the input node after the last node in this list.
add(LLNode) - Method in class LLNode
Add the passed node after the last node in this list.
add(int) - Method in class Resource
Add more produced resource.
add(SceneElement) - Method in class SceneElement
Add the input node after the last node in this list.
add(Agent) - Method in class Simulation
Add this actor to the agents list
add(SoundElement) - Method in class SoundElement
Add the input node after the last node in this list.
addChild(DrawableNode) - Method in class Branch
Method to add a child node
addChild(CollectableNode) - Method in class SoundBranch
Method to add a node to the end of the children list
addEvent(SimEvent) - Method in class DESimulation
addEvent -- add an event to the queue
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
addPhrase1(double, int) - Method in class AmazingGraceSongElement
addPhrase1 puts the first part of AmazingGrace into our part of the song at the desired start time with the given instrument
addPhrase2(double, int) - Method in class AmazingGraceSongElement
Add the second phrase
addPicture(Picture) - Method in class MoviePlayer
Method to add a picture to the movie
addToList(DEAgent) - Method in class Resource
addToList -- add this agent to this resource's waiting list.
AG1() - Static method in class SongPhrase
Class method that returns the first phrase of Amazing Grace
AG2() - Static method in class SongPhrase
Class method that returns the second phrase of Amazing Grace
Agent - Class in <Unnamed>
Class that represents a general Agent.
Agent(ModelDisplay, Simulation) - Constructor for class Agent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
Agent(int, int, ModelDisplay, Simulation) - Constructor for class Agent
Constructor that takes the x and y, a model display to draw it on, and the simulation
AgentNode - Class in <Unnamed>
Class to implement a linked list of Turtle-like characters.
AgentNode() - Constructor for class AgentNode
A constructor that takes no arguments
AgentNode(Turtle) - Constructor for class AgentNode
A constuctor that takes an agent
alaw2linear(byte) - Static method in class TConversionTool
 
allDeer - Static variable in class DeerAgent
Collection of all Deer
AmazingGraceSong - Class in <Unnamed>
Class that represents the song amazing grace
AmazingGraceSong() - Constructor for class AmazingGraceSong
Constructor to set up the song
AmazingGraceSong2 - Class in <Unnamed>
Class that represents the song amazing grace version 2
AmazingGraceSong2() - Constructor for class AmazingGraceSong2
 
AmazingGraceSongElement - Class in <Unnamed>
Class that represents elements of the song amazing grace
AmazingGraceSongElement() - Constructor for class AmazingGraceSongElement
When we make a new element, the next part is empty, and ours is a blank new part
AmazingGraceSongElement2 - Class in <Unnamed>
Class that represents elements of the song amazing grace version 2
AmazingGraceSongElement2() - Constructor for class AmazingGraceSongElement2
When we make a new element, the next part is empty, and ours is a blank new part
amountAvailable() - Method in class Resource
Method to get the amount available
AnimatedPositionedScene - Class in <Unnamed>
Class that uses modification of a linked data structure to animate a scence
AnimatedPositionedScene() - Constructor for class AnimatedPositionedScene
 
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
append(Sound) - Method in class Sound
Return this sound appended with the input sound
ArrayListStack<E> - Class in <Unnamed>
Implementation of a stack as an ArrayList
ArrayListStack() - Constructor for class ArrayListStack
No argument constructor
ArrayQueue<E> - Class in <Unnamed>
Implements a simple queue using an array
ArrayQueue() - Constructor for class ArrayQueue
No argument constructor
ArrayStack<E> - Class in <Unnamed>
Implementation of a stack as an array
ArrayStack() - Constructor for class ArrayStack
No argument constructor
asArray() - Method in class SimpleSound
Method to return the byte array
ATTACK_RANGE - Static variable in class Wolf
class constant for how close before wolf can attack
ATTACK_RANGE - Static variable in class WolfAgent
class constant for the attack range

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
BirdAgent - Class in <Unnamed>
BirdAgents use the bird character JPEGs
BirdAgent(ModelDisplay, Simulation) - Constructor for class BirdAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
BirdAgent(int, int, ModelDisplay, Simulation) - Constructor for class BirdAgent
Constructor that takes the x and y, model display to draw it on, and the simulation
BirdSimulation - Class in <Unnamed>
BirdSimulation A flock of 10 birds investigate a mysterious egg, which suddenly shows itself to be a monster!
BirdSimulation() - Constructor for class BirdSimulation
 
blockingPlay() - Method in class SimpleSound
Plays the sound, then sleeps for how long the sound SHOULD last.
blockingPlay() - Method in class SoundElement
Play JUST me, blocked.
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.
blueScreen(Picture, int, int) - Method in class Picture
Method to do chromakey assuming a blue background
BlueScreenNode - Class in <Unnamed>
BlueScreenNode is a PictNode that composes the picture using the blueScreen() method in Picture
BlueScreenNode(Picture) - Constructor for class BlueScreenNode
Constructor that sets the picture
Branch - Class in <Unnamed>
A branch of a tree that can have children
Branch() - Constructor for class Branch
Construct a branch with the first child and next as null
BROWN - Static variable in class Deer
class constant for the color
BROWN - Static variable in class DeerAgent
class constant for the color
ButtonPanel - Class in <Unnamed>
Class that holds the buttons for the movie player
ButtonPanel(MoviePlayer) - Constructor for class ButtonPanel
Constructor that takes the movie player
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

changeToBaseOne() - Method in class PictureExplorer
Changes the number system to start at one
CharacterNode - Class in <Unnamed>
 
CharacterNode(Picture) - Constructor for class CharacterNode
 
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
chromakey(Picture, Color, int, int, int) - Method in class Picture
Method to do chromakey using an input color for the background and a point for the upper left corner of where to copy
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() - Method in class PictureFrame
A method to close a picture frame
closeFile() - Method in class Simulation
close the file and clear the output stream
collect() - Method in class CollectableNode
Collect all the sounds from me on
collect() - Method in class ScaleBranch
Collect all the sound from the children, then collect from next.
collect() - Method in class SongNode
Collect all nodes in this SongPart and return the composite Phrase
collect() - Method in class SongPart
Collect parts of this SongPart
collect() - Method in class SoundBranch
Collect all the sound from our firstChild, then collect from next.
collect() - Method in class SoundElement
Collect all the sounds from me on, recursively into one sound.
collect() - Method in class SoundNode
Collect all the sounds from me on, recursively.
CollectableNode - Class in <Unnamed>
Node in a sound tree.
CollectableNode() - Constructor for class CollectableNode
No argument constructor that sets next to null
collectAfter() - Method in class CollectableNode
Collect all the sounds from me on, but if there's processing, do it after.
collectAfter() - Method in class ScaleBranch
Collect all the sound from the children, then collect from next.
collectAfter() - Method in class SoundBranch
Collect all the sound from our firstChild, then collect from next.
collectAfter() - Method in class SoundNode
Collect and process after this node
collectSwap() - Method in class ScaleBranch
Collect all the sound from next and then our children Scale the children But return the next BEFORE the children
collectSwap() - Method in class SoundBranch
Collect all the sound from our firstChild, then collect from next.
collectSwap() - Method in class SoundNode
Collect swapped: Doesn't change in SoundNode
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
compareTo(SimEvent) - Method in class SimEvent
Method to compare to another simulation event
compose(Picture, int, int) - Method in class Picture
Method to compose (copy) this picture onto a target picture at a given point.
connect() - Method in class JpegImagesToMovie.ImageDataSource
 
consume(int) - Method in class Resource
Consume resource
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
copy() - Method in class Picture
A method create a copy of the current picture and return it
copy() - Method in class PositionedSceneElement
 
copyNode() - Method in class SongNode
copyNode returns a copy of this node
copyNode() - Method in class SoundElement
copyNode returns a copy of this element
copyPicture(SimplePicture) - Method in class SimplePicture
Method that will copy all of the passed source picture into the current picture object
count() - Method in class LLNode
Return the number of the elements in the list
count() - Method in class SceneElement
Return the number of elements in the list
countInRange(double, LinkedList) - Method in class Agent
Method to count the number of agents within the range that are on the given list
countValues(String, int) - Method in class HistogramGenerator
Method to read a set of values from the inputFile create even bins based on the passed factor.
countValuesForKeys(String, double[]) - Method in class HistogramGenerator
Method to read a set of values from the inputFile and create bins based on the array of keys.
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.
CrowdAgent - Class in <Unnamed>
Class for a simulation of a crowd
CrowdAgent(ModelDisplay, Simulation) - Constructor for class CrowdAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
CrowdAgent(int, int, ModelDisplay, Simulation) - Constructor for class CrowdAgent
Constructor that takes the x and y, a model display to draw it on, and a simulation
CrowdSimulation - Class in <Unnamed>
Class that simulates a crowd
CrowdSimulation() - Constructor for class CrowdSimulation
 

D

dataSinkUpdate(DataSinkEvent) - Method in class JpegImagesToMovie
Event handler for the file writer.
DEAgent - Class in <Unnamed>
DEAgent - an agent in a Discrete Event simulation A DEAgent doesn't act().
DEAgent(ModelDisplay, Simulation) - Constructor for class DEAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
DEAgent(int, int, ModelDisplay, Simulation) - Constructor for class DEAgent
Constructor that takes the x and y, and a model display to draw it on, and the simulation
decreaseRed() - Method in class Picture
Method to decrease the red by half in the current picture
decreaseRed(double) - Method in class Picture
Method to decrease the red by an amount
Deer - Class in <Unnamed>
Class that represents a deer.
Deer(ModelDisplay, WolfDeerSimulation) - Constructor for class Deer
Constructor that takes the model display (the original position will be randomally assigned
Deer(int, int, ModelDisplay, WolfDeerSimulation) - Constructor for class Deer
Constructor that takes the x and y and a model display to draw it on
DeerAgent - Class in <Unnamed>
DeerAgent -- Deer as a subclass of Agent
DeerAgent(ModelDisplay, Simulation) - Constructor for class DeerAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
DeerAgent(int, int, ModelDisplay, Simulation) - Constructor for class DeerAgent
Constructor that takes the x and y, a model display to draw it on, and a simulation
degong() - Method in class SoundListTest
Method to test replace one sound with another
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
delete(int, int) - Method in class Sound
Delete from start to end in this sound
deleteLastFrame() - Method in class FrameSequencer
Method to delete the last frame
DESimulation - Class in <Unnamed>
DSSimulation is a Discrete Event Simulation Instead of asking each agent to act(), we simply process events from a queue.
DESimulation() - Constructor for class DESimulation
No argument constructor
DESimulation(Picture) - Constructor for class DESimulation
No argument constructor
die() - Method in class Agent
Method that handles when an Agent dies
die() - Method in class Deer
Method that handles when a deer dies
die() - Method in class DeerAgent
To die, do normal stuff, but also remove from deer list
DigitalPicture - Interface in <Unnamed>
Interface to describe a digital picture.
disconnect() - Method in class JpegImagesToMovie.ImageDataSource
 
DiseaseSimulation - Class in <Unnamed>
DiseaseSimulation -- using the Simulation class
DiseaseSimulation() - Constructor for class DiseaseSimulation
 
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
Distributor - Class in <Unnamed>
Distributor -- takes orders from Market to Warehouse, fills them, and returns with product.
Distributor(ModelDisplay, Simulation) - Constructor for class Distributor
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
Distributor(int, int, ModelDisplay, Simulation) - Constructor for class Distributor
Constructor that takes the x and y, a model display to draw it on, and the simulation
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
Dot01 - Class in <Unnamed>
Class to show creating a a note and creating a phrase and notating it
Dot01() - Constructor for class Dot01
 
Dot03 - Class in <Unnamed>
Class to show creating a a note and creating two phrases and a part and showing the part
Dot03() - Constructor for class Dot03
 
Dot05 - Class in <Unnamed>
Class to show creating a score
Dot05() - Constructor for class Dot05
Constructor that sets up this object
Dot07 - Class in <Unnamed>
Class to show creating a score
Dot07() - Constructor for class Dot07
The constructor that sets up the score
draw(Graphics) - Method in class AnimationPanel
Method to paint the frames
draw() - Method in class WalkingDoll
Draw the current character
DrawableNode - Class in <Unnamed>
Stuff that all nodes and branches in the scene tree know.
DrawableNode() - Constructor for class DrawableNode
Constructor for DrawableNode just sets next to null
DrawAScene - Class in <Unnamed>
Class to draw a scence using positioned scene elements
DrawAScene() - Constructor for class DrawAScene
 
drawFromMeOn(Picture) - Method in class LayeredSceneElement
Method to draw from this node on in the list, using blueScreen.
drawFromMeOn(Picture) - Method in class PositionedSceneElement
Method to draw from this node on in the list, using blueScreen.
drawFromMeOn(Picture) - Method in class SceneElement
Method to draw from this node on in the list.
drawInfoString(Graphics) - Method in class SimpleTurtle
Method to draw the information string
drawOn(Picture) - Method in class DrawableNode
Draw on the given picture
drawString(String, int, int) - Method in class SimplePicture
Method to draw a string at the given location on the picture
drawWith(Turtle) - Method in class BlueScreenNode
Use the given turtle to draw oneself Get the turtle's picture, then blueScreen onto it
drawWith(Turtle) - Method in class Branch
Ask all our children to draw, then let next draw.
drawWith(Turtle) - Method in class CharacterNode
 
drawWith(Turtle) - Method in class DrawableNode
Use the given turtle to draw oneself
drawWith(Turtle) - Method in class HBranch
Ask all our children to draw, then tell the next element to draw
drawWith(Turtle) - Method in class MoveBranch
Set the location, then draw
drawWith(Turtle) - Method in class PictNode
Use the given turtle to draw oneself
drawWith(Turtle) - Method in class SceneElement
 
drawWith(Turtle) - Method in class SceneElementLayered
Method to draw from this picture on.
drawWith(Turtle) - Method in class SceneElementPositioned
Method to draw from this picture.
drawWith(Turtle) - Method in class VBranch
Ask all our children to draw, then let the next node draw
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
DrunkenTurtle - Class in <Unnamed>
A class that reprents a drunken turtle
DrunkenTurtle(ModelDisplay) - Constructor for class DrunkenTurtle
Constructor that takes the model display
DSAgent - Class in <Unnamed>
A discrete event agent A DSAgent doesn't act().
DSAgent(ModelDisplay, Simulation) - Constructor for class DSAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
DSAgent(int, int, ModelDisplay, Simulation) - Constructor for class DSAgent
Constructor that takes the x and y, a model display to draw it on, and the simulation

E

EggAgent - Class in <Unnamed>
EggAgent -- big scary egg that sits there until t=30, then emerges as a monster!
EggAgent(ModelDisplay, Simulation) - Constructor for class EggAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
EggAgent(int, int, ModelDisplay, Simulation) - Constructor for class EggAgent
Constructor that takes the x and y, a model display to draw it on, and a simulation
empty() - Method in class EventQueue
Check if the queue is empty
empty() - Method in class QueueList
Empty?
ended - Variable in class JpegImagesToMovie.ImageSourceStream
 
endOfStream() - Method in class JpegImagesToMovie.ImageSourceStream
 
endStep(int) - Method in class BirdSimulation
What to do at the last time step t the current timestep
endStep(int) - Method in class CrowdSimulation
Method to call at the end of a timestep
endStep(int) - Method in class PoliticalSimulation
EndStep, count the number of each
endStep(int) - Method in class Simulation
End of step processing
EventQueue - Class in <Unnamed>
EventQueue It's called an event "queue," but it's not really.
EventQueue() - Constructor for class EventQueue
No argument constructor
EventQueueExercisor - Class in <Unnamed>
Class to try out the EventQueue
EventQueueExercisor() - Constructor for class EventQueueExercisor
 
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

FACTORY_ARRIVE - Static variable in class Truck
an arrive at factory event
FactorySimulation - Class in <Unnamed>
FactorySimulation -- set up the whole simulation, including creation of the Trucks and Distributors.
FactorySimulation() - Constructor for class FactorySimulation
A constuctor for the factory simulation
Fetch - Class in <Unnamed>
 
Fetch() - Constructor for class Fetch
 
fetch(String) - Static method in class Fetch
 
fetchimage(String, Component) - Static method in class Fetch
 
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
 
fillMeUp() - Method in class AmazingGraceSong2
 
fillMeUp() - Method in class MyFourPartSong
 
find(String, String[]) - Static method in class SearchMethods
Implement a simple binary search through the array of strings
flip() - Method in class Picture
Method to flip a picture
format - Variable in class JpegImagesToMovie.ImageSourceStream
 
forward(int) - Method in class DrunkenTurtle
Method to have the turtle go forward drunkenly
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
 
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

G

GenerateNewNormal - Class in <Unnamed>
Class to generate a normal distribution of numbers with a mean and range specified
GenerateNewNormal() - Constructor for class GenerateNewNormal
 
GenerateNormal - Class in <Unnamed>
Class to generate a normal distribution of numbers
GenerateNormal() - Constructor for class GenerateNormal
 
GenerateUniform - Class in <Unnamed>
Class to generate a uniform distribution of numbers
GenerateUniform() - Constructor for class GenerateUniform
 
genNewNormal() - Static method in class HistogramGenerator
Method to generate the normal histogram
genNormal() - Static method in class HistogramGenerator
Method to generate the normal histogram
genUniform() - Static method in class HistogramGenerator
Generate the histogram from the uniform data
getAgent() - Method in class AgentNode
Method to get the agent (the turtle)
getAgent() - Method in class SimEvent
Method to get the discrete event agent
getAgents() - Method in class Simulation
Get a linked list of all agents
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
getBaseName() - Method in class FrameSequencer
Method to get the base name
getBasicPixel(int, int) - Method in interface DigitalPicture
get the pixel information as an int
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
getBluePartyList() - Static method in class PoliticalAgent
Return the linked list of blue party agents
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
get the buffered image
getBufferedImage() - Method in class SimplePicture
Method to get the buffered image
getChannels() - Method in class SimpleSound
Obtains the number of channels of this sound.
getClosest(double, LinkedList) - Method in class Agent
Method to get the closest agent within the passed distance to this agent but NOT this agent.
getClosest(double, AgentNode) - Method in class Deer
Method to get the closest wolf within the passed distance to this deer.
getClosest(double, AgentNode) - 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
getData() - Method in class TreeNode
Method to return the data
getDEBUG() - Method in class SimpleSound
Method to get the value of the debug flag
getDeer() - Static method in class DeerAgent
Method to get the linked list of deer
getDeer() - Method in class WolfDeerSimulation
Method to get the deer linked list
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(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.
getEgg() - Method in class BirdSimulation
Method to return the egg
getEndTime() - Method in class AmazingGraceSongElement
Why do we need this? If we want one piece to start after another, we need to know when the last one ends.
getEndTime() - Method in class AmazingGraceSongElement2
Why do we need this? If we want one piece to start after another, we need to know when the last one ends.
getEndTime() - Method in class SongElement
Method to get the end time for this element.
getExtension() - Method in class SimplePicture
Method to get the extension for this picture
getFactor() - Method in class ScaleBranch
Method to get the scaling factor
getFileName() - Method in interface DigitalPicture
get the file name that the picture came from
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.
getFirstChild() - Method in class Branch
Method to get the first child in the branch
getFirstChild() - Method in class SoundBranch
Method to return the first child
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
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
get the height of the picture in pixels
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
getHunter() - Method in class CrowdSimulation
Method to get the hunter
getId() - Method in class Student
Method to get the id
getImage() - Method in interface DigitalPicture
get the image from the picture
getImage() - Method in class ImageDisplay
Method to get the image
getImage() - Method in class SimplePicture
Method to get an image from the picture
getImage() - Method in class SwappableComposedImage
Method to let the use pick a picture to use and set it
getInfoColor() - Method in class SimpleTurtle
Method to get the information color
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
getLeft() - Method in class TreeNode
Method to get the left child
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.
getLocator() - Method in class JpegImagesToMovie.ImageDataSource
 
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 SimEvent
Method to get the message
getModelDisplay() - Method in class SimpleTurtle
Method to get the model display for this simple turtle
getMostCommonColorInRange(int) - Method in class Pixel
Method to return the most common color in the given range from the current pixel in the picture or just return this color.
getMoviePlayer() - Method in class FrameSequencer
Method to get the movie player to use to show this sequence
getMyPart() - Method in class SongPart
Method to get the part
getName() - Method in class Person
Method to get the name
getName() - Method in class SimpleTurtle
Method to get the name of the turtle
getNext() - Method in class AmazingGraceSongElement
Method to get the next element
getNext() - Method in class AmazingGraceSongElement2
Method to get the next element
getNext() - Method in class CollectableNode
Method to get the next node
getNext() - Method in class DrawableNode
Method to get the next node
getNext() - Method in class LayeredSceneElement
Method to get the next element
getNext() - Method in class LLNode
Method to get the next element
getNext() - Method in class PositionedSceneElement
Method to get the next element
getNext() - Method in class SceneElement
Method to get the next element
getNext() - Method in class SongElement
Method to get the next element in the song
getNext() - Method in class SongNode
Get the next song node
getNext() - Method in class SoundElement
Method to get the next element
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
getNumInfected() - Method in class PersonAgent
Count the number infected
getNumSamples() - Method in class SimpleSound
Returns the number of samples in this sound
getOutput() - Method in class Simulation
Method to get the BufferedOutput to write to
getPart() - Method in class AmazingGraceSongElement
We could just access myPart directly but we can CONTROL access by using a method We'll use it in showFromMeOn
getParty() - Method in class PoliticalAgent
Method to get the party
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 Agent
Method to get the picture
getPicture() - Method in class LayeredSceneElement
Returns the picture in the node.
getPicture() - Method in class PictNode
Method to get the picture
getPicture() - Method in class PositionedSceneElement
Returns the picture in the node.
getPicture() - Method in class SceneElement
Returns the picture in the node.
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
get the pixel information as an object
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
getProduct() - Method in class FactorySimulation
Get the product
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
getRedPartyList() - Static method in class PoliticalAgent
Return the linked list of red party agents
getRight() - Method in class TreeNode
Method to get the right child
getRightSample(int) - Method in class SimpleSound
Obtains the right sample of the audio data contained at the specified frame.
getRoot() - Method in class SoundListTest
Method to get the root
getRoot() - Method in class SoundTreeExample
Method to get the root of the tree
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
getSceneRoot() - Method in class WolfAttackMovie
Method to get the scene root
getScore() - Method in class MVAmazingGraceSong
Method to get the score
getScore() - Method in class MyFourPartSong
 
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
getSimulation() - Method in class Agent
Method to get the simulation
getSimulation() - Method in class Wolf
Method to get the simulation
getSound() - Method in class SoundElement
The method to get the sound
getSoundExplorer() - Method in class SimpleSound
Method that returns the SoundExplorer
getSpeed() - Method in class Agent
Method to get the speed
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.
getTime() - Method in class DESimulation
getTime -- return what time it is now.
getTime() - Method in class SimEvent
Method to get the time the event occurs
getTitle() - Method in interface DigitalPicture
get the title of the picture
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
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
getType() - Method in class WebPageReader
The type of the material at the other end of the URL is the contentType from the URLConnection
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 interface DigitalPicture
get the width of the picture in pixels
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
getWolves() - Static method in class WolfAgent
Get the linked list of Wolf Agent
getWolves() - Method in class WolfDeerSimulation
Method to get the wolf linked list
getWorld() - Method in class Simulation
Method to get the world
getX() - Method in class Pixel
Method to get the x location of this pixel.
getX() - Method in class WalkingDoll
Method to get the x value of the position
getXPos() - Method in class MoveBranch
Method to get the x position
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.
getY() - Method in class WalkingDoll
Method to get the y value of the position
getYPos() - Method in class MoveBranch
Method to get the Y position
getYPos() - Method in class SimpleTurtle
Method to get the current y position
GRAY - Static variable in class Wolf
class constant for the color
grayscaleWithLuminance() - Method in class Picture
Method to change the picture to gray scale with luminance
greet() - Method in class Person
Method to greet another person
greet() - Method in class Student
Method to greet someone
Greeter - Class in <Unnamed>
 
Greeter() - Constructor for class Greeter
 
GUItree - Class in <Unnamed>
A GUI that has various components in it, to demonstrate UI components and layout managers (rendering)
GUItree() - Constructor for class GUItree
Constructor that takes no arguments
GUItreeBordered - Class in <Unnamed>
A GUI that has various components in it, to demonstrate UI components and layout managers (rendering)
GUItreeBordered() - Constructor for class GUItreeBordered
 
GUItreeBoxed - Class in <Unnamed>
A GUI that has various components in it, to demonstrate UI components and layout managers (rendering)
GUItreeBoxed() - Constructor for class GUItreeBoxed
Constructor that takes no arguments
GUItreeFlowed - Class in <Unnamed>
A GUI that has various components in it, to demonstrate UI components and layout managers (rendering)
GUItreeFlowed() - Constructor for class GUItreeFlowed
Constructor that takes no arguments
GUItreeInteractive - Class in <Unnamed>
A GUI that has various components in it, to demonstrate UI components and layout managers (rendering).
GUItreeInteractive() - Constructor for class GUItreeInteractive
Constructor that takes no arguments

H

HBranch - Class in <Unnamed>
Class that uses horizontal spacing between children and a gap between them
HBranch(int) - Constructor for class HBranch
Construct a branch with first child and next as null
height - Variable in class JpegImagesToMovie.ImageSourceStream
 
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
HistogramGenerator - Class in <Unnamed>
Class to generate a histogram
HistogramGenerator() - Constructor for class HistogramGenerator
 
house() - Static method in class SongPhrase
Class method that returns a phrase from The House of the Rising Sun
HungryWolf - Class in <Unnamed>
A class that extends the Wolf to have a hunger level.
HungryWolf(ModelDisplay, WolfDeerSimulation) - Constructor for class HungryWolf
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
HungryWolf(int, int, ModelDisplay, WolfDeerSimulation) - Constructor for class HungryWolf
Constructor that takes the x and y position, a model display to draw it on, and a simulation

I

ImageDisplay - Class in <Unnamed>
Class to display an image and the current location with a + sign
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
images - Variable in class JpegImagesToMovie.ImageSourceStream
 
increaseRed() - Method in class Picture
Method to increase the red in a picture.
increaseVolume(double) - Method in class Sound
Increase the volume of a sound
infect() - Method in class PersonAgent
Become infected - set infected to true
init(Simulation) - Method in class Agent
Method to initialize the new agent object
init(Simulation) - Method in class BirdAgent
Set up the birds
init(Simulation) - Method in class CrowdAgent
Set up the simulation
init(Simulation) - Method in class DEAgent
Method to initialize the discrete event agent
init(WolfDeerSimulation) - Method in class Deer
Method to initialize the new deer object
init(Simulation) - Method in class DeerAgent
Initialize, by adding to Deer list
init(Simulation) - Method in class Distributor
Initialize a distributor.
init(Simulation) - Method in class DSAgent
Method to initialize the simulation
init(Simulation) - Method in class EggAgent
To initialize, set it up as the Egg in the upper lefthand corner
init(WolfDeerSimulation) - Method in class HungryWolf
Method to initialize the hungry wolf object
init(Simulation) - Method in class NBDAgent
To initialize the simulation
init(Simulation) - Method in class PersonAgent
Initialize, by setting color and making the person move fast
init(Simulation) - Method in class PoliticalAgent
Initialize the simulation
init(Simulation) - Method in class Truck
Set up the truck Start out at the factory
init(WolfDeerSimulation) - Method in class Wolf
Method to initialize the new wolf object
init(Simulation) - Method in class WolfAgent
Initialize, by adding to Wolf list
insertAfter(CollectableNode) - Method in class CollectableNode
Insert the passed node after this node.
insertAfter(DrawableNode) - Method in class DrawableNode
Insert the input node after this node.
insertAfter(LayeredSceneElement) - Method in class LayeredSceneElement
Insert the input node after this node.
insertAfter(LLNode) - Method in class LLNode
Insert the input node after this node.
insertAfter(PositionedSceneElement) - Method in class PositionedSceneElement
Insert the input node after this node.
insertAfter(SceneElement) - Method in class SceneElement
Insert the input node after this node.
insertAfter(SongNode) - Method in class SongNode
Insert the input SongNode AFTER this node, and make whatever node comes NEXT become the next of the input node.
insertAfter(Sound, int) - Method in class Sound
insert the input Sound after the nth sample (input integer).
insertAfter(SoundElement) - Method in class SoundElement
Insert the input node after this node.
InsertClassNameHere - Class in <Unnamed>
 
InsertClassNameHere() - Constructor for class InsertClassNameHere
 
insertInOrder(SimEvent) - Method in class EventQueue
Add the new element into the linked list of elements, assuming that it's already in order.
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
 
isBlocked() - Method in class DEAgent
Method to check if we are blocked?
isEmpty() - Method in class AbstractQueue
Method to see if the queue is empty
isEmpty() - Method in class ArrayListStack
Method to check if the stack is empty
isEmpty() - Method in class ArrayStack
Method to check if the stack is empty
isEmpty() - Method in class LinkedListStack
Method to test if the stack is empty
isEmpty() - Method in class PictureStack
Method to return true if the stack is empty
isEmpty() - Method in interface Queue
Method to see if the queue is empty
isEmpty() - Method in interface Stack
Method to check if the stack is empty
isPenDown() - Method in class Pen
Method to get pen down status
isPenDown() - Method in class SimpleTurtle
Method to check if the pen is down
isReady(Resource) - Method in class DEAgent
Method to check if we ready to be unlocked? return true if ready else false
isReady(Resource) - Method in class Distributor
Method to check if we are we ready to be unlocked?
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

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

last() - Method in class CharacterNode
Don't try to get the last() from a circular list!
last() - Method in class CollectableNode
Return the last node in the list
last() - Method in class DrawableNode
Return the last element in the list
last() - Method in class LayeredSceneElement
Return the last element in the list
last() - Method in class LLNode
Return the last element in the list
last() - Method in class PositionedSceneElement
Method to get the last element
last() - Method in class SceneElement
Return the last element in the list
last() - Method in class SoundElement
Return the last element in the list
LayeredSceneElement - Class in <Unnamed>
Class that uses a linked list to indicate the layer a picture is in
LayeredSceneElement(Picture, int, int) - Constructor for class LayeredSceneElement
Make a new element with a picture as input, and next as null, to be drawn at given x,y
lfind(String, String[]) - Static method in class SearchMethods
Implement a linear search through the array of strings
linear2alaw(short) - Static method in class TConversionTool
 
linear2ulaw(int) - Static method in class TConversionTool
Converts a linear signed 16bit sample to a uLaw byte.
LinkedListQueue<E> - Class in <Unnamed>
Implements a simple queue using a linked list
LinkedListQueue() - Constructor for class LinkedListQueue
No argument constructor
LinkedListStack<E> - Class in <Unnamed>
Class that represents a stack using a linked list of objects
LinkedListStack() - Constructor for class LinkedListStack
Constructor that takes no arguments
LLNode - Class in <Unnamed>
Class that represents a node in a linked list
LLNode() - Constructor for class LLNode
Constructor for LLNode that just sets next to null
load(Image) - Method in interface DigitalPicture
load the image into the picture
load(String) - Method in interface DigitalPicture
load the picture from a file
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
loadPage(String) - Method in class SimpleBrowser
Method to load the given url
loadPictureAndShowIt(String) - Method in class SimplePicture
Method to load a picture from a file name and show it in a picture frame
log(String) - Method in class DESimulation
Log something -- write to the console or interactions pane, And to the output file, if it exists.
LotsOfTurtles - Class in <Unnamed>
Class to show how to make a circle with lots of turtles
LotsOfTurtles() - Constructor for class LotsOfTurtles
 

M

main(String[]) - Static method in class AnimatedPositionedScene
main for testing
main(String[]) - Static method in class AnimationPanel
Method to test
main(String[]) - Static method in class ArrayListStack
 
main(String[]) - Static method in class ArrayQueue
Main method for testing
main(String[]) - Static method in class ArrayStack
 
main(String[]) - Static method in class DiseaseSimulation
Main for testing
main(String[]) - Static method in class Dot01
 
main(String[]) - Static method in class Dot03
 
main(String[]) - Static method in class Dot05
Main method to test
main(String[]) - Static method in class Dot07
Main method for testing
main(String[]) - Static method in class DrawAScene
main method to test
main(String[]) - Static method in class EventQueueExercisor
 
main(String[]) - Static method in class FactorySimulation
 
main(String[]) - Static method in class Fetch
 
main(String[]) - Static method in class FrameSequencer
 
main(String[]) - Static method in class GenerateNewNormal
 
main(String[]) - Static method in class GenerateNormal
 
main(String[]) - Static method in class GenerateUniform
 
main(String[]) - Static method in class Greeter
 
main(String[]) - Static method in class GUItree
test this class
main(String[]) - Static method in class GUItreeBordered
test this class
main(String[]) - Static method in class GUItreeBoxed
test this class
main(String[]) - Static method in class GUItreeFlowed
test this class
main(String[]) - Static method in class GUItreeInteractive
test this class
main(String[]) - Static method in class HistogramGenerator
Main method for testing
main(String[]) - Static method in class InsertClassNameHere
 
main(String[]) - Static method in class JpegImagesToMovie
 
main(String[]) - Static method in class LinkedListQueue
Main method for testing
main(String[]) - Static method in class LotsOfTurtles
 
main(String[]) - Static method in class MarksCollage
 
main(String[]) - Static method in class MoviePlayer
 
main(String[]) - Static method in class MovieWriter
 
main(String[]) - Static method in class MultiElementScene
 
main(String[]) - Static method in class MyCollage
 
main(String[]) - Static method in class MyFirstSong
 
main(String[]) - Static method in class MyPicture
 
main(String[]) - Static method in class MySong
 
main(String[]) - Static method in class MySoundCollage
 
main(String[]) - Static method in class MyTurtleAnimation
 
main(String[]) - Static method in class MyTurtlePicture
 
main(String[]) - Static method in class NotePlay
 
main(String[]) - Static method in class Person
Main method for testing
main(String[]) - Static method in class PictureExplorer
Test Main.
main(String[]) - Static method in class PictureStackTest
 
main(String[]) - Static method in class PictureTool
Main method for testing
main(String[]) - Static method in class PSETest
 
main(String[]) - Static method in class QueueList
Main method for testing
main(String[]) - Static method in class RhythmTool
Main for testing
main(String[]) - Static method in class RunBirdSimulation
 
main(String[]) - Static method in class RunPictureTool
 
main(String[]) - Static method in class SearchMethods
main for testing
main(String[]) - Static method in class SliderTest
 
main(String[]) - Static method in class SoundElement
 
main(String[]) - Static method in class SoundListDifferent
 
main(String[]) - Static method in class SoundListTest
Method to test
main(String[]) - Static method in class SoundTreeExample
Method to test the tree
main(String[]) - Static method in class SquareInSquare
 
main(String[]) - Static method in class TestLayeredSceneElement
 
main(String[]) - Static method in class TestStringArgs
 
main(String[]) - Static method in class TurtleSquares
 
main(String[]) - Static method in class WalkingDoll
Main for testing
main(String[]) - Static method in class WDSimulation
Main for testing
main(String[]) - Static method in class WolfAttackMovie
Main method for testing
main(String[]) - Static method in class WolfDeerSimulation
Main for testing
make() - Method in class AnimatedPositionedScene
Method to do the animation
makeAIS() - Method in class SimpleSound
Creates an AudioInputStream for this sound from the buffer and the audioFileFormat.
makeMe() - Method in class SwappableComposedImage
Method to make the image
MARKET_ARRIVE - Static variable in class Distributor
message that means things have arrived at the market
MARKET_LEAVE - Static variable in class Distributor
message that means the goods have left the market
MarksCollage - Class in <Unnamed>
Class to show how to make an image collage
MarksCollage() - Constructor for class MarksCollage
 
MAX_NEG - Static variable in class SimpleSound
Constant for max negative value
MAX_POS - Static variable in class SimpleSound
Constant for max positive value
MAX_SATISFIED - Static variable in class HungryWolf
class constant for number of turns before hungry
MAX_SPEED - Static variable in class Agent
class constant for top speed (max num steps can move in a timestep)
MAX_SPEED - Static variable in class Deer
class constant for top speed (max num steps can move in a timestep)
MAX_SPEED - Static variable in class Wolf
class constant for top speed (max num steps can move in a timestep)
mix(Sound, double) - Method in class Sound
Mix the input sound with this sound, with percent ratio of input.
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
MoveBranch - Class in <Unnamed>
Class that represents a change in location
MoveBranch(int, int) - Constructor for class MoveBranch
Construct a branch with children and next as null
moveTo(int, int) - Method in class MoveBranch
Method to move to a new x and y
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 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)
MultiElementScene - Class in <Unnamed>
Demonstration of using both SceneElementPositioned and ScenceElementLayered
MultiElementScene() - Constructor for class MultiElementScene
 
MVAmazingGraceSong - Class in <Unnamed>
Class that represents a multiple voice version of Amazing Grace
MVAmazingGraceSong() - Constructor for class MVAmazingGraceSong
Constructor to set up the song
MyCollage - Class in <Unnamed>
Class that shows an example of creating a collage
MyCollage() - Constructor for class MyCollage
 
MyFirstSong - Class in <Unnamed>
Example class for creating a song
MyFirstSong() - Constructor for class MyFirstSong
 
MyFourPartSong - Class in <Unnamed>
Example class for creating a four part song
MyFourPartSong() - Constructor for class MyFourPartSong
 
MyPicture - Class in <Unnamed>
Class that shows an example of creating a collage
MyPicture() - Constructor for class MyPicture
 
MySong - Class in <Unnamed>
 
MySong() - Constructor for class MySong
 
MySoundCollage - Class in <Unnamed>
Class that shows an example of creating a sound collage
MySoundCollage() - Constructor for class MySoundCollage
 
MyTurtleAnimation - Class in <Unnamed>
An exmaple class for creating a turtle animation
MyTurtleAnimation() - Constructor for class MyTurtleAnimation
 
MyTurtlePicture - Class in <Unnamed>
Example class of making a picture using a turtle to drop a picture
MyTurtlePicture() - Constructor for class MyTurtlePicture
 

N

NBDAgent - Class in <Unnamed>
NBD Agent
NBDAgent(ModelDisplay, Simulation) - Constructor for class NBDAgent
Constructor that takes the model display (the original position will be randomly assigned) and a simulation
NBDAgent(int, int, ModelDisplay, Simulation) - Constructor for class NBDAgent
Constructor that takes the x and y, a model display to draw it on, and a simulation
negate() - Method in class Picture
Method to negate a picture
newLoad() - Method in class Truck
A method to create a new load.
newOrders() - Method in class Distributor
return the number of new orders
next() - Method in class MyTurtleAnimation
 
next(int) - Method in class MyTurtleAnimation
 
nextImage - Variable in class JpegImagesToMovie.ImageSourceStream
 
nextLine() - Method in class WebPageReader
Next line gets the next line from the material at the other end of the URL.
NotePlay - Class in <Unnamed>
Class to show creating a song with parts
NotePlay() - Constructor for class NotePlay
 

O

oilPaint(int) - Method in class Picture
Method to do an oil paint effect on a picture
openFile(String) - Method in class Simulation
Open the input file and set the BufferedWriter to speak to it.
openFrames(String) - Method in class Simulation
Open a frame sequencer using the given directory

P

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
part() - Method in class AmazingGraceSongElement
We could just access myPart directly but we can CONTROL access by using a method We'll use it in showFromMeOn
part() - Method in class AmazingGraceSongElement2
We could just access myPart directly but we can CONTROL access by using a method (called an accessor)
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
pattern1() - Static method in class SongPhrase
Class method that returns a pattern
pattern2() - Static method in class SongPhrase
Class method that returns a phrase with a second pattern
peek() - Method in class AbstractQueue
Peek at, but don't remove, the head of the queue
peek() - Method in class ArrayListStack
Method to return the top element on the stack but not remove it.
peek() - Method in class ArrayQueue
Peek at, but don't remove, the head of the queue
peek() - Method in class ArrayStack
Method to return the top element on the stack but not remove it.
peek() - Method in class EventQueue
see the first element but don't remove it
peek() - Method in class LinkedListQueue
Peek at, but don't remove, top (first) of queue
peek() - Method in class LinkedListStack
Method to return the top element on the stack but leave the element on the stack
peek() - Method in class PictureStack
Method to return the top element, but not remove it from the stack
peek() - Method in interface Queue
Peek at, but don't remove, the head of the queue
peek() - Method in class QueueList
Peek at, but don't remove, top (first) of queue
peek() - Method in interface Stack
Method to return the top element on the stack, but not remove it from the stack
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
Person - Class in <Unnamed>
Class the represents a person
Person() - Constructor for class Person
Constructor that takes no arguments
Person(String) - Constructor for class Person
Constructor that takes a name
PersonAgent - Class in <Unnamed>
PersonAgent -- Person as a subclass of Agent
PersonAgent(ModelDisplay, Simulation) - Constructor for class PersonAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
PersonAgent(int, int, ModelDisplay, Simulation) - Constructor for class PersonAgent
Constructor that takes the x and y, a model display to draw it on, and a simulation
phrase1() - Method in class AmazingGraceSongElement2
method that returns the first phrase of Amazing Grace
phrase2() - Method in class AmazingGraceSongElement2
method that returns phrase 2
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.
pickAndShow() - Static method in class Picture
Class method to let the user pick a file name and then create the picture and show it
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
PictNode - Class in <Unnamed>
PictNode is a class representing a drawn picture node in a scene tree.
PictNode(Picture) - Constructor for class PictNode
Make me with this picture
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
picture - Variable in class PictureTool
picture for the label
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
pictureLabel - Variable in class PictureTool
picture label
PictureStack - Class in <Unnamed>
Class that represents a stack of pictures
PictureStack() - Constructor for class PictureStack
Constructor
pictureStack - Variable in class PictureTool
stack to hold old pictures for undo
PictureStackTest - Class in <Unnamed>
Class to demonstrate a stack of pictures
PictureStackTest() - Constructor for class PictureStackTest
 
PictureTool - Class in <Unnamed>
Class that demonstrates creating a graphical user interface to work with pictures
PictureTool() - Constructor for class PictureTool
Constructor that sets up the GUI
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(int) - Method in class MyTurtleAnimation
 
play() - Method in class SimpleSound
Creates a new Playback thread and starts it.
play() - Method in class SoundTreeExample
Method to play the tree
playAfter() - Method in class SoundTreeExample
Method to play after the current node
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
playFromMeOn() - Method in class CollectableNode
Play the list of sound elements after me
playFromMeOn() - Method in class SoundElement
Play the list of sound elements after me
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 SimpleSound
Method to play a note using MIDI
playScaled(double) - Method in class SoundTreeExample
Method to play the tree but change the scale factor
playSound() - Method in class SoundElement
Play JUST me, blocked.
playSwapped() - Method in class SoundTreeExample
Method to play with the next nodes before the child nodes
PoliticalAgent - Class in <Unnamed>
PoliticalAgent -- Red or Blue Stater as a subclass of Agent
PoliticalAgent(ModelDisplay, Simulation) - Constructor for class PoliticalAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
PoliticalAgent(int, int, ModelDisplay, Simulation) - Constructor for class PoliticalAgent
Constructor that takes the x and y, a model display to draw it on, and a simulation
PoliticalSimulation - Class in <Unnamed>
PoliticalSimulation -- using the Simulation class
PoliticalSimulation() - Constructor for class PoliticalSimulation
 
pop() - Method in class AbstractQueue
Pop an object from the Queue
pop() - Method in class ArrayListStack
Method to remove and return the top element on the stack
pop() - Method in class ArrayQueue
Pop an object from the Queue
pop() - Method in class ArrayStack
Method to remove and return the top element on the stack
pop() - Method in class EventQueue
remove the top element from the queue and return it.
pop() - Method in class LinkedListQueue
Pop an object from the Queue
pop() - Method in class LinkedListStack
Method to remove the top element from a stack and return it
pop() - Method in class PictureStack
Method to return the top element from the stack and remove it from the stack
pop() - Method in interface Queue
Pop an object from the Queue
pop() - Method in class QueueList
Pop an object from the Queue
pop() - Method in interface Stack
Method to remove the top element from the stack and return it
portion(int, int) - Method in class Sound
Return part of a sound
PositionedSceneElement - Class in <Unnamed>
Class that represents a positioned scene element
PositionedSceneElement(Picture) - Constructor for class PositionedSceneElement
Make a new element with a picture as input, and next as null.
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.
PROB_OF_STAY - Static variable in class Agent
class constant for probability of NOT turning
PROB_OF_STAY - Static variable in class Deer
class constant for probability of NOT turning
PROB_OF_STAY - Static variable in class Wolf
class constant for probability of NOT turning
processEvent(int) - Method in class DEAgent
Process an event.
processEvent(int) - Method in class Distributor
Process an event.
processEvent(int) - Method in class Truck
Process an event.
prUsage() - Static method in class JpegImagesToMovie
 
PSETest - Class in <Unnamed>
Class to test the Positioned Scene Element
PSETest() - Constructor for class PSETest
 
push(E) - Method in class AbstractQueue
Push an object onto the Queue
push(E) - Method in class ArrayListStack
Method to add an element to the top of the stack
push(E) - Method in class ArrayQueue
Push an element onto the tail of the Queue
push(E) - Method in class ArrayStack
Method to add an element to the top of the stack
push(E) - Method in class LinkedListQueue
Push an element onto the tail of the Queue
push(E) - Method in class LinkedListStack
Method to add an element to the stack
push(SceneElement) - Method in class PictureStack
Method to add an element to the stack
push(E) - Method in interface Queue
Push an element onto the tail of the Queue
push(Object) - Method in class QueueList
Push an object onto the Queue
push(E) - Method in interface Stack
Method to add the element to the top of the stack

Q

Queue<E> - Interface in <Unnamed>
Interface to define an abstract queue
QueueList - Class in <Unnamed>
Implements a simple queue using a list
QueueList() - Constructor for class QueueList
No argument constructor

R

randNumGen - Static variable in class Agent
random number generator - protected allows direct access by children
randNumGen - Static variable in class Deer
random number generator
randNumGen - Static variable in class Wolf
random number generator
random() - Static method in class SongPhrase
Class method that returns a phrase with random notes in it
randomAboveC() - Static method in class SongPhrase
Class method that returns a phrase with random notes in it which are above middle C
read(Buffer) - Method in class JpegImagesToMovie.ImageSourceStream
This is called from the Processor to read a frame worth of video data.
readyToRead() - Method in class WebPageReader
A WebPageReader is ready to read if the stream is ready
remove(Turtle) - Method in class AgentNode
Remove the node where the passed turtle is found.
remove(LLNode) - Method in class CharacterNode
Don't try to remove() from a circular list!
remove(CollectableNode) - Method in class CollectableNode
Method to remove a node from the list, fixing links appropriately.
remove(DrawableNode) - Method in class DrawableNode
Method to remove a node from the list, fixing links appropriately.
remove(LayeredSceneElement) - Method in class LayeredSceneElement
Method to remove node from list, fixing links appropriately.
remove(LLNode) - Method in class LLNode
Method to remove a node from the list, fixing the next links appropriately.
remove(Object) - Method in interface ModelDisplay
Method to remove the model from the world
remove(PositionedSceneElement) - Method in class PositionedSceneElement
Method to remove a node from a list, fixing links appropriately.
remove(SceneElement) - Method in class SceneElement
Method to remove node from list, fixing links appropriately.
remove(Agent) - Method in class Simulation
Remove this actor from the agents list
remove(SoundElement) - Method in class SoundElement
Method to remove a node from the list, fixing links appropriately.
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.
renderAnimation() - Method in class WolfAttackMovie
Render the whole animation
renderScene() - Method in class WolfAttackMovie
Render just the first scene
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.
repeatNext(SongNode, int) - Method in class SongNode
Repeat the input phrase for the number of times specified.
repeatNext(SoundElement, int) - Method in class SoundElement
Repeat the input phrase for the number of times specified.
repeatNextInserting(SongNode, int) - Method in class SongNode
Repeat the input phrase for the number of times specified.
replace(Picture, Picture) - Method in class PositionedSceneElement
Replace the one picture with the other picture in all the elements from me on.
replace(Sound, Sound) - Method in class SoundElement
Replace the one sound with the other sound in all the elements from me on.
replay() - Method in class AnimatedPositionedScene
Method to replay the animation
replay(int) - Method in class FrameSequencer
Method to replay the movie
replay(int) - Method in class WalkingDoll
Delegate replay
replay() - Method in class WolfAttackMovie
Replay the animation
Resource - Class in <Unnamed>
Resource class -- manages agents requesting a resource
Resource() - Constructor for class Resource
Start out with no resource and an empty queue
reverse() - Method in class LayeredSceneElement
Reverse the list starting at this, and return the last element of the list.
reverse() - Method in class LLNode
Reverse the list starting at this, and return the last element of the list.
reverse() - Method in class SceneElement
Reverse the list starting at this, and return the last element of the list.
reverse() - Method in class Sound
Method to reverse a sound.
reverse2() - Method in class LayeredSceneElement
Reverse2: Push all the elements on the stack, then pop all the elements off the stack.
reverse2() - Method in class LLNode
Reverse2: Push all the elements on the stack, then pop all the elements off the stack.
rhythm1() - Static method in class SongPhrase
Class method that returns a phrase with a rhythm in it
RhythmTool - Class in <Unnamed>
A Rhythm-constructing tool
RhythmTool() - Constructor for class RhythmTool
Constructor that takes no arguments
riff1() - Static method in class SongPhrase
Class method that returns a little riff
riff2() - Static method in class SongPhrase
Class method that returns a second little riff
riff3() - Static method in class SongPhrase
Class method that returns a third little riff
riff4() - Static method in class SongPhrase
Class method that returns a fourth little riff
run(double) - Method in class DESimulation
Run until a certain time step is reached, by calling setUp (which we hope creates the base agents and schedules the first round of events), then repeatedly processing an event from the eventQueue.
run() - Method in class Playback
Starts this thread.
run(int) - Method in class Simulation
Ask all agents to run for the number of input steps
run() - Method in class Simulation
Run for a default of 50 timesteps
run() - Method in class WolfDeerSimulation
Run the simulation
RunBirdSimulation - Class in <Unnamed>
Class to run the bird simulation
RunBirdSimulation() - Constructor for class RunBirdSimulation
 
RunPictureTool - Class in <Unnamed>
 
RunPictureTool() - Constructor for class RunPictureTool
 

S

scale(double) - Method in class Picture
Method to scale the picture by a factor, and return the result
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
scale(double) - Method in class Sound
Scale up or down a sound by the given factor (1.0 returns the same, 2.0 doubles the length, and 0.5 halves the length)
ScaleBranch - Class in <Unnamed>
Class that scales the children
ScaleBranch(double) - Constructor for class ScaleBranch
Construct a branch with the passed factor
SceneElement - Class in <Unnamed>
Represents an element that knows how to draw itself in a scene using a Turtle to do the drawing
SceneElement() - Constructor for class SceneElement
 
SceneElementLayered - Class in <Unnamed>
A scene element that knows its position
SceneElementLayered(Picture, int, int) - Constructor for class SceneElementLayered
Make a new element with a picture as input, and next as null, to be drawn at given x,y
SceneElementPositioned - Class in <Unnamed>
Class that defines a scene element whose position is defined by its position in the linked list
SceneElementPositioned(Picture) - Constructor for class SceneElementPositioned
Make a new element with a picture as input, and next as null.
SearchMethods - Class in <Unnamed>
A class that demonstrates search algorithms
SearchMethods() - Constructor for class SearchMethods
 
setAgent(Turtle) - Method in class AgentNode
Method to set the agent turtle
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
set the pixel information
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 AmazingGraceSongElement
We need setChannel because each part has to be in its own channel if it has different start times.
setChannel(int) - Method in class AmazingGraceSongElement2
We need setChannel because each part has to be in its own channel if it has different start times.
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
setData(String) - Method in class TreeNode
Method to set the data at this node
setDirectory(String) - Method in class FrameSequencer
Method to set the directory to write the frames to
setFactor(double) - Method in class ScaleBranch
Method to set the scaling factor
setFileName(String) - Method in class SimplePicture
Method to set the file name
setFirst(SongPart) - Method in class Song
Take in a SongPart to make the first channel in the song
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
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
setId(int) - Method in class Student
Method to set the identifier
setImage(Image) - Method in class ImageDisplay
Method to set the image
setInfoColor(Color) - Method in class SimpleTurtle
Method to set the information color
setLeft(TreeNode) - Method in class TreeNode
Method to set the left child
setLeftSample(int, int) - Method in class SimpleSound
 
setLoc(int, int) - Method in class SwappableComposedImage
Method to set the x and y location
setLoc(int, int) - Method in class WalkingDoll
Method to set the position to the new x and y
setLocator(MediaLocator) - Method in class JpegImagesToMovie.ImageDataSource
 
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(int) - Method in class SimEvent
Method to set the message
setModelDisplay(ModelDisplay) - Method in class SimpleTurtle
Method to set the model display for this simple turtle
setName(String) - Method in class Person
Method that sets the name
setName(String) - Method in class SimpleTurtle
Method to set the name of the turtle
setNext(AmazingGraceSongElement) - Method in class AmazingGraceSongElement
Set the next element
setNext(AmazingGraceSongElement2) - Method in class AmazingGraceSongElement2
Method to set the next element
setNext(CollectableNode) - Method in class CollectableNode
Method to set the next node
setNext(DrawableNode) - Method in class DrawableNode
Method to set the next node
setNext(LayeredSceneElement) - Method in class LayeredSceneElement
Method to set the next element
setNext(LLNode) - Method in class LLNode
Method to set the next element
setNext(PositionedSceneElement) - Method in class PositionedSceneElement
Method to set the next element
setNext(SceneElement) - Method in class SceneElement
Method to set the next element
setNext(SongElement) - Method in class SongElement
Method to set the next element in the song
setNext(SongNode) - Method in class SongNode
Creates a link between the current node and the input node
setNext(SoundElement) - Method in class SoundElement
Method to set the next element
setParty(Color) - Method in class PoliticalAgent
Set the party
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
setPhrase(Phrase, double, int) - Method in class AmazingGraceSongElement2
setPhrase takes a phrase and makes it the one for this element at the desired start time with the given instrument
setPhrase(Phrase, double, int) - Method in class SongElement
This method takes a phrase and makes it the one for this element at the desired start time with the given instrument
setPhrase(Phrase) - Method in class SongNode
setPhrase takes a Phrase and makes it the one for this node
setPicture(Picture) - Method in class Agent
Method to set the picture
setPicture(Picture) - Method in class PictureFrame
Method to set the picture to show in this picture frame
setPicture(Picture) - Method in class PictureTool
Method to set the picture to a new picture
setPicture(Picture) - Method in class SceneElement
Method to set the picture in the node
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
setRight(TreeNode) - Method in class TreeNode
Method to set the right child
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
setSecond(SongPart) - Method in class Song
Take in a SongPart to make the second channel in the song
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.
setSpeed(int) - Method in class Agent
Method to set the speed
setTime(double) - Method in class SimEvent
Method to set the time that the event occurs myTime the time to use
setTitle(String) - Method in interface DigitalPicture
set the title of the picture
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
setUp() - Method in class AnimatedPositionedScene
Method to set up the animation
setUp() - Method in class BirdSimulation
Set up the world with 10 birds and the mysterious egg
setUp() - Method in class CrowdSimulation
Set up the world
setUp() - Method in class DiseaseSimulation
Initialize the world for the simulation.
setUp() - Method in class FactorySimulation
Set up the simulation
setUp() - Method in class PoliticalSimulation
Fill the world with 60 persons
setUp() - Method in class Simulation
setUp the simulation.
setUp() - Method in class WDSimulation
Fill the world with wolves and deer
setUp2() - Method in class SoundTreeExample
Method to set up the tree
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
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
show() - Method in interface DigitalPicture
show the picture
show() - Method in class FrameSequencer
Method to show the frame sequence
show() - Method in class MyTurtleAnimation
 
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 Song
Make the score and show it
show() - Method in class SongPart
Collect all notes in this SongPart and open it up for viewing.
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
showFromMeOn() - Method in class AmazingGraceSongElement
Method to show from this element on
showFromMeOn() - Method in class AmazingGraceSongElement2
Method to show from this element on
showFromMeOn() - Method in class SongElement
Method to show the song from this element
showFromMeOn(int) - Method in class SongNode
Collect all the notes from this node on in an part (then a score) and open it up for viewing.
showInformation(String) - Static method in class SimpleOutput
Method to show information to the user
showMe() - Method in class AmazingGraceSong
Method to show the song
showMe() - Method in class AmazingGraceSong2
 
showMe() - Method in class MVAmazingGraceSong
Method to show the song
showMe() - Method in class MyFourPartSong
 
showNamed(String) - Static method in class Picture
Class method to create a picture object from the passed file name and then show it
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
SimEvent - Class in <Unnamed>
SimulationEvent (SimEvent) -- an event that occurs in a simulation, like a truck arriving at a factory, or a salesperson leaving the market
SimEvent(DEAgent, double, int) - Constructor for class SimEvent
Constructor that takes values for all the fields
SimEvent() - Constructor for class SimEvent
Constructor that takes no arguments
SimpleBrowser - Class in <Unnamed>
A Simple Web Browser Uses a JEditorPane() which knows how to interpret HTML (and RTF and Text)
SimpleBrowser() - Constructor for class SimpleBrowser
Constuctor that takes no arguments
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
Simulation - Class in <Unnamed>
Class that implements a general Simulation
Simulation() - Constructor for class Simulation
Constructor to set output to null
Simulation(Picture) - Constructor for class Simulation
Constructor to set output to null
size() - Method in class AbstractQueue
Return the size of a queue
size() - Method in class ArrayListStack
Method to return the number of elements in the stack
size() - Method in class ArrayQueue
Return the size of a queue
size() - Method in class ArrayStack
Method to return the number of elements in the stack
size() - Method in class EventQueue
Return the number of elements in the queue
size() - Method in class LinkedListQueue
Return the size of a queue
size() - Method in class LinkedListStack
Method to get the number of elements in the stack
size() - Method in class PictureStack
Method to return the number of elements in the stack
size() - Method in interface Queue
Return the size of a queue
size() - Method in class QueueList
Return the size of a queue
size() - Method in interface Stack
Method to return the number of elements in the stack
SliderTest - Class in <Unnamed>
 
SliderTest() - Constructor for class SliderTest
 
SMELL_RANGE - Static variable in class Deer
class constant for how far deer can smell
SMELL_RANGE - Static variable in class DeerAgent
class constant for how far deer can smell
SMELL_RANGE - Static variable in class Wolf
class constant for how far wolf can smell
SMELL_RANGE - Static variable in class WolfAgent
class constant for how far a wolf can smell
Song - Class in <Unnamed>
Class that represents a song
Song() - Constructor for class Song
 
SongElement - Class in <Unnamed>
Class that holds an element in a song
SongElement() - Constructor for class SongElement
Constructor that takes no arguments.
SongNode - Class in <Unnamed>
Represents a node in a flexible song structure
SongNode() - Constructor for class SongNode
Construct a new song node.
SongPart - Class in <Unnamed>
Class that represents a part of a song
SongPart(int, SongNode) - Constructor for class SongPart
Construct a SongPart
SongPhrase - Class in <Unnamed>
Class that holds phrases that can be used
SongPhrase() - Constructor for class SongPhrase
 
sort() - Method in class EventQueue
Sort the events in the linked list using an insertion sort
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 seconds that this sound will have
Sound(Sound) - Constructor for class Sound
Constructor that makes a copy of the passed sound
SoundBranch - Class in <Unnamed>
Class that represents a branch in a tree of sounds
SoundBranch() - Constructor for class SoundBranch
Construct a branch with the first child and next as null
SoundElement - Class in <Unnamed>
Sounds for a linked list
SoundElement(Sound) - Constructor for class SoundElement
Constructor sets next to null and references the input sound.
SoundException - Exception in <Unnamed>
Class that represents a sound exception
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
SoundListDifferent - Class in <Unnamed>
Class to try out creating sound elements
SoundListDifferent() - Constructor for class SoundListDifferent
 
SoundListTest - Class in <Unnamed>
Class to test a sound list
SoundListTest() - Constructor for class SoundListTest
Constructor that sets up the test
SoundNode - Class in <Unnamed>
 
SoundNode(Sound) - Constructor for class SoundNode
 
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
SoundTreeExample - Class in <Unnamed>
Class to test the sound tree
SoundTreeExample() - Constructor for class SoundTreeExample
Constructor to set up the example
SquareInSquare - Class in <Unnamed>
Class to draw a square inside of a square
SquareInSquare() - Constructor for class SquareInSquare
 
Stack<E> - Interface in <Unnamed>
An abstract definition of a stack
start() - Method in class JpegImagesToMovie.ImageDataSource
 
start() - Method in class WalkingDoll
Start a walking sequence
stateTransitionOK - Variable in class JpegImagesToMovie
 
step() - Method in class WalkingDoll
Draw the next step
steps(int) - Method in class WalkingDoll
Draw a few steps
stop() - Method in class JpegImagesToMovie.ImageDataSource
 
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 represents a student.
Student() - Constructor for class Student
Constructor that takes no arguments
Student(String) - Constructor for class Student
Constructor that takes the student's name
SwappableComposedImage - Class in <Unnamed>
Class that represents a swappable composed image
SwappableComposedImage() - Constructor for class SwappableComposedImage
 

T

TConversionTool - Class in <Unnamed>
 
TConversionTool() - Constructor for class TConversionTool
 
TestLayeredSceneElement - Class in <Unnamed>
Class that tests a layered scene element
TestLayeredSceneElement() - Constructor for class TestLayeredSceneElement
 
TestStringArgs - Class in <Unnamed>
Class to show using the array of string arguments
TestStringArgs() - Constructor for class TestStringArgs
 
timeToDeliver() - Method in class Distributor
return the time to deliver
toString() - Method in class AgentNode
Method to return an information string
toString() - Method in class BlueScreenNode
Method to return a string with information about this node
toString() - Method in class Branch
Method to return a string with information about this branch
toString() - Method in class CharacterNode
Method to return a string with informaiton about this node
toString() - Method in class DiseaseSimulation
create an information string with the number infected
toString() - Method in class HBranch
Method to return a string with information about this branch
toString() - Method in class MoveBranch
Method to return a string with information about this branch
toString() - Method in class Person
Method to get an information string
toString() - Method in class PictNode
Method to return a string with information about this node
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 PoliticalSimulation
return an information string
toString() - Method in class ScaleBranch
Method to return a string with information about this branch
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 Simulation
Return a string with information on the number of agents.
toString() - Method in class Sound
Method to return the string representation of this sound
toString() - Method in class SoundBranch
Method to return a string with information about this branch
toString() - Method in class SoundElement
Provide a printable representation of me
toString() - Method in class SoundNode
Method to return a string with information about this node
toString() - Method in class SoundSample
Method to return a string with the information about this object
toString() - Method in class TreeNode
Method to return a string of information
toString() - Method in class VBranch
Method to return a string with information about this branch
toString() - Method in class WDSimulation
return a string with the number of deer and the number of wolves
toString() - Method in class World
Method that returns information about this world in the form of a string
TreeNode - Class in <Unnamed>
Class that represents a binary tree node
TreeNode(String) - Constructor for class TreeNode
Constructor that takes the string to store
tripTime() - Method in class Distributor
return the trip time
tripTime() - Method in class Truck
Calculate and return the total trip time
Truck - Class in <Unnamed>
Truck -- delivers product from the Factory to the Warehouse.
Truck(ModelDisplay, Simulation) - Constructor for class Truck
Constructor that takes the model display (the original position will be randomly assigned) and a simulation
Truck(int, int, ModelDisplay, Simulation) - Constructor for class Truck
Constructor that takes the x and y, a model display to draw it on, and a simulation
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
TurtleSquares - Class in <Unnamed>
Class to show how a turtle can draw squares
TurtleSquares() - Constructor for class TurtleSquares
 

U

ulaw2linear(byte) - Static method in class TConversionTool
 
unblocked(Resource) - Method in class DEAgent
I've been unblocked!
unblocked(Resource) - Method in class Distributor
I've been unblocked!
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
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

validTime(double) - Method in class DEAgent
Method to return the current simulation time if the passed delay is negative or the time + the passed delay
VBranch - Class in <Unnamed>
Class that uses vertical spacing between children with a gap between children as well
VBranch(int) - Constructor for class VBranch
Construct a branch with children and next as null

W

waitFileSync - Variable in class JpegImagesToMovie
 
waitFor(Resource) - Method in class DEAgent
Block myself for the input resource
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
 
WalkingDoll - Class in <Unnamed>
Class that represents a walking doll
WalkingDoll() - Constructor for class WalkingDoll
We'll do the list setup in the constructor
WAREHOUSE_ARRIVE - Static variable in class Distributor
message that means items arrived at the warehouse
WAREHOUSE_ARRIVE - Static variable in class Truck
an arrive at warehouse event
WDSimulation - Class in <Unnamed>
A wolf and deer simulation that extends the Simulation class
WDSimulation() - Constructor for class WDSimulation
 
weave(SongNode, int, int) - Method in class SongNode
Weave the input song node count times every skipAmount nodes
weave(SoundElement, int, int) - Method in class SoundElement
Weave the input song node count times every skipAmount nodes
WebPageReader - Class in <Unnamed>
 
WebPageReader(String) - Constructor for class WebPageReader
Constructor that takes a url as a string
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, WolfDeerSimulation) - Constructor for class Wolf
Constructor that takes the model display (the original position will be randomly assigned)
Wolf(int, int, ModelDisplay, WolfDeerSimulation) - Constructor for class Wolf
Constructor that takes the x and y and a model display to draw it on
WolfAgent - Class in <Unnamed>
WolfAgent -- Wolf as a subclass of Agent
WolfAgent(ModelDisplay, Simulation) - Constructor for class WolfAgent
Constructor that takes the model display (the original position will be randomly assigned) and the simulation
WolfAgent(int, int, ModelDisplay, Simulation) - Constructor for class WolfAgent
Constructor that takes the x and y, a model display to draw it on, and the simulation
WolfAttackMovie - Class in <Unnamed>
Class to make a wolf attack movie
WolfAttackMovie() - Constructor for class WolfAttackMovie
Constructor that takes no arguments and sets up the movie
WolfDeerSimulation - Class in <Unnamed>
Class that does a predator and prey simulation with wolves and deer
WolfDeerSimulation() - Constructor for class WolfDeerSimulation
 
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
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
writeFile(String) - Method in class HistogramGenerator
Method to output the keys and values in the histogram to a file
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.

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 Z