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

S

setBehavior(IFishBehavior) - Method in class fishbowl.strategy.Fish
 
setCenterLocation(Point) - Method in class cse115.graphics.AbstractGraphic
Changes the center location of this graphic
setCenterLocation(Point) - Method in interface cse115.graphics.CenterLocatable
Sets the location of this graphic by putting the center of the Object at the specified point
setCoefficient(double) - Method in class physics.FrictionMotion
Sets the coefficient of friction
setCoefficient(double) - Method in class physics.IMotion
Override to do something useful
setColor(Color) - Method in class cse115.containers.Panel
sets the color of this panel
setColor(Color) - Method in class cse115.graphics.AbstractColorableGraphic
Sets the Color of this Graphic
setColor(Color) - Method in interface cse115.graphics.Colorable
Sets the Color of this Object
setColor(Color) - Method in class cse115.graphics.DrawingCanvas
Sets the Color of this DrawingCanvas
setColor(Color) - Method in class fishbowl.MovingBodyAdapter
Delegated to the shape.
setColor(Color) - Method in class lab3lib.faces.Face
Sets the color of the face.
setColor(Color) - Method in interface lab5lib.IMovingShape
 
setColor(Color) - Method in class lab5lib.Oval
 
setColor(Color) - Method in class lab5lib.Rectangle
 
setColor(Color) - Method in class lab5lib.Triangle
 
setContainer(IContainer) - Method in class cse115.graphics.AbstractGraphic
Sets the Container of this Graphic.
setContainer(IContainer) - Method in interface cse115.graphics.Graphic
This sets the container of this graphic
setCurrentButtonGroupTarget(IMovingShape) - Static method in class containers.Lab5Applet
 
setCurrentButtonGroupTarget(IMovingShape) - Method in class lab5lib.ButtonGroup
 
setDelay(int) - Method in class fishbowl.Animator
Set the delay between moving the balls.
setDimension(Dimension) - Method in class cse115.containers.Panel
Strictly sets the dimension of this panel to be the given dimension
setDimension(Dimension) - Method in class cse115.graphics.AbstractGraphic
Changes the Dimension of this Graphic
setDimension(Dimension) - Method in class cse115.graphics.CompoundGraphic
Sets the dimension of this compound, thus causing all the Graphics in the compound to be altered.
setDimension(Dimension) - Method in class cse115.graphics.DrawingCanvas
Sets the Dimension of this DrawingCanvas
setDimension(Dimension) - Method in class cse115.graphics.Polygon
Resizes the Polygon to a specific dimension.
setDimension(Dimension) - Method in interface cse115.graphics.Sizeable
Sets the Dimension of this Object
setDimension(Dimension) - Method in class fishbowl.MovingBodyAdapter
Delegated to the shape.
setDimension(Dimension) - Method in class lab3lib.faces.Eye
 
setDimension(Dimension) - Method in class lab3lib.faces.Face
Change the dimension of the face.
setDx(Integer) - Method in class cse115.utilities.Vector
Sets the change in the X direction of this Vector
setDX(double) - Method in class physics.FrictionMotion
Set the dx direction
setDX(int) - Method in class physics.FrictionMotion
Sets the DX direction
setDX(int) - Method in class physics.GravityMotion
Set the DX direction
setDX(int) - Method in class physics.IMotion
Should change the DX value
setDX(double) - Method in class physics.IMotion
Override to do something useful
setDX(int) - Method in class physics.NullMotion
 
setDX(int) - Method in class physics.StraightMotion
Sets the DX of the motion
setDy(Integer) - Method in class cse115.utilities.Vector
Sets the change in the Y direction of this Vector
setDY(double) - Method in class physics.FrictionMotion
Set the dy direction
setDY(int) - Method in class physics.FrictionMotion
Sets the DY direction
setDY(int) - Method in class physics.GravityMotion
Sets the DY direction
setDY(int) - Method in class physics.IMotion
Should change the DY value
setDY(double) - Method in class physics.IMotion
Override to do something useful
setDY(int) - Method in class physics.NullMotion
 
setDY(int) - Method in class physics.StraightMotion
Sets the DY of the motion
setEastWall(boolean) - Method in class physics.CollisionObject
Sets the EastWall boolean value Set true if it is the SouthWall, false otherwise
setFrameDelay(int) - Method in class fishbowl.MovingBodyAdapter
Sets the delay in milliseconds between calls to move().
setGravity(int) - Method in class physics.GravityMotion
 
setGravity(int) - Method in class physics.IMotion
Override to do something useful
setGroup(CollisionGroup) - Method in class physics.CollisionObject
Sets the CollisionGroup for this Object
setLine(LineFormula) - Method in class physics.CollisionObject
Describe setLine Sets the line for the Collision Object
setLocation(Point) - Method in class cse115.graphics.AbstractGraphic
Changes the location of this graphic
setLocation(Point) - Method in class cse115.graphics.DrawingCanvas
Sets the Location of this DrawingCanvas to a specified point.
setLocation(Point) - Method in interface cse115.graphics.Locatable
Sets the Location of this Object to be the specified point
setLocation(Point) - Method in class cse115.graphics.Polygon
Sets the location of the polygon.
setLocation(Point) - Method in class fishbowl.MovingBodyAdapter
Delegated to the shape.
setLocation(Point) - Method in class lab3lib.faces.Eye
 
setLocation(Point) - Method in class lab3lib.faces.Face
Change the location of the face.
setLocation(double, double) - Method in class physics.FrictionMotion
Sets the location of the object based on a double value for x and y
setLocation(double, double) - Method in class physics.IMotion
Override to do something useful
setMass(int) - Method in class physics.CollisionObject
Sets the mass of the object
setMenuBehavior(MenuBehavior) - Method in interface demos.polymorphism.MotionMenuItem
Sets the menu behavior for the menu item.
setMotion(IMotion) - Method in class physics.CollisionObject
Changes the motion for the object and starts the motion's timer
setNorthWall(boolean) - Method in class physics.CollisionObject
Sets the NorthWall boolean value Set true if it is the SouthWall, false otherwise
setRotation(Integer) - Method in class cse115.graphics.AbstractGraphic
Changes the rotation of this graphic.
setRotation(Integer) - Method in interface cse115.graphics.Rotatable
Sets the Rotation of the Object to be a certain degree.
setRotation(int) - Method in class fishbowl.MovingBodyAdapter
Delegated to the shape.
setShape(Graphic) - Method in class physics.CollisionObject
Sets the shape for this collision object
setSize(Integer) - Method in class fishbowl.Fish
Sets the size of the Fish.
setSouthWall(boolean) - Method in class physics.CollisionObject
Sets the SouthWall boolean value Set true if it is the SouthWall, false otherwise
setText(String) - Method in interface demos.polymorphism.MotionMenuItem
Set the text of the menu item.
setTimer(MotionTimer) - Method in class physics.StraightMotion
Sets the MotionTimer for this motion
setVector(Vector) - Method in class fishbowl.Fish
 
setVector(Vector) - Method in interface fishbowl.MovingBody
This method is to be used to pass a Vector to a MovingBody.
setVector(Vector) - Method in class fishbowl.MovingBodyAdapter
Change the vector motion of this MovingBody
setVelocity(int, int, int) - Method in class physics.FrictionMotion
Sets the velocity of the motion based on a dx, dy, and speed
setVelocity(int, int, int) - Method in class physics.GravityMotion
Sets the velocity of the motion
setVelocity(int, int, int) - Method in class physics.IMotion
Set the velocity of this motion
setVelocity(int, int, int) - Method in class physics.NullMotion
 
setVelocity(int, int, int) - Method in class physics.StraightMotion
Sets the velocity of the motion
setWall(boolean) - Method in class physics.CollisionObject
Set the boolean value describing if the object is a wall
setWestWall(boolean) - Method in class physics.CollisionObject
Sets the WestWall boolean value Set true if it is the SouthWall, false otherwise
Shape - Interface in fishbowl
Normal users can ignore this interface. An entity that implements all of NGP.Graphic, NGP.Locatable, NGP.Sizeable, and NGP.Colorable.
show() - Method in class fishbowl.MovingBodyAdapter
Delegated to the shape.
SineMaker - Class in fishbowl
This class is used to create a sine wave oscillation of an integer value between specified minimum and maximum values.
SineMaker(Integer, Integer, Double) - Constructor for class fishbowl.SineMaker
The constructor for SineMaker.
SingleFishBehaviorMenuObserver - Interface in fishbowl.strategy
Methods called auto-magically when the user clicks an option from the Single Fish behavior menu of Applet.
singleton() - Static method in class fishbowl.Animator
Get the Animator.
SINGLETON - Static variable in class lab3lib.faces.NullFaceBehavior
The Singleton for the Null Behavior
Sizeable - Interface in cse115.graphics
The interface that defines the capabilties for an object that can have its Dimension accessed/mutated
slowDown() - Method in interface lab5lib.IMovingShape
 
slowDown() - Method in class lab5lib.Oval
 
slowDown() - Method in class lab5lib.Rectangle
 
slowDown() - Method in class lab5lib.Triangle
 
solveX() - Method in class physics.FormulaSolver
Solves for the X value of where the two lines intersect
solveY() - Method in class physics.FormulaSolver
Solves for the Y value of where the two lines intersect
speedUp() - Method in interface lab5lib.IMovingShape
 
speedUp() - Method in class lab5lib.Oval
 
speedUp() - Method in class lab5lib.Rectangle
 
speedUp() - Method in class lab5lib.Triangle
 
SQUARE_SIZE - Static variable in interface cse115.IBoardConstants
This is the size that a square should be when using the Position class
stain(Color) - Method in interface lab4lib.ICell
Stains the slide that the cell is on so that we can see it better.
stain(Color) - Method in class lab4lib.UnidentifiedCellA
 
stain(Color) - Method in class lab4lib.UnidentifiedCellB
 
stain(Color) - Method in class lab4lib.UnidentifiedCellC
 
start() - Method in class fishbowl.Animator
Start animation.
start() - Method in class physics.FrictionMotion
Starts the MotionTimer for this motion
start() - Method in class physics.GravityMotion
Starts the MotionTimer for this motion
start() - Method in class physics.IMotion
Should start the timer of this motion
start() - Method in class physics.NullMotion
 
start() - Method in class physics.StraightMotion
Starts the MotionTimer for this motion
startBouncing() - Method in class demos.bounce.BouncingBall
Method to be called when the user wants the ball to start bouncing.
startBouncing() - Method in class demos.bounce.BouncingSquare
Method to be called when the user wants the square to start bouncing.
startBouncing() - Method in class fishbowl.MovingBodyAdapter
Start (global) bouncing behavior.
stillCollide(CollisionObject) - Method in class physics.FrictionMotion
Checks to see if the object that has this motion, and the param are still colliding, and if so moves them apart
stillCollide(CollisionObject) - Method in class physics.StraightMotion
Check to see if the object with this motion and col are still colliding and if so move them apart
stop() - Method in class fishbowl.Animator
Stop animating.
stop() - Method in class physics.FrictionMotion
Stops the MotionTimer for this object
stop() - Method in class physics.GravityMotion
Stops the MotionTimer for this object
stop() - Method in class physics.IMotion
Should stop the timer of this motion
stop() - Method in class physics.NullMotion
 
stop() - Method in class physics.StraightMotion
Stops the MotionTimer for this object
stopBouncing() - Method in class demos.bounce.BouncingBall
Method to be called when user wants the ball to stop bouncing.
stopBouncing() - Method in class demos.bounce.BouncingSquare
Method to be called when user wants the square to stop bouncing.
stopBouncing() - Method in class fishbowl.MovingBodyAdapter
Stop (global) bouncing behavior.
StraightMotion - Class in physics
StraightMotion.java Created: Sat Sep 18 20:30:34 2004
StraightMotion(CollisionObject) - Constructor for class physics.StraightMotion
Creates a new StraightMotion instance.
surprise() - Method in class lab3lib.faces.Face
Tell the face to look surprised.
SurprisedFaceBehavior - Class in lab3lib.faces
The behavior for a face to be surprised.
SurprisedFaceBehavior() - Constructor for class lab3lib.faces.SurprisedFaceBehavior
 
surpriseSelected() - Method in interface fishbowl.strategy.SingleFishBehaviorMenuObserver
The surprise fish radio button was selected.
switchMomentum(double, CollisionObject) - Method in class physics.FrictionMotion
Switchs the momentum of the the object with this motion and col
switchMomentum(double, CollisionObject) - Method in class physics.IMotion
Override to do something useful

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