de.kawt
Class TabbedPane
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--de.kawt.TabbedPane
- All Implemented Interfaces:
- ImageObserver, ItemSelectable
- public class TabbedPane
- extends Panel
- implements ItemSelectable
| Methods inherited from class java.awt.Container |
add, add, add, addImpl, doLayout, findComponentAt, getComponent, getComponentCount, getComponents, getInsets, getLayout, getMinimumSize, isAncestorOf, isFocusTraversable, paintAll, paintComponents, remove, remove, removeAll, setLayout, update, validate |
| Methods inherited from class java.awt.Component |
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, contains, dispatchEvent, enableEvents, getBackground, getBounds, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getLocationOnScreen, getMaximumSize, getParent, getPreferredSize, getSize, getWidth, getX, getY, hasFocus, invalidate, isEnabled, isValid, isVisible, paint, processEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, repaint, repaint, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setLocation, setSize, setSize, setVisible |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabbedPane
public TabbedPane()
addItemListener
public void addItemListener(ItemListener l)
- Specified by:
addItemListener in interface ItemSelectable
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.
getSelectedObjects
public java.lang.Object[] getSelectedObjects()
- Sets the selected index for this tabbedpane and displays corresponding component.
- Specified by:
getSelectedObjects in interface ItemSelectable
setSelectedIndex
public void setSelectedIndex(int index)
removeItemListener
public void removeItemListener(ItemListener l)
- Specified by:
removeItemListener in interface ItemSelectable
removeTab
public void removeTab(int index)