CSE115.Faces
Class Eye
java.lang.Object
NGP.Graphics.Shape
NGP.Graphics.RectangularShape
NGP.Graphics.FilledRectangularShape
NGP.Graphics.FilledEllipse
CSE115.Faces.Eye
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, EventListener, Colorable, Graphic, Locatable, Reactor, Rotatable, Sizeable
public class Eye
- extends FilledEllipse
Methods inherited from class NGP.Graphics.Shape |
contains, drag, getBounds, getCenterLocation, getColor, getDrawingPanel, getRotation, hide, intersects, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, react, setColor, setDrawingPanel, setRotation, show |
Eye
public Eye(DrawingPanel dp)
close
public void close()
makeNormal
public void makeNormal()
makeLarge
public void makeLarge()
createLashes
public void createLashes()
setDimension
public void setDimension(Dimension d)
- Description copied from class:
NGP.Graphics.RectangularShape
- Set the dimensions of this RectangularShape.
- Specified by:
setDimension
in interface Sizeable
- Overrides:
setDimension
in class RectangularShape
- Parameters:
d
- the new Dimension
of this RectangularShape- See Also:
getDimension
setLocation
public void setLocation(Point p)
- Description copied from class:
NGP.Graphics.RectangularShape
- Set the location of this RectangularShape
- Specified by:
setLocation
in interface Locatable
- Overrides:
setLocation
in class RectangularShape
- Parameters:
p
- the new Point
for this RectangularShape- See Also:
getLocation
open
public void open()
openWide
public void openWide()
roll
public void roll(int increment)