CSE115.Light
Class SkeletalPushButton
java.lang.Object
NGP.Graphics.Shape
NGP.Graphics.RectangularShape
NGP.Graphics.FilledRectangularShape
NGP.Graphics.FilledRectangle
CSE115.Light.SkeletalPushButton
- All Implemented Interfaces:
- Colorable, EventListener, Graphic, Locatable, MouseListener, MouseMotionListener, Reactor, Rotatable, Sizeable
- Direct Known Subclasses:
- PushButton
- public class SkeletalPushButton
- extends FilledRectangle
A power button knows how to position itself on the screen. It
has a react method which currently does nothing.
- Author:
- Matt Chotin (mhc)
modified (slightly) by Carl Alphonce
(alphonce) July 2001
|
Method Summary |
void |
react()
This currently does nothing. |
| 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 |
SkeletalPushButton
public SkeletalPushButton(Point pos)
- Create and position the power button
react
public void react()
- This currently does nothing. A subclass should override it to do
something useful.