Class BaseTabbedPaneUI.TabbedPaneLayout

java.lang.Object
com.jtattoo.plaf.BaseTabbedPaneUI.TabbedPaneLayout
All Implemented Interfaces:
LayoutManager
Enclosing class:
BaseTabbedPaneUI

public class BaseTabbedPaneUI.TabbedPaneLayout extends Object implements LayoutManager
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BaseTabbedPaneUI.
  • Constructor Details

    • TabbedPaneLayout

      public TabbedPaneLayout()
  • Method Details

    • addLayoutComponent

      public void addLayoutComponent(String name, Component comp)
      Specified by:
      addLayoutComponent in interface LayoutManager
    • calculateLayoutInfo

      public void calculateLayoutInfo()
    • calculateSize

      protected Dimension calculateSize(boolean minimum)
    • calculateTabRects

      protected void calculateTabRects(int tabPlacement, int tabCount)
    • layoutContainer

      public void layoutContainer(Container parent)
      Specified by:
      layoutContainer in interface LayoutManager
    • minimumLayoutSize

      public Dimension minimumLayoutSize(Container parent)
      Specified by:
      minimumLayoutSize in interface LayoutManager
    • normalizeTabRuns

      protected void normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
    • padSelectedTab

      protected void padSelectedTab(int tabPlacement, int selectedIndex)
    • padTabRun

      protected void padTabRun(int tabPlacement, int start, int end, int max)
    • preferredLayoutSize

      public Dimension preferredLayoutSize(Container parent)
      Specified by:
      preferredLayoutSize in interface LayoutManager
    • preferredTabAreaHeight

      protected int preferredTabAreaHeight(int tabPlacement, int width)
    • preferredTabAreaWidth

      protected int preferredTabAreaWidth(int tabPlacement, int height)
    • removeLayoutComponent

      public void removeLayoutComponent(Component comp)
      Specified by:
      removeLayoutComponent in interface LayoutManager
    • rotateTabRuns

      protected void rotateTabRuns(int tabPlacement, int selectedRun)