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

A

Applet - class cs015.SP.Applet.
An applet with a static Panel so that other classes can draw without needing parameters.
Applet() - Constructor for class cs015.SP.Applet
Create the Applet, set the size, and create the drawingpanel for everything else to use.
activate() - Method in class cs015.SP.OpenCloseBehavior
Makes the mouth open and close.
activate() - Method in class cs015.SP.PowerButtonDelayBehavior
 
activate() - Method in class cs015.SP.RainUpdateBehavior
Call update on the raindrop
activate() - Method in class cs015.SP.WinkBehavior
Makes the target eye open and close.
activate() - Method in class cs015.Swarm.DoNothingBehavior
Do not call this method yourself.
activate() - Method in class cs015.Swarm.FollowLeaderBehavior
You should not call this method yourself. It will be called for you by the support code.
activate() - Method in class cs015.Swarm.MoveBehavior
This method is called at regular intervals.
activate() - Method in class cs015.Swarm.MoveRandomlyBehavior
You should not call this method yourself This method is called at regular intervals to perform this behavior's actions.
actualPaint(Graphics2D) - Method in class cs015.SketchySupport.FilledPolygonShape
Normal users don't use this method
actualPaint(Graphics2D) - Method in class cs015.SketchySupport.FramedPolygonShape
Normal users don't use this method
add() - Method in class cs015.PizzaDex.CommandHandler
 
add(Vector) - Method in class cs015.Swarm.Vector
This method returns a new vector which is the sum of this vector and the parameter
attachShape(SketchyShape) - Method in class cs015.SketchySupport.BoundingBox
Sets the SketchyShape that the bounding box will be acting on.

B

BeeBehavior - class cs015.Swarm.BeeBehavior.
This class represents a behavior that has a cs015.Swarm.Directional as the target that the behavior is acting on.
BeeBehavior() - Constructor for class cs015.Swarm.BeeBehavior
This constructor builds a BeeBehavior with a null target.
BeeBehavior(Directional) - Constructor for class cs015.Swarm.BeeBehavior
This constructor takes a new Directional to be target of the behavior and assigns it to its target instance variable.
Blink() - Method in class cs015.SP.RoundEyes
Makes both eyes blink by adding an OpenClose behavior to them.
Blink() - Method in interface cs015.SP.SnowEyes
This method will make both eyes close and open.
BoardWeights - class cs015.Othello.BoardWeights.
This class represents board weights for Othello.
BoardWeights() - Constructor for class cs015.Othello.BoardWeights
 
BoundingBox - class cs015.SketchySupport.BoundingBox.
This class models a bounding box to be used with a SketchyShape.
BoundingBox(DrawingPanel) - Constructor for class cs015.SketchySupport.BoundingBox
Creates a bounding box.

C

Close() - Method in class cs015.SP.CoalMouth
This method closes the mouth.
Close() - Method in interface cs015.SP.Eye
 
Close() - Method in class cs015.SP.RoundEyes
Closes both eyes.
Close() - Method in interface cs015.SP.SnowEyes
This method closes the eyes
Close() - Method in interface cs015.SP.SnowMouth
Makes the eyes look closed.
CloudButtonNose - class cs015.SP.CloudButtonNose.
The Cloud's nose.
CloudButtonNose() - Constructor for class cs015.SP.CloudButtonNose
Create the nose and position it on the screen.
CloudColor - class cs015.SP.CloudColor.
The atmospheric/raindrop colors for Cloud.
CloudColor(Color) - Constructor for class cs015.SP.CloudColor
Construct a CloudColor and change the background color of the applet.
CloudDrop - class cs015.SP.CloudDrop.
This class represents a single raindrop that falls from a cloud.
CloudDrop() - Constructor for class cs015.SP.CloudDrop
Create a CloudDrop and position it on the screen.
CloudHappyMouth - class cs015.SP.CloudHappyMouth.
The Cloud's mouth.
CloudHappyMouth() - Constructor for class cs015.SP.CloudHappyMouth
Create and position the parts of the Cloud's mouth.
CloudRoundEyes - class cs015.SP.CloudRoundEyes.
Round eyes for the cloud.
CloudRoundEyes() - Constructor for class cs015.SP.CloudRoundEyes
Create the eyes and position them on the screen.
CloudShape - class cs015.SP.CloudShape.
A cloud shape that is capable of knowing when it is clicked on.
CloudShape() - Constructor for class cs015.SP.CloudShape
Create the cloud and position it on the screen.
CoalMouth - class cs015.SP.CoalMouth.
Modified by Kalin Agrawal (kagrawal) to work with NGP on 7/1/1999
CoalMouth() - Constructor for class cs015.SP.CoalMouth
The constructor initializes the mouth and positions it on the screen.
CommandHandler - class cs015.PizzaDex.CommandHandler.
Package PizzaDex
class CommandHandler
CommandHandler(ListInterface) - Constructor for class cs015.PizzaDex.CommandHandler
 
Comparable - interface cs015.Comparable.
 
Copy() - Method in class cs015.SP.OpenCloseBehavior
Makes a copy of the behavior.
Copy() - Method in class cs015.SP.WinkBehavior
Makes a copy of the behavior.
checkEmpty() - Method in class cs015.PizzaDex.CommandHandler
 
clear() - Method in class cs015.PizzaDex.CommandHandler
 
closeRead() - Method in class cs015.SketchySupport.FileIO
Calling this method closes the current file which is open for reading.
closeWrite() - Method in class cs015.SketchySupport.FileIO
Calling this method closes the current file which is open for writing.
copy() - Method in class cs015.Swarm.BeeBehavior
This method will return a copy of the current behavior.
copy() - Method in class cs015.Swarm.DoNothingBehavior
This method returns a copy of the behavior.
copy() - Method in class cs015.Swarm.FollowLeaderBehavior
This method returns a copy of the behavior.
copy() - Method in class cs015.Swarm.MoveRandomlyBehavior
This method returns a copy of the behavior.
copy() - Method in class cs015.Swarm.Vector
This method will return a copy of the current Vector, or in other words, another vector is made with the same orientation and speed and the new reference is returned.
createDirectionallyConstrainedVector(Point, Point) - Method in class cs015.Swarm.Vector
This method will return a new vector with current speed and direction towards a specific point on the screen, within a limit So a vector pointing away from the target point will not turn all the way towards the target but just a little bit towards the target.
createRandomlyConstrainedVector() - Method in class cs015.Swarm.Vector
This method will return a new vector with changed direction and speed by a random amount within a limit set by your TAs.
cs015 - package cs015
 
cs015.Othello - package cs015.Othello
 
cs015.PizzaDex - package cs015.PizzaDex
 
cs015.SP - package cs015.SP
 
cs015.SketchySupport - package cs015.SketchySupport
 
cs015.Swarm - package cs015.Swarm
 

D

DIMENSION - Static variable in interface cs015.SP.SnowPersonConstants
 
DefaultWeights - class cs015.Othello.DefaultWeights.
This class represents default board weights for Othello.
DefaultWeights() - Constructor for class cs015.Othello.DefaultWeights
 
Directional - interface cs015.Swarm.Directional.
This is an interface that objects which will be acted upon by any behaviors in the cs015.Swarm package must implement.
DoNothingBehavior - class cs015.Swarm.DoNothingBehavior.
This class represents a behavior that makes its target do nothing.
DoNothingBehavior() - Constructor for class cs015.Swarm.DoNothingBehavior
This constructor builds this behavior with a null target
DoNothingBehavior(Directional) - Constructor for class cs015.Swarm.DoNothingBehavior
This constructor builds this behavior with a target to act on.
degToRad(int) - Method in class cs015.SketchySupport.BoundingBox
Converts an angle in degrees to an angle in radians.
delete(PizzaData) - Method in interface cs015.PizzaDex.ListInterface
The Delete method is called when an item from the linked list is to be deleted.
display() - Method in class cs015.PizzaDex.CommandHandler
 

E

Eye - interface cs015.SP.Eye.
This is an interface for a generic eye.
empty() - Method in interface cs015.PizzaDex.ListInterface
This function should return true if the list is empty, false otherwise.

F

FileIO - class cs015.SketchySupport.FileIO.
This class provides easy file input and output operations.
FileIO() - Constructor for class cs015.SketchySupport.FileIO
 
FilledPolygonShape - class cs015.SketchySupport.FilledPolygonShape.
Used for defining non-rectangular geometric shapes that are filled in when they are drawn.
FilledPolygonShape(DrawingPanel, Polygon) - Constructor for class cs015.SketchySupport.FilledPolygonShape
Create a FilledPolygonShape in the specified drawing panel with the given polygon as its outline and show the shape.
FollowLeaderBehavior - class cs015.Swarm.FollowLeaderBehavior.
This class represents a behavior that moves one Directional object towards another Directional object.
FollowLeaderBehavior(Locatable) - Constructor for class cs015.Swarm.FollowLeaderBehavior
This constructor builds this behavior with a Directional to follow as a leader and a null Directional as its target.
FollowLeaderBehavior(Directional, Locatable) - Constructor for class cs015.Swarm.FollowLeaderBehavior
This constructor builds this behavior with a Directional to act on and a Directional to follow.
Frame - class cs015.SP.Frame.
A frame with a static Panel so that other classes can draw without needing parameters.
Frame() - Constructor for class cs015.SP.Frame
Create the Frame, set the size, and create the DrawingPanel for everything else to use.
FramedPolygonShape - class cs015.SketchySupport.FramedPolygonShape.
Used for defining non-rectangular geometric shapes that are drawn without being filled in.
FramedPolygonShape(DrawingPanel, Polygon) - Constructor for class cs015.SketchySupport.FramedPolygonShape
Create a FramedPolygonShape in the specified drawing panel with the given polygon as its outline and show the shape.
fall() - Method in class cs015.SP.RainDropShape
Causes the RainDropShape to fall a small amount down the screen.

G

GetAddress() - Method in class cs015.PizzaDex.PizzaData
 
GetName() - Method in class cs015.PizzaDex.PizzaData
 
GetPhone() - Method in class cs015.PizzaDex.PizzaData
 
getBlue() - Method in class cs015.SP.CloudColor
 
getBottomCenter() - Method in class cs015.SP.LocationGenerator
 
getBottomLeft() - Method in class cs015.SP.LocationGenerator
 
getBottomRight() - Method in class cs015.SP.LocationGenerator
 
getCenterCenter() - Method in class cs015.SP.LocationGenerator
 
getCenterLeft() - Method in class cs015.SP.LocationGenerator
 
getCenterLocation() - Method in class cs015.SketchySupport.BoundingBox
Gets the location of the CENTER of the bounding box.
getCenterLocation() - Method in class cs015.SketchySupport.PolygonShape
Get the location of this PolygonShape.
getCenterLocation() - Method in interface cs015.SketchySupport.SketchyShape
Gets the current location of the center of the shape
getCenterRight() - Method in class cs015.SP.LocationGenerator
 
getChoice() - Method in class cs015.PizzaDex.UserInterface
getChoice() Called by processChoice.
getCurrentData() - Method in interface cs015.PizzaDex.ListInterface
This function returns the current data element of the linked list.
getDimension() - Method in class cs015.SketchySupport.PolygonShape
Get the dimensions of this PolygonShape.
getDimension() - Method in class cs015.SketchySupport.SketchyText
Get the dimension of this text object.
getFontSize() - Method in class cs015.SketchySupport.SketchyText
Get the size of the font of this text object.
getGreen() - Method in class cs015.SP.CloudColor
 
getLocation() - Method in class cs015.SketchySupport.BoundingBox
Gets the location of the CENTER of the bounding box.
getLocation() - Method in class cs015.SketchySupport.Handle
 
getLocation() - Method in class cs015.SketchySupport.SketchyText
Get the location of the center of this text object.
getRed() - Method in class cs015.SP.CloudColor
 
getRotation() - Method in class cs015.Swarm.Vector
This method will return the current rotation of the vector, or in other words, it will return the angle of the vector between it an the positive x axis.
getTarget() - Method in class cs015.Swarm.BeeBehavior
Use this function to obtain the target of the BeeBehavior.
getThickness() - Method in class cs015.SketchySupport.FramedPolygonShape
Get the thickness of the lines used for drawing the outline of this shape
getTopCenter() - Method in class cs015.SP.LocationGenerator
 
getTopLeft() - Method in class cs015.SP.LocationGenerator
 
getTopRight() - Method in class cs015.SP.LocationGenerator
 
getVector() - Method in interface cs015.Swarm.Directional
This method is to be used to obtain a cs015.Swarm.Vector from a Directional.
getVelocity() - Method in class cs015.Swarm.Vector
This method will return the current velocity of the vector, or in other words, it will return the length of the vector.
getWeight(int, int) - Method in class cs015.Othello.BoardWeights
This returns the weight at the space indicated by the parameters.
getWeight(int, int) - Method in class cs015.Othello.DefaultWeights
 

H

Handle - class cs015.SketchySupport.Handle.
 
Handle(DrawingPanel, BoundingBox) - Constructor for class cs015.SketchySupport.Handle
 
handleDragged(MouseEvent, Handle) - Method in class cs015.SketchySupport.BoundingBox
This method is called whenever one of the BoundingBox's Handles are dragged.
handlePressed(MouseEvent, Handle) - Method in class cs015.SketchySupport.BoundingBox
This method is called whenever one of the Handles is pressed.
handleReleased(MouseEvent, Handle) - Method in class cs015.SketchySupport.BoundingBox
This method is called whenever one of the Handles is released.
hasMoreData() - Method in class cs015.SketchySupport.FileIO
This method returns whether there is more data to be read from the file that is currently open for reading.
hide() - Method in class cs015.SketchySupport.BoundingBox
Hide the bounding box.
hideFuzzyScreen() - Method in class cs015.SP.TV
Hide the fuzzy screen
hideWorkingScreen() - Method in class cs015.SP.TV
Hide the working screen

I

init() - Method in class cs015.SP.Applet
 
insert(PizzaData) - Method in interface cs015.PizzaDex.ListInterface
The Insert method is called on a linked list when an item has to be inserted.
isEqualTo(Comparable) - Method in interface cs015.Comparable
 
isEqualTo(Comparable) - Method in class cs015.PizzaDex.PizzaData
 
isGreaterThan(Comparable) - Method in interface cs015.Comparable
 
isGreaterThan(Comparable) - Method in class cs015.PizzaDex.PizzaData
 
isLessThan(Comparable) - Method in interface cs015.Comparable
 
isLessThan(Comparable) - Method in class cs015.PizzaDex.PizzaData
 

L

LOCATION - Static variable in interface cs015.SP.SnowPersonConstants
 
ListInterface - interface cs015.PizzaDex.ListInterface.
 
LocationGenerator - class cs015.SP.LocationGenerator.
Generates locations to be used with TVWarehouse.
LocationGenerator() - Constructor for class cs015.SP.LocationGenerator
 

M

MoveBehavior - class cs015.Swarm.MoveBehavior.
This class represents an abstract superclass for all behaviors that move a class implementing the Directional interface.
MoveBehavior() - Constructor for class cs015.Swarm.MoveBehavior
This constructor builds a MoveBehavior with a null target.
MoveBehavior(Directional) - Constructor for class cs015.Swarm.MoveBehavior
This constructor builds a MoveBehavior with a directional as its target.
MoveRandomlyBehavior - class cs015.Swarm.MoveRandomlyBehavior.
This is a concrete subclass of a MoveBehavior that moves a Directional randomly about the screen.
MoveRandomlyBehavior() - Constructor for class cs015.Swarm.MoveRandomlyBehavior
This constructor builds this behavior with no target to act on, that it the target reference in its BeeBehavior superclass is null.
MoveRandomlyBehavior(Directional) - Constructor for class cs015.Swarm.MoveRandomlyBehavior
This constructor builds this behavior with a target on which it will act.
mouseClicked(MouseEvent) - Method in class cs015.SP.CloudShape
 
mouseClicked(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
mouseDragged(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
mouseEntered(MouseEvent) - Method in class cs015.SP.CloudShape
 
mouseEntered(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
mouseExited(MouseEvent) - Method in class cs015.SP.CloudShape
 
mouseExited(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
mouseMoved(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
mousePressed(MouseEvent) - Method in class cs015.SP.CloudShape
 
mousePressed(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
mouseReleased(MouseEvent) - Method in class cs015.SP.CloudShape
 
mouseReleased(MouseEvent) - Method in class cs015.SketchySupport.Handle
 
movePositionAlong(Point) - Method in class cs015.Swarm.Vector
This method returns a new java.awt.Point based on the parameter location.

N

next() - Method in class cs015.PizzaDex.CommandHandler
 
next() - Method in interface cs015.PizzaDex.ListInterface
This method is used to set the current node reference to refer to the node after it.

O

Open() - Method in class cs015.SP.CoalMouth
This method opens the mouth.
Open() - Method in interface cs015.SP.Eye
 
Open() - Method in class cs015.SP.RoundEyes
Opens both eyes.
Open() - Method in interface cs015.SP.SnowEyes
This method opens the eyes.
Open() - Method in interface cs015.SP.SnowMouth
Makes the eyes look open.
OpenCloseBehavior - class cs015.SP.OpenCloseBehavior.
Modified by Kalin Agrawal (kagrawal) to work with NGP on 7/1/1999
OpenCloseBehavior(SnowMouth) - Constructor for class cs015.SP.OpenCloseBehavior
Initializes the behavior and stores the target mouth.
off() - Method in class cs015.SP.Screen
Changes the screen so that it looks like it's off
on() - Method in class cs015.SP.Screen
Changes the screen so that it looks like it's on
openRead(String) - Method in class cs015.SketchySupport.FileIO
Opens the file specified by 'filename' for reading.
openWrite(String) - Method in class cs015.SketchySupport.FileIO
Opens the file specified by 'filename' for writing.

P

PizzaData - class cs015.PizzaDex.PizzaData.
 
PizzaData(String, String, String) - Constructor for class cs015.PizzaDex.PizzaData
 
PolygonShape - class cs015.SketchySupport.PolygonShape.
Used for defining non-rectangular geometric shapes.
PolygonShape(DrawingPanel, Polygon) - Constructor for class cs015.SketchySupport.PolygonShape
Create a PolygonShape in the specified drawing panel with the given polygon
PowerButton - class cs015.SP.PowerButton.
A power button knows how to position itself on the screen.
PowerButton(Point) - Constructor for class cs015.SP.PowerButton
Create and position the power button
PowerButtonDelayBehavior - class cs015.SP.PowerButtonDelayBehavior.
This behavior waits for a bit, then turns the TV off.
PowerButtonDelayBehavior(TV) - Constructor for class cs015.SP.PowerButtonDelayBehavior
 
parse(FileIO) - Method in interface cs015.SketchySupport.SketchyReadWrite
Optional method for your convenience.
prev() - Method in class cs015.PizzaDex.CommandHandler
 
prev() - Method in interface cs015.PizzaDex.ListInterface
This method is used to set the current node reference to refer to the node preceding it.
print(FileIO) - Method in interface cs015.SketchySupport.SketchyReadWrite
Optional method for your convenience.
printMenu() - Method in class cs015.PizzaDex.UserInterface
printMenu() Called by main.
processChoice() - Method in class cs015.PizzaDex.UserInterface
processChoice() Called by main.

R

RainDropShape - class cs015.SP.RainDropShape.
A raindrop that has the capability of falling down the screen.
RainDropShape() - Constructor for class cs015.SP.RainDropShape
 
RainUpdateBehavior - class cs015.SP.RainUpdateBehavior.
Calls update on the RainDropShape every time it activates.
RainUpdateBehavior(RainDropShape) - Constructor for class cs015.SP.RainUpdateBehavior
 
RoundEyes - class cs015.SP.RoundEyes.
Modified by Kalin Agrawal (kagrawal) to work with NGP, 7/1/1999
RoundEyes() - Constructor for class cs015.SP.RoundEyes
Initializes the eyes and positions them on the screen.
radToDeg(double) - Method in class cs015.SketchySupport.BoundingBox
Converts an angle in radians to an angle in degrees.
rain() - Method in class cs015.SP.CloudDrop
Tell the CloudDrop to fall down the screen.
react() - Method in class cs015.SP.CloudShape
This method is called when a mouse click is detected on the cloud.
react() - Method in class cs015.SP.CoalMouth
 
react() - Method in class cs015.SP.PowerButton
This currently does nothing.
readDouble() - Method in class cs015.SketchySupport.FileIO
This method reads the next entry in the file and returns it as a double.
readInt() - Method in class cs015.SketchySupport.FileIO
This method reads the next entry in the file and returns it as an int.
readString() - Method in class cs015.PizzaDex.CommandHandler
 
readString() - Method in class cs015.SketchySupport.FileIO
This method reads the next entry in the file and returns it as a string.
remove() - Method in class cs015.PizzaDex.CommandHandler
 
removeShape() - Method in class cs015.SketchySupport.BoundingBox
This method makes the bounding box lose its reference to its attached shape and then hides the box.
resize(Point, Point, Handle) - Method in class cs015.SketchySupport.BoundingBox
This method should be called when a Handle is dragged in an attempt to resize the BoundingBox and attached Shape.
rotate(int) - Method in class cs015.Swarm.Vector
 
rotateClockwise(int) - Method in class cs015.SketchySupport.BoundingBox
Rotates the BoundingBox and its attached shape by the given number of degrees in the clockwise direction.
rotatePoint(Point, int) - Method in class cs015.SketchySupport.BoundingBox
A math function that takes a Point p and an angle in degrees and returns p after a clockwise rotation through degrees around the origin.

S

Screen - class cs015.SP.Screen.
A Screen can turn "on" or "off" by displaying the appropriate image.
Screen(DrawingPanel, Point, String) - Constructor for class cs015.SP.Screen
Initializes the screen and correctly positions it on the computer screen with respect to the TV.
SetAddress(String) - Method in class cs015.PizzaDex.PizzaData
 
SetName(String) - Method in class cs015.PizzaDex.PizzaData
 
SetPhone(String) - Method in class cs015.PizzaDex.PizzaData
 
SketchyReadWrite - interface cs015.SketchySupport.SketchyReadWrite.
This is an optional interface that you should use if you want to distribute printing and parsing throughout your shapes.
SketchyShape - interface cs015.SketchySupport.SketchyShape.
For a shape to be able to be manipulated by the BoundingBox, it must implement this interface.
SketchyText - class cs015.SketchySupport.SketchyText.
A simple wrapper around the NGP.Graphics.Text class that allows for easier manipulation of location and font size.
SketchyText(DrawingPanel, String) - Constructor for class cs015.SketchySupport.SketchyText
Create a new SketchyText object that displays the given string on the given drawing panel.
SnowEyes - interface cs015.SP.SnowEyes.
This is a generic interface for different classes of SnowPerson's eyes.
SnowFace - class cs015.SP.SnowFace.
Modified by Kalin Agrawal (kagrawal) to work with NGP, 7/1/1999
SnowFace() - Constructor for class cs015.SP.SnowFace
The constructor initializes the face and shows it on the screen.
SnowMouth - interface cs015.SP.SnowMouth.
This is an interface for all SnowPerson's mouths.
SnowPersonConstants - interface cs015.SP.SnowPersonConstants.
 
SquareNose - class cs015.SP.SquareNose.
Modified by Kalin Agrawal (kagrawal) to work with NGP, 7/7/1999
SquareNose() - Constructor for class cs015.SP.SquareNose
Initializes the nose and shows it on the screen.
StartAnimate() - Method in class cs015.SP.CoalMouth
This method starts the animation that makes the mouth open and close at regular intervals.
StartAnimate() - Method in class cs015.SP.RoundEyes
 
StartAnimate() - Method in interface cs015.SP.SnowEyes
This method should start some sort of the animation of the eyes, like making them blink at regular intervals.
StartAnimate() - Method in interface cs015.SP.SnowMouth
Start the animation of mouth.
StickNose - class cs015.SP.StickNose.
Modified by Kalin Agrawal (kagrawal) to work with NGP 7/1/1999
StickNose() - Constructor for class cs015.SP.StickNose
Initializes the nose and makes it visible on the screen.
search() - Method in class cs015.PizzaDex.CommandHandler
 
search(PizzaData) - Method in interface cs015.PizzaDex.ListInterface
The Search method is used to find a particular entry in the linked list.
setCenterLocation(Point) - Method in class cs015.SketchySupport.BoundingBox
Change the location of the bounding box and its attached shape.
setCenterLocation(Point) - Method in class cs015.SketchySupport.PolygonShape
Set the location of this PolygonShape.
setCenterLocation(Point) - Method in interface cs015.SketchySupport.SketchyShape
Sets the current location of the center of the shape to the passed in value
setColor(CloudColor) - Method in class cs015.SP.CloudDrop
Change the color of a CloudDrop.
setDimension(Dimension) - Method in class cs015.SketchySupport.BoundingBox
Sets the dimension of the BoundingBox and its attached SketchyShape.
setDimension(Dimension) - Method in class cs015.SketchySupport.PolygonShape
Set the dimensions of this PolygonShape.
setFontSize(int) - Method in class cs015.SketchySupport.SketchyText
Change the size of the font of this text object to the specified value.
setLocation(Point) - Method in class cs015.SketchySupport.BoundingBox
Change the location of the bounding box and its attached shape.
setLocation(Point) - Method in class cs015.SketchySupport.Handle
 
setLocation(Point) - Method in class cs015.SketchySupport.SketchyText
Set the location of this text object.
setOffset(Point) - Method in class cs015.SketchySupport.Handle
 
setRotation(int) - Method in class cs015.SketchySupport.BoundingBox
Sets the bounding box and its attached shape's rotation.
setRotation(int) - Method in class cs015.SketchySupport.Handle
 
setRotation(int) - Method in class cs015.Swarm.Vector
This method will set the current rotation of the vector, or in other words, it will set the angle of the vector between it an the positive x axis without modifing the vector's velocity.
setTarget(Directional) - Method in class cs015.Swarm.BeeBehavior
Use this method to set the target that a BeeBehavior is acting on.
setThickness(float) - Method in class cs015.SketchySupport.FramedPolygonShape
Set the thickness of the lines used for drawing the outline of this shape
setVector(Vector) - Method in interface cs015.Swarm.Directional
This method is to be used to pass a cs015.Swarm.Vector to a Directional.
setVelocity(double) - Method in class cs015.Swarm.Vector
This method will set the current velocity of the vector, or in other words, it will set the length of the vector without changing the rotation (or direction) of the vector.
setWeight(int, int, int) - Method in class cs015.Othello.DefaultWeights
This allows you to edit the weights of individual spaces.
show() - Method in class cs015.SketchySupport.BoundingBox
Show the bounding box.
show() - Method in class cs015.SketchySupport.PolygonShape
Make the shape appear
showCurrent() - Method in class cs015.PizzaDex.CommandHandler
 
showFuzzyScreen() - Method in class cs015.SP.TV
Show the fuzzy screen.
showWorkingScreen() - Method in class cs015.SP.TV
Show the working screen.
start() - Method in class cs015.PizzaDex.UserInterface
Has control of the program.

T

TV - class cs015.SP.TV.
A TV has the capability of showing a working screen or a fuzzy screen.
TV(Point) - Constructor for class cs015.SP.TV
The constructor initializes the TV and positions it on the screen at position indicated by the parameter.

U

UserInterface - class cs015.PizzaDex.UserInterface.
Package PizzaDex
class UserInterface
UserInterface(ListInterface) - Constructor for class cs015.PizzaDex.UserInterface
 
update() - Method in class cs015.SP.RainDropShape
Causes the RainDropShape to fall a small amount down the screen.
update() - Method in class cs015.SketchySupport.Handle
 

V

Vector - class cs015.Swarm.Vector.
 
Vector() - Constructor for class cs015.Swarm.Vector
This constructor initializes the vector.
Vector(int, double) - Constructor for class cs015.Swarm.Vector
This constructor initializes the vector with given orientation and velocity.
vectorRotate(Point, Point) - Method in class cs015.SketchySupport.BoundingBox
This method takes two points, finds the angle between vectors from the center of the bounding box to each of the points, and then rotates the bounding box and its attached shape by this angle.

W

Wink() - Method in class cs015.SP.RoundEyes
Adds behavior to the right eye that makes it open and close.
Wink() - Method in interface cs015.SP.SnowEyes
This method will make one of the eyes close and open for a while.
WinkBehavior - class cs015.SP.WinkBehavior.
This class is a behavior that takes a generic eye and makes it blink.
WinkBehavior(Eye) - Constructor for class cs015.SP.WinkBehavior
Initializes the behavior with a given eye as the target.
writeDouble(double) - Method in class cs015.SketchySupport.FileIO
This method adds an entry to the end of the current file open for writing.
writeInt(int) - Method in class cs015.SketchySupport.FileIO
This method adds an entry to the end of the current file open for writing.
writeString(String) - Method in class cs015.SketchySupport.FileIO
This method writes the specified String to the file that is currently open for writing.

_

_bhv - Variable in class cs015.SP.RainDropShape
 
_panel - Static variable in class cs015.SP.Applet
Other cs015.SP classes should use this for creating themselves.
_panel - Static variable in class cs015.SP.Frame
Other cs015.SP classes should use this for creating themselves.
_shape - Variable in class cs015.SketchySupport.BoundingBox
 

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