Class dnx.awtutil.PictureSwitch
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.awtutil.PictureSwitch
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----dnx.awtutil.HelpEchoCanvas
|
+----dnx.awtutil.PictureSwitch
- public class PictureSwitch
- extends HelpEchoCanvas
-
PictureSwitch()
-
-
PictureSwitch(int)
-
-
PictureSwitch(int, int)
-
-
drawPictureForState(Graphics, int)
-
-
getState()
-
-
mouseDown(Event, int, int)
-
-
paint(Graphics)
-
-
setState(int)
-
PictureSwitch
public PictureSwitch()
PictureSwitch
public PictureSwitch(int numStates)
PictureSwitch
public PictureSwitch(int numStates,
int state)
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
mouseDown
public boolean mouseDown(Event e,
int x,
int y)
- Overrides:
- mouseDown in class Component
getState
public int getState()
setState
public void setState(int state)
drawPictureForState
public abstract void drawPictureForState(Graphics g,
int state)
All Packages Class Hierarchy This Package Previous Next Index