Class PlasticTabbedPaneUI.TabbedPaneLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager
    Direct Known Subclasses:
    PlasticTabbedPaneUI.TabbedPaneScrollLayout
    Enclosing class:
    PlasticTabbedPaneUI

    private class PlasticTabbedPaneUI.TabbedPaneLayout
    extends javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
    Does all the layout work. The result is stored in the container class's instance variables. Mainly the rects[] vector.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TabbedPaneLayout()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void calculateTabRects​(int tabPlacement, int tabCount)  
      protected void padSelectedTab​(int tabPlacement, int selectedIndex)
      Overridden to insure the same behavior in JDK 6.0 as in JDK 5.0.
      • Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout

        addLayoutComponent, calculateLayoutInfo, calculateSize, layoutContainer, minimumLayoutSize, normalizeTabRuns, padTabRun, preferredLayoutSize, preferredTabAreaHeight, preferredTabAreaWidth, removeLayoutComponent, rotateTabRuns
      • Methods inherited from class java.lang.Object

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

      • TabbedPaneLayout

        private TabbedPaneLayout()
    • Method Detail

      • calculateTabRects

        protected void calculateTabRects​(int tabPlacement,
                                         int tabCount)
        Overrides:
        calculateTabRects in class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
      • padSelectedTab

        protected void padSelectedTab​(int tabPlacement,
                                      int selectedIndex)
        Overridden to insure the same behavior in JDK 6.0 as in JDK 5.0.
        Overrides:
        padSelectedTab in class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout