|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNGP.Graphics.Shape
NGP.Graphics.RectangularShape
NGP.Graphics.FilledRectangularShape
NGP.Graphics.FilledEllipse
cs015.SP.PowerButton
A power button knows how to position itself on the screen. It
has a react
method which currently does nothing.
Field Summary |
Fields inherited from class NGP.Graphics.Shape |
_awtShape, _dpanel |
Fields inherited from interface NGP.Colorable |
DEFAULT_GRAY |
Constructor Summary | |
PowerButton(java.awt.Point pos)
Create and position the power button |
Method Summary | |
void |
react()
This currently does nothing. |
Methods inherited from class NGP.Graphics.FilledRectangularShape |
actualPaint |
Methods inherited from class NGP.Graphics.RectangularShape |
getDimension, getLocation, setCenterLocation, setDimension, setLocation, unwrap, wrap |
Methods inherited from class NGP.Graphics.Shape |
contains, drag, getBounds, getCenterLocation, getColor, getDrawingPanel, getRotation, hide, intersects, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, setColor, setDrawingPanel, setRotation, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PowerButton(java.awt.Point pos)
Method Detail |
public void react()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |