Class 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 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

        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 boolean deselectable
      If the there can be no tab selected
      protected 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.awt.LayoutManager createLayoutManager()  
      protected java.awt.event.MouseListener createMouseListener()  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expandWrappedTabs

        protected boolean expandWrappedTabs
      • evenlyWrapTabs

        protected boolean evenlyWrapTabs
      • variableSize

        protected boolean variableSize
        If the tabs are always a single size
      • deselectable

        protected boolean deselectable
        If the there can be no tab selected
    • Constructor Detail

      • RuneLiteTabbedPaneUI

        public RuneLiteTabbedPaneUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • createLayoutManager

        protected java.awt.LayoutManager createLayoutManager()
        Overrides:
        createLayoutManager in class com.formdev.flatlaf.ui.FlatTabbedPaneUI
      • shouldPadTabRun

        protected boolean shouldPadTabRun​(int tabPlacement,
                                          int run)
        Overrides:
        shouldPadTabRun in class javax.swing.plaf.basic.BasicTabbedPaneUI
      • createMouseListener

        protected java.awt.event.MouseListener createMouseListener()
        Overrides:
        createMouseListener in class com.formdev.flatlaf.ui.FlatTabbedPaneUI