|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cse115.graphics.AbstractGraphic cse115.graphics.AbstractColorableGraphic cse115.graphics.Ellipse lab3lib.faces.Mouth
public class Mouth
A mouth for a face.
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 |
---|
public Mouth(int delay, int minHeight, int maxHeight, Face face)
delay
- How long to set the timer forminHeight
- Minimum height of the mouthmaxHeight
- Maximum height of the mouthface
- The face the mouth belongs toMethod Detail |
---|
public void yawn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |