lab5lib
Class Oval

java.lang.Object
  extended by cse115.graphics.AbstractGraphic
      extended by cse115.graphics.AbstractColorableGraphic
          extended by cse115.graphics.Ellipse
              extended by lab5lib.Oval
All Implemented Interfaces:
CenterLocatable, Colorable, ColorableGraphic, Graphic, Locatable, Rotatable, Sizeable, IMovingShape

public class Oval
extends Ellipse
implements IMovingShape


Constructor Summary
Oval()
          Creates a new instance of Oval, placing it on the next available DrawingCanvas (left or right)
 
Method Summary
 void setColor(Color color)
           
 void slowDown()
           
 void speedUp()
           
 
Methods inherited from class cse115.graphics.Ellipse
actualPaint, getShape
 
Methods inherited from class cse115.graphics.AbstractColorableGraphic
getColor, paint, setColor
 
Methods inherited from class cse115.graphics.AbstractGraphic
addMouseListener, addMouseMotionListener, contains, getBounds, getCenterLocation, getContainer, getDimension, getLocation, getMouseListeners, getMouseMotionListeners, getRotation, intersects, move, rotate, setCenterLocation, setContainer, setDimension, setLocation, setRotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cse115.graphics.Graphic
addMouseListener, addMouseMotionListener, contains, getBounds, getMouseListeners, getMouseMotionListeners, intersects, setContainer
 
Methods inherited from interface cse115.graphics.Sizeable
getDimension, setDimension
 
Methods inherited from interface cse115.graphics.CenterLocatable
getCenterLocation, setCenterLocation
 
Methods inherited from interface cse115.graphics.Locatable
getLocation, move, setLocation
 
Methods inherited from interface cse115.graphics.Rotatable
getRotation, rotate, setRotation
 

Constructor Detail

Oval

public Oval()
Creates a new instance of Oval, placing it on the next available DrawingCanvas (left or right)

Method Detail

setColor

public void setColor(Color color)
Specified by:
setColor in interface IMovingShape
Parameters:
color -
See Also:
IMovingShape.setColor(cse115.graphics.colors.Color)

slowDown

public void slowDown()
Specified by:
slowDown in interface IMovingShape
See Also:
IMovingShape.slowDown()

speedUp

public void speedUp()
Specified by:
speedUp in interface IMovingShape
See Also:
IMovingShape.speedUp()