de.kawt
Class TabbedPane
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--de.kawt.TabbedPane
- public class TabbedPane
- extends Panel
- implements ItemSelectable
Methods inherited from class java.awt.Container |
add,
add,
add,
doLayout,
findComponentAt,
getComponent,
getLayout,
getMinimumSize,
isAncestorOf,
paintAll,
paintComponents,
remove,
setLayout,
update,
validate |
Methods inherited from class java.awt.Component |
addKeyListener,
addMouseListener,
contains,
getFont,
getFontMetrics,
getGraphics,
getHeight,
getLocationOnScreen,
getParent,
getPreferredSize,
getSize,
getWidth,
getX,
getY,
invalidate,
isEnabled,
isVisible,
paint,
processKeyEvent,
processMouseEvent,
proxyRequestFocus,
repaint,
repaint,
requestFocus,
setBackground,
setBounds,
setEnabled,
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)