public class JBTabsPaneImpl extends java.lang.Object implements TabbedPane
Constructor and Description |
---|
JBTabsPaneImpl(Project project,
int tabPlacement,
Disposable parent) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
void |
addMouseListener(java.awt.event.MouseListener listener) |
javax.swing.JComponent |
getComponent() |
java.awt.Component |
getComponentAt(int i) |
java.awt.Color |
getForegroundAt(int index) |
java.awt.Component |
getSelectedComponent() |
int |
getSelectedIndex() |
java.awt.Component |
getTabComponentAt(int index) |
int |
getTabCount() |
int |
getTabLayoutPolicy() |
JBTabs |
getTabs() |
java.lang.String |
getTitleAt(int i) |
void |
insertTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component c,
java.lang.String tip,
int index) |
void |
putClientProperty(java.lang.Object key,
java.lang.Object value) |
void |
removeAll() |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
removeTabAt(int index) |
void |
revalidate() |
void |
scrollTabToVisible(int index) |
void |
setComponentAt(int index,
java.awt.Component c) |
void |
setEnabledAt(int index,
boolean enabled) |
void |
setForegroundAt(int index,
java.awt.Color color) |
void |
setIconAt(int index,
javax.swing.Icon icon) |
void |
setKeyboardNavigation(PrevNextActionsDescriptor installKeyboardNavigation) |
void |
setSelectedIndex(int index) |
void |
setTabLayoutPolicy(int policy) |
void |
setTabPlacement(int tabPlacement) |
void |
setTitleAt(int index,
java.lang.String title) |
void |
setToolTipTextAt(int index,
java.lang.String toolTipText) |
void |
updateUI() |
public JBTabsPaneImpl(Project project, int tabPlacement, Disposable parent)
public javax.swing.JComponent getComponent()
getComponent
in interface TabbedPane
public void putClientProperty(java.lang.Object key, java.lang.Object value)
putClientProperty
in interface TabbedPane
public void setKeyboardNavigation(PrevNextActionsDescriptor installKeyboardNavigation)
setKeyboardNavigation
in interface TabbedPane
public void addChangeListener(javax.swing.event.ChangeListener listener)
addChangeListener
in interface TabbedPane
public int getTabCount()
getTabCount
in interface TabbedPane
public void insertTab(java.lang.String title, javax.swing.Icon icon, java.awt.Component c, java.lang.String tip, int index)
insertTab
in interface TabbedPane
public void setTabPlacement(int tabPlacement)
setTabPlacement
in interface TabbedPane
public void addMouseListener(java.awt.event.MouseListener listener)
addMouseListener
in interface TabbedPane
public int getSelectedIndex()
getSelectedIndex
in interface TabbedPane
public java.awt.Component getSelectedComponent()
getSelectedComponent
in interface TabbedPane
public void setSelectedIndex(int index)
setSelectedIndex
in interface TabbedPane
public java.awt.Component getTabComponentAt(int index)
getTabComponentAt
in interface TabbedPane
public void removeTabAt(int index)
removeTabAt
in interface TabbedPane
public void revalidate()
revalidate
in interface TabbedPane
public java.awt.Color getForegroundAt(int index)
getForegroundAt
in interface TabbedPane
public void setForegroundAt(int index, java.awt.Color color)
setForegroundAt
in interface TabbedPane
public java.awt.Component getComponentAt(int i)
getComponentAt
in interface TabbedPane
public void setTitleAt(int index, java.lang.String title)
setTitleAt
in interface TabbedPane
public void setToolTipTextAt(int index, java.lang.String toolTipText)
setToolTipTextAt
in interface TabbedPane
public void setComponentAt(int index, java.awt.Component c)
setComponentAt
in interface TabbedPane
public void setIconAt(int index, javax.swing.Icon icon)
setIconAt
in interface TabbedPane
public void setEnabledAt(int index, boolean enabled)
setEnabledAt
in interface TabbedPane
public int getTabLayoutPolicy()
getTabLayoutPolicy
in interface TabbedPane
public void setTabLayoutPolicy(int policy)
setTabLayoutPolicy
in interface TabbedPane
public void scrollTabToVisible(int index)
scrollTabToVisible
in interface TabbedPane
public java.lang.String getTitleAt(int i)
getTitleAt
in interface TabbedPane
public void removeAll()
removeAll
in interface TabbedPane
public void updateUI()
updateUI
in interface TabbedPane
public void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener
in interface TabbedPane
public JBTabs getTabs()