Package net.runelite.client.ui.laf
Class RuneLiteTabbedPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TabbedPaneUI
-
- javax.swing.plaf.basic.BasicTabbedPaneUI
-
- com.formdev.flatlaf.ui.FlatTabbedPaneUI
-
- net.runelite.client.ui.laf.RuneLiteTabbedPaneUI
-
- All Implemented Interfaces:
com.formdev.flatlaf.ui.FlatStylingSupport.StyleableUI,javax.swing.SwingConstants
public class RuneLiteTabbedPaneUI extends com.formdev.flatlaf.ui.FlatTabbedPaneUI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classRuneLiteTabbedPaneUI.RuneLiteTabbedPaneLayout-
Nested classes/interfaces inherited from class com.formdev.flatlaf.ui.FlatTabbedPaneUI
com.formdev.flatlaf.ui.FlatTabbedPaneUI.FlatMoreTabsButton, com.formdev.flatlaf.ui.FlatTabbedPaneUI.FlatScrollableTabButton, com.formdev.flatlaf.ui.FlatTabbedPaneUI.FlatTabAreaButton, com.formdev.flatlaf.ui.FlatTabbedPaneUI.FlatTabbedPaneLayout, com.formdev.flatlaf.ui.FlatTabbedPaneUI.FlatTabbedPaneScrollLayout, com.formdev.flatlaf.ui.FlatTabbedPaneUI.FlatWheelTabScroller
-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI
javax.swing.plaf.basic.BasicTabbedPaneUI.FocusHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.MouseHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout, javax.swing.plaf.basic.BasicTabbedPaneUI.TabSelectionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandeselectableIf the there can be no tab selectedprotected booleanevenlyWrapTabsprotected booleanexpandWrappedTabsprotected booleanvariableSizeIf the tabs are always a single size-
Fields inherited from class com.formdev.flatlaf.ui.FlatTabbedPaneUI
arrowType, AS_NEEDED, AS_NEEDED_SINGLE, BOTH, buttonArc, buttonHoverBackground, buttonInsets, buttonPressedBackground, cardTabArc, cardTabSelectionHeight, closeIcon, contentAreaColor, contentSeparatorHeight, disabledForeground, disabledUnderlineColor, FILL, focusColor, focusForeground, foreground, hasFullBorder, hideTabAreaWithOneTab, hoverColor, hoverForeground, inactiveUnderlineColor, maximumTabWidth, minimumTabWidth, moreTabsButtonToolTipText, NEVER, rotateTabRuns, selectedBackground, selectedForeground, selectedInsets, showContentSeparator, showTabSeparators, TAB_TYPE_CARD, TAB_TYPE_UNDERLINED, tabArc, tabClosable, tabCloseToolTipText, tabHeight, tabIconPlacement, tabSelectionArc, tabSelectionHeight, tabSelectionInsets, tabSeparatorColor, tabSeparatorsFullHeight, tabsOpaque, tabViewport, underlineColor, wheelTabScroller, WIDTH_MODE_COMPACT, WIDTH_MODE_EQUAL, WIDTH_MODE_PREFERRED
-
Fields inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI
calcRect, contentBorderInsets, darkShadow, downKey, focus, focusListener, highlight, leftKey, lightHighlight, maxTabHeight, maxTabWidth, mouseListener, propertyChangeListener, rects, rightKey, runCount, selectedRun, selectedTabPadInsets, shadow, tabAreaInsets, tabChangeListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGap, upKey
-
-
Constructor Summary
Constructors Constructor Description RuneLiteTabbedPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.LayoutManagercreateLayoutManager()protected java.awt.event.MouseListenercreateMouseListener()static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)protected booleanshouldPadTabRun(int tabPlacement, int run)-
Methods inherited from class com.formdev.flatlaf.ui.FlatTabbedPaneUI
applyStyle, applyStyleProperty, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, closeTab, createCardTabInnerPath, createCardTabOuterPath, createChangeListener, createFocusListener, createMoreTabsButton, createPropertyChangeListener, createScrollButton, createScrollLayoutManager, createWheelTabScroller, ensureCurrentLayout, ensureSelectedTabIsVisible, ensureSelectedTabIsVisibleLater, getContentBorderInsets, getRealTabAreaInsets, getScrollButtonsPlacement, getScrollButtonsPolicy, getSelectedTabPadInsets, getStyleableInfos, getStyleableValue, getTabAlignment, getTabAreaAlignment, getTabAreaInsets, getTabBackground, getTabBounds, getTabClientProperty, getTabClientPropertyInt, getTabCloseBounds, getTabCloseHitArea, getTabForeground, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabsPopupPolicy, getTabType, getTabWidthMode, hideTabArea, installComponents, installDefaults, installHiddenTabsNavigation, installKeyboardActions, installLeadingComponent, installListeners, installStyle, installTrailingComponent, installUI, isHorizontalTabPlacement, isPressedTabClose, isRolloverTabClose, isSmoothScrollingEnabled, isTabbedPaneOrChildFocused, isTabClosable, layoutAndClipLabel, paint, paintCardTabBorder, paintContentBorder, paintFocusIndicator, paintTab, paintTabArea, paintTabBackground, paintTabBorder, paintTabCloseButton, paintTabSelection, paintTabSeparator, paintText, parseAlignment, parseScrollButtonsPlacement, parseScrollButtonsPolicy, parseTabIconPlacement, parseTabsPopupPolicy, parseTabType, parseTabWidthMode, setPressedTabClose, setRolloverTab, setRolloverTab, setRolloverTabClose, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallHiddenTabsNavigation, uninstallLeadingComponent, uninstallListeners, uninstallTrailingComponent, update
-
Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI
assureRectsCreated, expandTabRunsArray, getBaseline, getBaseline, getBaselineOffset, getBaselineResizeBehavior, getFocusIndex, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getTabBounds, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, lastTabInRun, layoutLabel, navigateSelectedTab, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, paintIcon, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setVisibleComponent, uninstallKeyboardActions, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
createLayoutManager
protected java.awt.LayoutManager createLayoutManager()
- Overrides:
createLayoutManagerin classcom.formdev.flatlaf.ui.FlatTabbedPaneUI
-
shouldPadTabRun
protected boolean shouldPadTabRun(int tabPlacement, int run)- Overrides:
shouldPadTabRunin classjavax.swing.plaf.basic.BasicTabbedPaneUI
-
createMouseListener
protected java.awt.event.MouseListener createMouseListener()
- Overrides:
createMouseListenerin classcom.formdev.flatlaf.ui.FlatTabbedPaneUI
-
-