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
,SwingConstants
public class RuneLiteTabbedPaneUI extends com.formdev.flatlaf.ui.FlatTabbedPaneUI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
RuneLiteTabbedPaneUI.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
BasicTabbedPaneUI.FocusHandler, BasicTabbedPaneUI.MouseHandler, BasicTabbedPaneUI.PropertyChangeHandler, BasicTabbedPaneUI.TabbedPaneLayout, BasicTabbedPaneUI.TabSelectionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deselectable
If the there can be no tab selectedprotected boolean
evenlyWrapTabs
protected boolean
expandWrappedTabs
protected boolean
variableSize
If 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
-
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
-
-
Constructor Summary
Constructors Constructor Description RuneLiteTabbedPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayoutManager
createLayoutManager()
protected MouseListener
createMouseListener()
static ComponentUI
createUI(JComponent c)
protected boolean
shouldPadTabRun(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
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getPreferredSize
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
createLayoutManager
protected LayoutManager createLayoutManager()
- Overrides:
createLayoutManager
in classcom.formdev.flatlaf.ui.FlatTabbedPaneUI
-
shouldPadTabRun
protected boolean shouldPadTabRun(int tabPlacement, int run)
- Overrides:
shouldPadTabRun
in classBasicTabbedPaneUI
-
createMouseListener
protected MouseListener createMouseListener()
- Overrides:
createMouseListener
in classcom.formdev.flatlaf.ui.FlatTabbedPaneUI
-
-