public class JideTabbedPaneClosable extends JideTabbedPane implements JTabbedPaneClosable
Constructor and Description |
---|
JideTabbedPaneClosable(ScriptingUIManager uimanager) |
Modifier and Type | Method and Description |
---|---|
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.lang.String |
getTitleAt(int index) |
boolean |
isTabModified(int index) |
void |
removeCloseTabListener(java.awt.event.ActionListener remove) |
void |
removeTab(java.awt.Component component) |
void |
setTabModified(int index,
boolean changed) |
void |
setTitleAt(int index,
java.lang.String title) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChangeListener, getComponentAt, getSelectedComponent, getTabComponentAt, getTabCount, setPreferredSize, setSelectedComponent, setTabPlacement
public JideTabbedPaneClosable(ScriptingUIManager uimanager)
public java.lang.String getTitleAt(int index)
getTitleAt
in interface JTabbedPaneClosable
public void setTitleAt(int index, java.lang.String title)
setTitleAt
in interface JTabbedPaneClosable
public void addTab(java.lang.String title, java.awt.Component component)
addTab
in interface JTabbedPaneClosable
public void removeTab(java.awt.Component component)
removeTab
in interface JTabbedPaneClosable
public void addCloseTabListener(java.awt.event.ActionListener remove)
addCloseTabListener
in interface JTabbedPaneClosable
public void removeCloseTabListener(java.awt.event.ActionListener remove)
removeCloseTabListener
in interface JTabbedPaneClosable
public java.awt.event.ActionListener[] getCloseTabListeners()
getCloseTabListeners
in interface JTabbedPaneClosable
public boolean isTabModified(int index)
isTabModified
in interface JTabbedPaneClosable
public void setTabModified(int index, boolean changed)
setTabModified
in interface JTabbedPaneClosable
public javax.swing.JTabbedPane asJComponent()
Component
JComponent
.asJComponent
in interface JTabbedPaneClosable
asJComponent
in interface Component
JComponent