lab2lib
Class BouncingBall

java.lang.Object
  extended by graphics.AbstractGraphic
      extended by graphics.AbstractColorableGraphic
          extended by graphics.Ellipse
              extended by lab2lib.BouncingBall
All Implemented Interfaces:
CenterLocatable, IColorable, IColorableGraphic, IGraphic, ILocatable, IRotatable, ISizeable

public class BouncingBall
extends Ellipse


Constructor Summary
BouncingBall()
          Creates a new instance of BetterBouncingBouncyShape
 
Method Summary
 void startBouncing()
          Method to be called when the user wants the BouncyShape to start bouncing.
 void stopBouncing()
          Method to be called when user wants the BouncyShape to stop bouncing.
 
Methods inherited from class graphics.Ellipse
actualPaint, getShape
 
Methods inherited from class graphics.AbstractColorableGraphic
getColor, paint, setColor
 
Methods inherited from class graphics.AbstractGraphic
addMouseListener, addMouseMotionListener, contains, getBounds, getCenterLocation, getContainer, getDimension, getLocation, getMouseListeners, getMouseMotionListeners, getMovement, getRotation, intersects, move, rotate, setCenterLocation, setContainer, setDimension, setLocation, setMovement, setRotation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface graphics.IGraphic
addMouseListener, addMouseMotionListener, contains, getBounds, getContainer, getMouseListeners, getMouseMotionListeners, getMovement, intersects, setContainer, setMovement
 
Methods inherited from interface graphics.ISizeable
getDimension, setDimension
 
Methods inherited from interface graphics.CenterLocatable
getCenterLocation, setCenterLocation
 
Methods inherited from interface graphics.ILocatable
getLocation, move, setLocation
 
Methods inherited from interface graphics.IRotatable
getRotation, rotate, setRotation
 

Constructor Detail

BouncingBall

public BouncingBall()
Creates a new instance of BetterBouncingBouncyShape

Method Detail

stopBouncing

public void stopBouncing()
Method to be called when user wants the BouncyShape to stop bouncing.


startBouncing

public void startBouncing()
Method to be called when the user wants the BouncyShape to start bouncing.