lab3lib.faces
Class Mouth

java.lang.Object
  extended by cse115.graphics.AbstractGraphic
      extended by cse115.graphics.AbstractColorableGraphic
          extended by cse115.graphics.Ellipse
              extended by lab3lib.faces.Mouth
All Implemented Interfaces:
CenterLocatable, Colorable, ColorableGraphic, Graphic, Locatable, Rotatable, Sizeable

public class Mouth
extends Ellipse

A mouth for a face.

Author:
Adrienne M Decker Based on the mouth created by Carl Alphonce - ask him about the behaviors. Created on: Sep 16, 2006

Constructor Summary
Mouth(int delay, int minHeight, int maxHeight, Face face)
          Creates a new instance of Mouth
 
Method Summary
 void yawn()
          Cause the mouth to yawn
 
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

Mouth

public Mouth(int delay,
             int minHeight,
             int maxHeight,
             Face face)
Creates a new instance of Mouth

Parameters:
delay - How long to set the timer for
minHeight - Minimum height of the mouth
maxHeight - Maximum height of the mouth
face - The face the mouth belongs to
Method Detail

yawn

public void yawn()
Cause the mouth to yawn