private final class PlasticTabbedPaneUI.ScrollableTabSupport
extends java.lang.Object
implements java.awt.event.ActionListener, javax.swing.event.ChangeListener
| Modifier and Type | Field and Description |
|---|---|
int |
leadingTabIndex |
javax.swing.JButton |
scrollBackwardButton |
javax.swing.JButton |
scrollForwardButton |
PlasticTabbedPaneUI.ScrollableTabPanel |
tabPanel |
private java.awt.Point |
tabViewPosition |
PlasticTabbedPaneUI.ScrollableTabViewport |
viewport |
| Constructor and Description |
|---|
ScrollableTabSupport(int tabPlacement) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
ActionListener for the scroll buttons.
|
(package private) void |
createButtons()
Recreates the scroll buttons and adds them to the TabbedPane.
|
void |
scrollBackward(int tabPlacement) |
void |
scrollForward(int tabPlacement) |
void |
setLeadingTabIndex(int tabPlacement,
int index) |
void |
stateChanged(javax.swing.event.ChangeEvent e) |
public PlasticTabbedPaneUI.ScrollableTabViewport viewport
public PlasticTabbedPaneUI.ScrollableTabPanel tabPanel
public javax.swing.JButton scrollForwardButton
public javax.swing.JButton scrollBackwardButton
public int leadingTabIndex
private final java.awt.Point tabViewPosition
void createButtons()
public void scrollForward(int tabPlacement)
public void scrollBackward(int tabPlacement)
public void setLeadingTabIndex(int tabPlacement,
int index)
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener