kAWT Version 0.11

de.trantor.kawt
Class TabbedPane

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--de.trantor.kawt.TabbedPane

public class TabbedPane
extends Panel


Fields inherited from class java.awt.Container
insets
 
Constructor Summary
TabbedPane()
           
 
Method Summary
 void addItemListener(ItemListener l)
           
 void addTab(java.lang.String title, Component component)
          Adds a component represented by a title to this tabbedpane.
 int getSelectedIndex()
          Returns the currently selected index for this tabbedpane.
 void setSelectedIndex(int index)
          Sets the selected index for this tabbedpane and displays corresponding component.
 
Methods inherited from class java.awt.Container
add, add, findComponentAt, getComponent, getLayout, getMinimumSize, paintAll, paintComponents, remove, setLayout, update, validate
 
Methods inherited from class java.awt.Component
addKeyListener, addMouseListener, contains, getFont, getFontMetrics, getGraphics, getHeight, getLocationOnScreen, getPreferredSize, getWidth, getX, getY, invalidate, isEnabled, paint, processKeyEvent, processMouseEvent, proxyRequestFocus, repaint, repaint, requestFocus, setBackground, setBounds, setEnabled, setLocation, setSize, setSize, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabbedPane

public TabbedPane()
Method Detail

addItemListener

public void addItemListener(ItemListener l)

addTab

public void addTab(java.lang.String title,
                   Component component)
Adds a component represented by a title to this tabbedpane.

getSelectedIndex

public int getSelectedIndex()
Returns the currently selected index for this tabbedpane.

setSelectedIndex

public void setSelectedIndex(int index)
Sets the selected index for this tabbedpane and displays corresponding component.

kAWT Version 0.11