waba.ui
Class Tab

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Tab

public class Tab
extends Control

Tab controls appear as tabs in a TabBar control. Refer to the documentation on the TabBar control for examples showing how to use this class.


Field Summary
protected  java.lang.String text
           
 
Fields inherited from class waba.ui.Control
height, next, parent, prev, width, x, y
 
Constructor Summary
Tab(java.lang.String text)
          Creates a tab that contains the given text.
 
Methods inherited from class waba.ui.Control
addTimer, contains, createGraphics, getFontMetrics, getNext, getParent, getRect, onEvent, onPaint, postEvent, removeTimer, repaint, setRect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected java.lang.String text
Constructor Detail

Tab

public Tab(java.lang.String text)
Creates a tab that contains the given text.