Class HoldButton

Class HoldButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----HoldButton

class HoldButton
extends Canvas

Constructor Index

 o HoldButton()
 o HoldButton(String)

Method Index

 o addNotify()
 o getLabel()
 o gotFocus(Event, Object)
 o lostFocus(Event, Object)
 o mouseDown(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o setLabel(String)

Constructors

 o HoldButton
  public HoldButton()
 o HoldButton
  public HoldButton(String label)

Methods

 o addNotify
  public void addNotify()
Overrides:
addNotify in class Canvas
 o getLabel
  public String getLabel()
 o setLabel
  public void setLabel(String label)
 o mouseDown
  public boolean mouseDown(Event e,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o mouseUp
  public boolean mouseUp(Event e,
                         int x,
                         int y)
Overrides:
mouseUp in class Component
 o gotFocus
  public boolean gotFocus(Event e,
                          Object what)
Overrides:
gotFocus in class Component
 o lostFocus
  public boolean lostFocus(Event e,
                           Object what)
Overrides:
lostFocus in class Component
 o paint
  public void paint(Graphics g)
Overrides:
paint in class Canvas