Package com.jgoodies.looks.plastic
Class PlasticTabbedPaneUI.ScrollableTabSupport
java.lang.Object
com.jgoodies.looks.plastic.PlasticTabbedPaneUI.ScrollableTabSupport
- All Implemented Interfaces:
ActionListener
,EventListener
,ChangeListener
- Enclosing class:
PlasticTabbedPaneUI
private final class PlasticTabbedPaneUI.ScrollableTabSupport
extends Object
implements ActionListener, ChangeListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
ActionListener for the scroll buttons.(package private) void
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
-
Field Details
-
viewport
-
tabPanel
-
scrollForwardButton
-
scrollBackwardButton
-
leadingTabIndex
public int leadingTabIndex -
tabViewPosition
-
-
Constructor Details
-
ScrollableTabSupport
ScrollableTabSupport(int tabPlacement)
-
-
Method Details
-
createButtons
void createButtons()Recreates the scroll buttons and adds them to the TabbedPane. -
scrollForward
public void scrollForward(int tabPlacement) -
scrollBackward
public void scrollBackward(int tabPlacement) -
setLeadingTabIndex
public void setLeadingTabIndex(int tabPlacement, int index) -
stateChanged
- Specified by:
stateChanged
in interfaceChangeListener
-
actionPerformed
ActionListener for the scroll buttons.- Specified by:
actionPerformed
in interfaceActionListener
-