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
BOTTOM, CENTER, controlCount, enabled, FILL, fm, font, height, LEFT, name, next, parent, PREFERRED, prev, RIGHT, TOP, 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, getAbsoluteRect, getFontMetrics, getNext, getParent, getPreferredHeight, getPreferredWidth, getRect, isEnabled, isVisible, onBoundsChanged, onEvent, onPaint, onWindowPaintFinished, postEvent, removeTimer, repaint, repaintNow, setEnabled, setFont, setRect, setRect, setVisible
 
Methods inherited from class java.lang.Object
hashCode, toString
 

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.