Class PlasticTabbedPaneUI.ScrollableTabSupport

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.ChangeListener
    Enclosing class:
    PlasticTabbedPaneUI

    private final class PlasticTabbedPaneUI.ScrollableTabSupport
    extends java.lang.Object
    implements java.awt.event.ActionListener, javax.swing.event.ChangeListener
    • Constructor Detail

      • ScrollableTabSupport

        ScrollableTabSupport​(int tabPlacement)
    • Method Detail

      • 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

        public void stateChanged​(javax.swing.event.ChangeEvent e)
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        ActionListener for the scroll buttons.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener