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 TypeMethodDescriptionvoidActionListener for the scroll buttons.(package private) voidRecreates the scroll buttons and adds them to the TabbedPane.voidscrollBackward(int tabPlacement) voidscrollForward(int tabPlacement) voidsetLeadingTabIndex(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:
stateChangedin interfaceChangeListener
-
actionPerformed
ActionListener for the scroll buttons.- Specified by:
actionPerformedin interfaceActionListener
-