|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCSE115.Faces.SurprisedFace
public class SurprisedFace
Constructor Summary | |
---|---|
SurprisedFace()
|
Method Summary | |
---|---|
void |
closeEyes()
|
void |
createLashes()
|
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 SurprisedFace()
Method Detail |
---|
public void createLashes()
public void closeEyes()
closeEyes
in interface Face
public void openEyes()
openEyes
in interface Face
public void setLocation(Point p)
NGP.Locatable
Locatable
to the passed
in Point
.
setLocation
in interface Face
setLocation
in interface Locatable
p
- the new Point
for this Locatable
getLocation
public Point getLocation()
NGP.Locatable
Locatable.
- 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.Sizeable
Sizeable
.
setDimension
in interface Face
setDimension
in interface Sizeable
d
- the user-preferred Dimension
of this
Sizeable
getDimension
public Dimension getDimension()
NGP.Sizeable
Sizeable
.
getDimension
in interface Face
getDimension
in interface Sizeable
Dimension
of this Sizeable
setDimension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |