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

Constructor Index

 o PictureSwitch()
 o PictureSwitch(int)
 o PictureSwitch(int, int)

Method Index

 o drawPictureForState(Graphics, int)
 o getState()
 o mouseDown(Event, int, int)
 o paint(Graphics)
 o setState(int)

Constructors

 o PictureSwitch
  public PictureSwitch()
 o PictureSwitch
  public PictureSwitch(int numStates)
 o PictureSwitch
  public PictureSwitch(int numStates,
                       int state)

Methods

 o paint
  public void paint(Graphics g)
Overrides:
paint in class Canvas
 o mouseDown
  public boolean mouseDown(Event e,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o getState
  public int getState()
 o setState
  public void setState(int state)
 o drawPictureForState
  public abstract void drawPictureForState(Graphics g,
                                           int state)

All Packages  Class Hierarchy  This Package  Previous  Next  Index