wabadma.ui
Class ButtonLabel

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Label
              |
              +--wabadma.ui.ButtonLabel

public class ButtonLabel
extends waba.ui.Label

A waba label control extended to provide a ControlEvent.PRESSED if it is clicked on.

Version:
0.1, 2000 Nov 21 - initial version
Author:
David M. Archer

Fields inherited from class waba.ui.Label
CENTER, LEFT, RIGHT
 
Fields inherited from class waba.ui.Control
height, next, parent, prev, width, x, y
 
Constructor Summary
ButtonLabel(java.lang.String s)
           
 
Method Summary
 void onEvent(waba.ui.Event e)
           
 
Methods inherited from class waba.ui.Label
getText, onPaint, setText
 
Methods inherited from class waba.ui.Control
addTimer, contains, createGraphics, getFontMetrics, getNext, getParent, getRect, postEvent, removeTimer, repaint, setRect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonLabel

public ButtonLabel(java.lang.String s)
Method Detail

onEvent

public void onEvent(waba.ui.Event e)
Overrides:
onEvent in class waba.ui.Control