|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCSE115.Faces.YawningFace
public class YawningFace
| Constructor Summary | |
|---|---|
YawningFace()
|
|
| Method Summary | |
|---|---|
void |
closeEyes()
|
Dimension |
getDimension()
Get the dimensions of this Sizeable. |
Point |
getLocation()
Get the location of this Locatable |
void |
openEyes()
|
void |
setDimension(Dimension d)
Set the dimensions of this Sizeable. |
void |
setLocation(Point p)
Set the location of this Locatable to the passed
in Point. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YawningFace()
| Method Detail |
|---|
public void setLocation(Point p)
NGP.LocatableLocatable to the passed
in Point.
setLocation in interface FacesetLocation in interface Locatablep - the new Point for this LocatablegetLocationpublic Point getLocation()
NGP.LocatableLocatable.
- Specified by:
getLocation in interface Face- Specified by:
getLocation in interface Locatable
- Returns:
- the
Point for this Locatable - See Also:
setLocation
public void setDimension(Dimension d)
NGP.SizeableSizeable.
setDimension in interface FacesetDimension in interface Sizeabled - the user-preferred Dimension of this
SizeablegetDimensionpublic Dimension getDimension()
NGP.SizeableSizeable.
getDimension in interface FacegetDimension in interface SizeableDimension of this SizeablesetDimensionpublic void closeEyes()
closeEyes in interface Facepublic void openEyes()
openEyes in interface Face
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||