public interface UITabComponent
限定符和类型 | 方法和说明 |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Adds a
ChangeListener to the listener list. |
int |
getSelectedIndex()
获取当前选中的tab
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
removes a
ChangeListener from the listener list. |
void |
setSelectedIndex(int newSelectedIndex)
设置选中的tab
|
int getSelectedIndex()
void setSelectedIndex(int newSelectedIndex)
newSelectedIndex
- void addChangeListener(javax.swing.event.ChangeListener l)
ChangeListener
to the listener list.void removeChangeListener(javax.swing.event.ChangeListener l)
ChangeListener
from the listener list.