public interface JTabbedPaneClosable extends Component
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener onChangeTab) |
void |
addCloseTabListener(java.awt.event.ActionListener remove) |
void |
addTab(java.lang.String title,
java.awt.Component component) |
javax.swing.JTabbedPane |
asJComponent()
Returns this component as a swing
JComponent . |
java.awt.event.ActionListener[] |
getCloseTabListeners() |
java.awt.Component |
getComponentAt(int i) |
java.awt.Component |
getSelectedComponent() |
java.awt.Component |
getTabComponentAt(int index) |
int |
getTabCount() |
java.lang.String |
getTitleAt(int index) |
boolean |
isTabModified(int index) |
void |
removeCloseTabListener(java.awt.event.ActionListener remove) |
void |
removeTab(java.awt.Component component) |
void |
setPreferredSize(java.awt.Dimension dimension) |
void |
setSelectedComponent(java.awt.Component c) |
void |
setTabModified(int index,
boolean changed) |
void |
setTabPlacement(int BOTTOM) |
void |
setTitleAt(int index,
java.lang.String title) |
javax.swing.JTabbedPane asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent
void addCloseTabListener(java.awt.event.ActionListener remove)
java.awt.event.ActionListener[] getCloseTabListeners()
java.lang.String getTitleAt(int index)
boolean isTabModified(int index)
void removeCloseTabListener(java.awt.event.ActionListener remove)
void setTabModified(int index, boolean changed)
void setTitleAt(int index, java.lang.String title)
void setTabPlacement(int BOTTOM)
void setPreferredSize(java.awt.Dimension dimension)
void addChangeListener(javax.swing.event.ChangeListener onChangeTab)
int getTabCount()
java.awt.Component getSelectedComponent()
java.awt.Component getComponentAt(int i)
java.awt.Component getTabComponentAt(int index)
void setSelectedComponent(java.awt.Component c)
void removeTab(java.awt.Component component)
void addTab(java.lang.String title, java.awt.Component component)