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

S

setCenterLocation(Point) - Method in class graphics.AbstractGraphic
Changes the center location of this graphic
setCenterLocation(Point) - Method in interface 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 containers.Panel
sets the color of this panel
setColor(Color) - Method in class demos.bounce.BouncingBall
 
setColor(Color) - Method in class demos.bounce.BouncingSquare
 
setColor(Color) - Method in class demos.bounce.BouncingTriangle
 
setColor(Color) - Method in class graphics.AbstractColorableGraphic
Sets the Color of this Graphic
setColor(Color) - Method in interface graphics.IColorable
Sets the Color of this Object
setContainer(IContainer) - Method in class graphics.AbstractGraphic
Sets the Container of this Graphic.
setContainer(IContainer) - Method in interface graphics.IGraphic
This sets the container of this graphic
setDimension(Dimension) - Method in class containers.Panel
Strictly sets the dimension of this panel to be the given dimension
setDimension(Dimension) - Method in class demos.bounce.BouncingBall
 
setDimension(Dimension) - Method in class demos.bounce.BouncingSquare
 
setDimension(Dimension) - Method in class demos.bounce.BouncingTriangle
 
setDimension(Dimension) - Method in class graphics.AbstractGraphic
Changes the Dimension of this Graphic
setDimension(Dimension) - Method in class graphics.CompoundGraphic
Sets the dimension of this compound, thus causing all the Graphics in the compound to be altered.
setDimension(Dimension) - Method in interface graphics.ISizeable
Sets the Dimension of this Object
setDimension(Dimension) - Method in class graphics.Polygon
Resizes the Polygon to a specified dimension.
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
setDx(Integer) - Method in class utilities.Vector
Sets the change in the X 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
setDy(Integer) - Method in class utilities.Vector
Sets the change in the Y direction of this Vector
setEastWall(boolean) - Method in class physics.CollisionObject
Sets the EastWall boolean value Set true if it is the SouthWall, false otherwise
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 graphics.AbstractGraphic
Changes the location of this graphic
setLocation(Point) - Method in class graphics.DrawingCanvas
Sets the Location of this DrawingCanvas to a specified point.
setLocation(Point) - Method in interface graphics.ILocatable
Sets the Location of this Object to be the specified point
setLocation(Point) - Method in class graphics.Polygon
Sets the upper left hand corner of the polygon's bounding box.
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
setMovement(IGraphicMovement) - Method in class graphics.AbstractGraphic
Changes how the graphic moves
setMovement(IGraphicMovement) - Method in interface graphics.IGraphic
Sets the movement of the Graphic.
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 graphics.AbstractGraphic
Changes the rotation of this graphic.
setRotation(Integer) - Method in interface graphics.IRotatable
Sets the Rotation of the Object to be a certain degree.
setShape(IGraphic) - Method in class physics.CollisionObject
Sets the shape for this collision object
setSouthWall(boolean) - Method in class physics.CollisionObject
Sets the SouthWall boolean value Set true if it is the SouthWall, false otherwise
setSpeed(Integer) - Method in class demos.bounce.BouncingBall
Sets the speed of the movement.
setSpeed(Integer) - Method in class demos.bounce.BouncingSquare
Sets the speed of the movement.
setSpeed(Integer) - Method in class demos.bounce.BouncingTriangle
Sets the speed of the movement.
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
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
SineMaker - Class in utilities
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 utilities.SineMaker
The constructor for SineMaker.
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
Sound - Class in utilities
Provides a way to play a sound through the computer's default sound hardware.
Sound(String) - Constructor for class utilities.Sound
Create a Sound that will play the given file
Sound(URL) - Constructor for class utilities.Sound
Create a Sound from the given URL
SQUARE_SIZE - Static variable in interface utilities.IBoardConstants
This is the size that a square should be when using the Position class
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 BouncyShape to start bouncing.
startBouncing() - Method in class demos.bounce.BouncingSquare
Method to be called when the user wants the BouncyShape to start bouncing.
startBouncing() - Method in class demos.bounce.BouncingTriangle
Method to be called when the user wants the BouncyShape to start bouncing.
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 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
stop() - Method in class utilities.Sound
Stops playing this sound
stopBouncing() - Method in class demos.bounce.BouncingBall
Method to be called when user wants the BouncyShape to stop bouncing.
stopBouncing() - Method in class demos.bounce.BouncingSquare
Method to be called when user wants the BouncyShape to stop bouncing.
stopBouncing() - Method in class demos.bounce.BouncingTriangle
Method to be called when user wants the BouncyShape to stop bouncing.
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.
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