Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
Y
S
setBackgroundColor(Color)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Set the color of the background.
setBehavior(Behavior)
- Method in class CSE115.ShapeWorld.
MutableShape
setCenterLocation(Point)
- Method in interface CSE115.ShapeWorld.
Graphic
setCenterLocation(Point)
- Method in class CSE115.ShapeWorld.
MutableShape
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.FishBowl.
MovingBodyAdapter
Delegated to the shape.
setColor(Color)
- Method in interface CSE115.ShapeWorld.
Graphic
setColor(Color)
- Method in class CSE115.ShapeWorld.
MutableShape
setColorDialog(ColorDialog)
- Method in class Demos.Inheritance.
Applet
setColorDialog(ColorDialog)
- Method in class Demos.Inheritance.
ColorMenuItem
setDelay(int)
- Method in class CSE115.FishBowl.
Animator
Set the delay between moving the balls.
setDelay(int)
- Method in class CSE115.ShapeWorld.
ShapeAnimator
Set the delay between moving the shapes.
setDimension(Dimension)
- Method in class CSE115.Faces.
Eye
setDimension(Dimension)
- Method in interface CSE115.Faces.
Face
setDimension(Dimension)
- Method in class CSE115.Faces.
RollingEyes
setDimension(Dimension)
- Method in class CSE115.Faces.
SurprisedFace
setDimension(Dimension)
- Method in class CSE115.Faces.
YawningFace
setDimension(Dimension)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Delegated to the shape.
setDimension(Dimension)
- Method in interface CSE115.ShapeWorld.
Graphic
setDimension(Dimension)
- Method in class CSE115.ShapeWorld.
MutableShape
setDrawingPanel(DrawingPanel)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Delegated to the shape.
setDrawingPanel(DrawingPanel)
- Method in interface CSE115.ShapeWorld.
Graphic
setDrawingPanel(DrawingPanel)
- Method in class CSE115.ShapeWorld.
MutableShape
setDX(double)
- Method in class Physics.
FrictionMotion
Set the dx direction
setDX(int)
- Method in class Physics.
FrictionMotion
setDX(int)
- Method in class Physics.
GravityMotion
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(double)
- Method in class Physics.
FrictionMotion
Set the dy direction
setDY(int)
- Method in class Physics.
FrictionMotion
setDY(int)
- Method in class Physics.
GravityMotion
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
setEllasticity(int)
- Method in class Physics.
CollisionObject
Set the Ellasticity
setFrameDelay(int)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Sets the delay in milliseconds between calls to move().
setGraphic(Graphic)
- Method in class CSE115.ShapeWorld.
MutableShape
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.Faces.
Eye
setLocation(Point)
- Method in interface CSE115.Faces.
Face
setLocation(Point)
- Method in class CSE115.Faces.
RollingEyes
setLocation(Point)
- Method in class CSE115.Faces.
SurprisedFace
setLocation(Point)
- Method in class CSE115.Faces.
YawningFace
setLocation(Point)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Delegated to the shape.
setLocation(Point)
- Method in interface CSE115.ShapeWorld.
Graphic
setLocation(Point)
- Method in class CSE115.ShapeWorld.
MutableShape
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
setMutableShapeDrawingPanel(DrawingPanel)
- Method in class CSE115.ShapeWorld.
MutableShape
setNorthWall(boolean)
- Method in class Physics.
CollisionObject
Sets the NorthWall boolean value Set true if it is the SouthWall, false otherwise
setRotation(int)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Delegated to the shape.
setRotation(int)
- Method in interface CSE115.ShapeWorld.
Graphic
setRotation(int)
- Method in class CSE115.ShapeWorld.
MutableShape
setShape(RectangularShape)
- Method in class Physics.
CollisionObject
Sets the shape for this collision object
setSize(int)
- Method in class CSE115.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
setVelocity(int, int)
- Method in interface CSE115.FishBowl.
MovingBody
Sets the horizontal and vertical velocity.
setVelocity(int, int)
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Sets the velocity, in the x and y directions of the ball.
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
CSE115.FishBowl
Normal users can ignore this interface.
An entity that implements all of NGP.Graphic, NGP.Locatable, and NGP.Sizeable.
Shape
- Interface in
CSE115.ShapeWorld
An interface for those things controllable by the Animator and Dispatcher.
ShapeAnimator
- Class in
CSE115.ShapeWorld
Tells balls when to move.
show()
- Method in class CSE115.FishBowl.
MovingBodyAdapter
Delegated to the shape.
SineMaker
- Class in
CSE115.FishBowl
This class is used to create a sine wave oscillation of an integer value between specified minimum and maximum values.
SineMaker(int, int, double)
- Constructor for class CSE115.FishBowl.
SineMaker
The constructor for SineMaker.
SineMaker
- Class in
CSE115.ShapeWorld
This class is used to create a sine wave oscillation of an integer value between specified minimum and maximum values.
SineMaker(int, int, double)
- Constructor for class CSE115.ShapeWorld.
SineMaker
The constructor for SineMaker.
SingleFishBehaviorMenuObserver
- Interface in
CSE115.FishBowl.Strategy
Methods called
auto-magically
when the user clicks an option from the
Single Fish
behavior menu of Applet.
SingleImageBehaviorMenuObserver
- Interface in
CSE115.FishBowl.Strategy
Methods called
auto-magically
when the user clicks an option from the
Single Image
behavior menu of Applet.
singleton()
- Static method in class CSE115.FishBowl.
Animator
Get the Animator.
singleton()
- Static method in class CSE115.ShapeWorld.
ShapeAnimator
Get the ShapeAnimator.
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
spinningDeselected()
- Method in interface CSE115.FishBowl.Strategy.
MultiImageBehaviorMenuObserver
The spinning head radio button was deselected.
spinningSelected()
- Method in interface CSE115.FishBowl.Strategy.
MultiImageBehaviorMenuObserver
The spinning head radio button was selected.
spinningSelected()
- Method in interface CSE115.FishBowl.Strategy.
SingleImageBehaviorMenuObserver
The spinning head radio button was selected.
SQUARE_SIZE
- Static variable in interface CSE115.
BoardConstants
SquareGraphic
- Class in
CSE115.ShapeWorld
A square that moves when told to.
SquareGraphic(DrawingPanel)
- Constructor for class CSE115.ShapeWorld.
SquareGraphic
Creates a new
SquareGraphic
instance.
start()
- Method in class CSE115.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 CSE115.FishBowl.
MovingBodyAdapter
Start (global) bouncing behavior.
startBouncing()
- Method in class Demos.Polymorphism.
BouncingBall
Method to be called when the user wants the ball 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 CSE115.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 CSE115.FishBowl.
MovingBodyAdapter
Stop (global) bouncing behavior.
stopBouncing()
- Method in class Demos.Polymorphism.
BouncingBall
Method to be called when user wants the ball 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.
SurprisedFace
- Class in
CSE115.Faces
SurprisedFace()
- Constructor for class CSE115.Faces.
SurprisedFace
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
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
Y