public class SwingWatchTabbedPane extends SwingWatchComponent implements net.richarddawkins.watchmaker.component.WatchTabbedPane
Constructor and Description |
---|
SwingWatchTabbedPane() |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(java.lang.Object listener) |
void |
addTab(java.lang.String name,
java.lang.Object icon,
net.richarddawkins.watchmaker.component.WatchComponent newTab,
java.lang.String toolTip) |
java.lang.Object |
getComponentAt(int selectedIndex) |
int |
getSelectedIndex() |
int |
getTabCount() |
int |
indexOfTab(java.lang.String tabName) |
void |
removeTabAt(int index) |
void |
setSelectedIndex(int i) |
void |
setTabComponentAt(int i,
net.richarddawkins.watchmaker.component.WatchComponent tabComponent) |
add, add, getComponent, removeAll, repaint, setBorder, setLayout, setOpaque
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public java.lang.Object getComponentAt(int selectedIndex)
public void addChangeListener(java.lang.Object listener)
addChangeListener
in interface net.richarddawkins.watchmaker.component.WatchTabbedPane
public void setSelectedIndex(int i)
setSelectedIndex
in interface net.richarddawkins.watchmaker.component.WatchTabbedPane
public void setTabComponentAt(int i, net.richarddawkins.watchmaker.component.WatchComponent tabComponent)
setTabComponentAt
in interface net.richarddawkins.watchmaker.component.WatchTabbedPane
public void removeTabAt(int index)
public int indexOfTab(java.lang.String tabName)
public void addTab(java.lang.String name, java.lang.Object icon, net.richarddawkins.watchmaker.component.WatchComponent newTab, java.lang.String toolTip)
addTab
in interface net.richarddawkins.watchmaker.component.WatchTabbedPane
public int getTabCount()
getTabCount
in interface net.richarddawkins.watchmaker.component.WatchTabbedPane
public int getSelectedIndex()
getSelectedIndex
in interface net.richarddawkins.watchmaker.component.WatchTabbedPane