Package com.jtattoo.plaf.base.layout
Class ScrollableTabSupport
java.lang.Object
com.jtattoo.plaf.base.layout.ScrollableTabSupport
- All Implemented Interfaces:
EventListener
,ChangeListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
final ScrollableTabButton
final ScrollableTabButton
final ScrollableTabPanel
final ScrollableTabViewport
-
Constructor Summary
ConstructorsConstructorDescriptionScrollableTabSupport
(BaseTabbedPaneUI ui, JTabbedPane tabPane, Rectangle[] rects) -
Method Summary
Modifier and TypeMethodDescriptionvoid
scrollBackward
(int tabPlacement) void
scrollForward
(int tabPlacement) void
scrollTabToVisible
(int tabPlacement, int index) void
setLeadingTabIndex
(int tabPlacement, int index) void
-
Field Details
-
viewport
-
tabPanel
-
scrollForwardButton
-
scrollBackwardButton
-
popupMenuButton
-
leadingTabIndex
public int leadingTabIndex
-
-
Constructor Details
-
ScrollableTabSupport
-
-
Method Details
-
scrollBackward
public void scrollBackward(int tabPlacement) -
scrollForward
public void scrollForward(int tabPlacement) -
scrollTabToVisible
public void scrollTabToVisible(int tabPlacement, int index) -
setLeadingTabIndex
public void setLeadingTabIndex(int tabPlacement, int index) -
stateChanged
- Specified by:
stateChanged
in interfaceChangeListener
-