com.jtattoo.plaf
Class BaseTabbedPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TabbedPaneUI
          extended by com.jtattoo.plaf.BaseTabbedPaneUI
All Implemented Interfaces:
SwingConstants
Direct Known Subclasses:
AcrylTabbedPaneUI, AeroTabbedPaneUI, AluminiumTabbedPaneUI, FastTabbedPaneUI, GraphiteTabbedPaneUI, HiFiTabbedPaneUI

public class BaseTabbedPaneUI
extends TabbedPaneUI
implements SwingConstants

This class is a modified copy of the javax.swing.plaf.basic.BasicTabbedPaneUI A Basic L&F implementation of TabbedPaneUI.

Version:
1.87 06/08/99
Author:
Amy Fowler, Philip Milne, Steve Wilson, Tom Santos, Dave Moore, Michael Hagen

Nested Class Summary
 class BaseTabbedPaneUI.ArrowButton
           
 class BaseTabbedPaneUI.FocusHandler
          This inner class is marked "public" due to a compiler bug.
 class BaseTabbedPaneUI.MouseHandler
          This inner class is marked "public" due to a compiler bug.
 class BaseTabbedPaneUI.MouseMotionHandler
          This inner class is marked "public" due to a compiler bug.
 class BaseTabbedPaneUI.MyTabComponentListener
           
 class BaseTabbedPaneUI.PropertyChangeHandler
          This inner class is marked "public" due to a compiler bug.
 class BaseTabbedPaneUI.TabbedPaneLayout
          This inner class is marked "public" due to a compiler bug.
 class BaseTabbedPaneUI.TabSelectionHandler
          This inner class is marked "public" due to a compiler bug.
 
Field Summary
protected  Rectangle calcRect
          A rectangle used for general layout calculations in order to avoid constructing many new Rectangles on the fly.
protected  Insets contentBorderInsets
           
protected  FocusListener focusListener
           
protected static int GAP
           
protected  int maxTabHeight
           
protected  int maxTabWidth
           
protected  MouseListener mouseListener
           
protected  MouseMotionListener mouseMotionListener
           
protected static Insets NULL_BORDER_INSETS
           
protected  int oldRolloverIndex
           
protected  PropertyChangeListener propertyChangeListener
           
protected  Rectangle[] rects
           
protected  int rolloverIndex
           
protected  boolean roundedTabs
           
protected  int runCount
           
protected  Color selectedColor
           
protected  int selectedRun
           
protected  Insets selectedTabPadInsets
           
protected  boolean simpleButtonBorder
           
protected  Color tabAreaBackground
           
protected  Insets tabAreaInsets
           
protected  ChangeListener tabChangeListener
           
protected  Insets tabInsets
           
protected  JTabbedPane tabPane
           
protected  int tabRunOverlay
           
protected  int[] tabRuns
           
protected  int textIconGap
           
 
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
BaseTabbedPaneUI()
           
 
Method Summary
protected  void assureRectsCreated(int tabCount)
           
protected  int calculateMaxTabHeight(int tabPlacement)
           
protected  int calculateMaxTabWidth(int tabPlacement)
           
protected  int calculateTabAreaHeight(int tabPlacement, int horizRunCount, int maxTabHeight)
           
protected  int calculateTabAreaWidth(int tabPlacement, int vertRunCount, int maxTabWidth)
           
protected  int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight)
           
protected  int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics)
           
protected  ChangeListener createChangeListener()
           
protected  FocusListener createFocusListener()
           
protected  LayoutManager createLayoutManager()
          Invoked by installUI to create a layout manager object to manage the JTabbedPane.
protected  MouseListener createMouseListener()
           
protected  MouseMotionListener createMouseMotionListener()
           
protected  PropertyChangeListener createPropertyChangeListener()
           
static ComponentUI createUI(JComponent c)
           
protected  void expandTabRunsArray()
           
protected  int getClosestTab(int x, int y)
          Returns the index of the tab closest to the passed in location, note that the returned tab may not contain the location x,y.
protected  Color getContentBorderColor()
           
protected  Color[] getContentBorderColors(int tabPlacement)
           
protected  Insets getContentBorderInsets(int tabPlacement)
           
protected  FontMetrics getFontMetrics()
           
protected  Color getGapColor(int tabIndex)
           
protected  Color getHiBorderColor(int tabIndex)
           
protected  Icon getIconForTab(int tabIndex)
           
protected  Color getLoBorderColor(int tabIndex)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
protected  int getNextTabIndex(int base)
           
protected  int getNextTabIndexInRun(int tabCount, int base)
           
protected  int getNextTabRun(int baseRun)
           
 Dimension getPreferredSize(JComponent c)
           
protected  int getPreviousTabIndex(int base)
           
protected  int getPreviousTabIndexInRun(int tabCount, int base)
           
protected  int getPreviousTabRun(int baseRun)
           
protected  int getRunForTab(int tabCount, int tabIndex)
           
protected  Color getSelectedBorderColor(int tabIndex)
           
protected  Insets getSelectedTabPadInsets(int tabPlacement)
           
protected  Insets getTabAreaInsets(int tabPlacement)
           
protected  int getTabAtLocation(int x, int y)
          Returns the tab index which intersects the specified point in the coordinate space of the component where the tabs are actually rendered, which could be the JTabbedPane (for WRAP_TAB_LAYOUT) or a ScrollableTabPanel (SCROLL_TAB_LAYOUT).
protected  Rectangle getTabBounds(int tabIndex, Rectangle dest)
          Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component.
 Rectangle getTabBounds(JTabbedPane pane, int i)
          Returns the bounds of the specified tab index.
protected  Color[] getTabColors(int tabIndex, boolean isSelected)
           
protected  Font getTabFont(boolean isSelected)
           
protected  Insets getTabInsets(int tabPlacement, int tabIndex)
           
protected  int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
           
protected  int getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
           
 int getTabRunCount(JTabbedPane pane)
           
protected  int getTabRunIndent(int tabPlacement, int run)
           
protected  int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward)
           
protected  int getTabRunOverlay(int tabPlacement)
           
protected  View getTextViewForTab(int tabIndex)
          Returns the text View object required to render stylized text (HTML) for the specified tab or null if no specialized text rendering is needed for this tab.
protected  Component getVisibleComponent()
           
protected  void installComponents()
          Creates and installs any required subcomponents for the JTabbedPane.
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
protected  int lastTabInRun(int tabCount, int run)
           
protected  void layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void navigateSelectedTab(int direction)
           
 void paint(Graphics g, JComponent c)
           
protected  void paintBottomTabBorder(int tabIndex, Graphics g, int x1, int y1, int x2, int y2, boolean isSelected)
           
protected  void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)
           
protected  void paintLeftTabBorder(int tabIndex, Graphics g, int x1, int y1, int x2, int y2, boolean isSelected)
           
protected  void paintRightTabBorder(int tabIndex, Graphics g, int x1, int y1, int x2, int y2, boolean isSelected)
           
protected  void paintRoundedBottomTabBorder(int tabIndex, Graphics g, int x1, int y1, int x2, int y2, boolean isSelected)
           
protected  void paintRoundedTopTabBorder(int tabIndex, Graphics g, int x1, int y1, int x2, int y2, boolean isSelected)
           
protected  void paintScrollContentBorder(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
           
protected  void paintTabArea(Graphics g, int tabPlacement, int selectedIndex)
          Paints the tabs in the tab area.
protected  void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
           
protected  void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
          this function draws the border around each tab note that this function does now draw the background of the tab.
protected  void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
           
protected  void paintTopTabBorder(int tabIndex, Graphics g, int x1, int y1, int x2, int y2, boolean isSelected)
           
protected  boolean requestFocusForVisibleComponent()
           
protected static void rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)
           
protected  boolean scrollableTabLayoutEnabled()
           
protected  void selectAdjacentRunTab(int tabPlacement, int tabIndex, int offset)
           
protected  void selectNextTab(int current)
           
protected  void selectNextTabInRun(int current)
           
protected  void selectPreviousTab(int current)
           
protected  void selectPreviousTabInRun(int current)
           
protected  void setVisibleComponent(Component component)
           
protected  boolean shouldPadTabRun(int tabPlacement, int run)
           
protected  boolean shouldRotateTabRuns(int tabPlacement)
           
 int tabForCoordinate(JTabbedPane pane, int x, int y)
          Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.
protected  void uninstallComponents()
          Removes any installed subcomponents from the JTabbedPane.
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_BORDER_INSETS

protected static final Insets NULL_BORDER_INSETS

GAP

protected static final int GAP
See Also:
Constant Field Values

tabPane

protected JTabbedPane tabPane

tabAreaBackground

protected Color tabAreaBackground

selectedColor

protected Color selectedColor

textIconGap

protected int textIconGap

tabRunOverlay

protected int tabRunOverlay

tabInsets

protected Insets tabInsets

selectedTabPadInsets

protected Insets selectedTabPadInsets

tabAreaInsets

protected Insets tabAreaInsets

contentBorderInsets

protected Insets contentBorderInsets

tabRuns

protected int[] tabRuns

runCount

protected int runCount

selectedRun

protected int selectedRun

rects

protected Rectangle[] rects

maxTabHeight

protected int maxTabHeight

maxTabWidth

protected int maxTabWidth

tabChangeListener

protected ChangeListener tabChangeListener

propertyChangeListener

protected PropertyChangeListener propertyChangeListener

mouseListener

protected MouseListener mouseListener

mouseMotionListener

protected MouseMotionListener mouseMotionListener

focusListener

protected FocusListener focusListener

calcRect

protected transient Rectangle calcRect
A rectangle used for general layout calculations in order to avoid constructing many new Rectangles on the fly.


oldRolloverIndex

protected int oldRolloverIndex

rolloverIndex

protected int rolloverIndex

roundedTabs

protected boolean roundedTabs

simpleButtonBorder

protected boolean simpleButtonBorder
Constructor Detail

BaseTabbedPaneUI

public BaseTabbedPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

createLayoutManager

protected LayoutManager createLayoutManager()
Invoked by installUI to create a layout manager object to manage the JTabbedPane.

Returns:
a layout manager object
See Also:
BaseTabbedPaneUI.TabbedPaneLayout, JTabbedPane.getTabLayoutPolicy()

scrollableTabLayoutEnabled

protected boolean scrollableTabLayoutEnabled()

installComponents

protected void installComponents()
Creates and installs any required subcomponents for the JTabbedPane. Invoked by installUI.

Since:
1.4

uninstallComponents

protected void uninstallComponents()
Removes any installed subcomponents from the JTabbedPane. Invoked by uninstallUI.

Since:
1.4

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

installListeners

protected void installListeners()

uninstallListeners

protected void uninstallListeners()

createMouseListener

protected MouseListener createMouseListener()

createMouseMotionListener

protected MouseMotionListener createMouseMotionListener()

createFocusListener

protected FocusListener createFocusListener()

createChangeListener

protected ChangeListener createChangeListener()

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()

installKeyboardActions

protected void installKeyboardActions()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

getTabColors

protected Color[] getTabColors(int tabIndex,
                               boolean isSelected)

getSelectedBorderColor

protected Color getSelectedBorderColor(int tabIndex)

getLoBorderColor

protected Color getLoBorderColor(int tabIndex)

getHiBorderColor

protected Color getHiBorderColor(int tabIndex)

getContentBorderColors

protected Color[] getContentBorderColors(int tabPlacement)

getContentBorderColor

protected Color getContentBorderColor()

getGapColor

protected Color getGapColor(int tabIndex)

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class ComponentUI

paintTabArea

protected void paintTabArea(Graphics g,
                            int tabPlacement,
                            int selectedIndex)
Paints the tabs in the tab area. Invoked by paint(). The graphics parameter must be a valid Graphics object. Tab placement may be either: JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, or JTabbedPane.RIGHT. The selected index must be a valid tabbed pane tab index (0 to tab count - 1, inclusive) or -1 if no tab is currently selected. The handling of invalid parameters is unspecified.

Parameters:
g - the graphics object to use for rendering
tabPlacement - the placement for the tabs within the JTabbedPane
selectedIndex - the tab index of the selected component
Since:
1.4

getTabFont

protected Font getTabFont(boolean isSelected)

paintTab

protected void paintTab(Graphics g,
                        int tabPlacement,
                        Rectangle[] rects,
                        int tabIndex,
                        Rectangle iconRect,
                        Rectangle textRect)

layoutLabel

protected void layoutLabel(int tabPlacement,
                           FontMetrics metrics,
                           int tabIndex,
                           String title,
                           Icon icon,
                           Rectangle tabRect,
                           Rectangle iconRect,
                           Rectangle textRect,
                           boolean isSelected)

getTabLabelShiftX

protected int getTabLabelShiftX(int tabPlacement,
                                int tabIndex,
                                boolean isSelected)

getTabLabelShiftY

protected int getTabLabelShiftY(int tabPlacement,
                                int tabIndex,
                                boolean isSelected)

paintIcon

protected void paintIcon(Graphics g,
                         int tabPlacement,
                         int tabIndex,
                         Icon icon,
                         Rectangle iconRect,
                         boolean isSelected)

paintText

protected void paintText(Graphics g,
                         int tabPlacement,
                         Font font,
                         FontMetrics metrics,
                         int tabIndex,
                         String title,
                         Rectangle textRect,
                         boolean isSelected)

paintFocusIndicator

protected void paintFocusIndicator(Graphics g,
                                   int tabPlacement,
                                   Rectangle[] rects,
                                   int tabIndex,
                                   Rectangle iconRect,
                                   Rectangle textRect,
                                   boolean isSelected)

paintTabBorder

protected void paintTabBorder(Graphics g,
                              int tabPlacement,
                              int tabIndex,
                              int x,
                              int y,
                              int w,
                              int h,
                              boolean isSelected)
this function draws the border around each tab note that this function does now draw the background of the tab. that is done elsewhere


paintRoundedTopTabBorder

protected void paintRoundedTopTabBorder(int tabIndex,
                                        Graphics g,
                                        int x1,
                                        int y1,
                                        int x2,
                                        int y2,
                                        boolean isSelected)

paintTopTabBorder

protected void paintTopTabBorder(int tabIndex,
                                 Graphics g,
                                 int x1,
                                 int y1,
                                 int x2,
                                 int y2,
                                 boolean isSelected)

paintLeftTabBorder

protected void paintLeftTabBorder(int tabIndex,
                                  Graphics g,
                                  int x1,
                                  int y1,
                                  int x2,
                                  int y2,
                                  boolean isSelected)

paintRoundedBottomTabBorder

protected void paintRoundedBottomTabBorder(int tabIndex,
                                           Graphics g,
                                           int x1,
                                           int y1,
                                           int x2,
                                           int y2,
                                           boolean isSelected)

paintBottomTabBorder

protected void paintBottomTabBorder(int tabIndex,
                                    Graphics g,
                                    int x1,
                                    int y1,
                                    int x2,
                                    int y2,
                                    boolean isSelected)

paintRightTabBorder

protected void paintRightTabBorder(int tabIndex,
                                   Graphics g,
                                   int x1,
                                   int y1,
                                   int x2,
                                   int y2,
                                   boolean isSelected)

paintTabBackground

protected void paintTabBackground(Graphics g,
                                  int tabPlacement,
                                  int tabIndex,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  boolean isSelected)

paintContentBorder

protected void paintContentBorder(Graphics g,
                                  int tabPlacement,
                                  int selectedIndex,
                                  int x,
                                  int y,
                                  int w,
                                  int h)

paintScrollContentBorder

protected void paintScrollContentBorder(Graphics g,
                                        int tabPlacement,
                                        int selectedIndex,
                                        int x,
                                        int y,
                                        int w,
                                        int h)

getTabBounds

public Rectangle getTabBounds(JTabbedPane pane,
                              int i)
Returns the bounds of the specified tab index. The bounds are with respect to the JTabbedPane's coordinate space.

Specified by:
getTabBounds in class TabbedPaneUI

getTabRunCount

public int getTabRunCount(JTabbedPane pane)
Specified by:
getTabRunCount in class TabbedPaneUI

tabForCoordinate

public int tabForCoordinate(JTabbedPane pane,
                            int x,
                            int y)
Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.

Specified by:
tabForCoordinate in class TabbedPaneUI

getTabBounds

protected Rectangle getTabBounds(int tabIndex,
                                 Rectangle dest)
Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component. This is required because the tab rects are by default defined in the coordinate space of the component where they are rendered, which could be the JTabbedPane (for WRAP_TAB_LAYOUT) or a ScrollableTabPanel (SCROLL_TAB_LAYOUT). This method should be used whenever the tab rectangle must be relative to the JTabbedPane itself and the result should be placed in a designated Rectangle object (rather than instantiating and returning a new Rectangle each time). The tab index parameter must be a valid tabbed pane tab index (0 to tab count - 1, inclusive). The destination rectangle parameter must be a valid Rectangle instance. The handling of invalid parameters is unspecified.

Parameters:
tabIndex - the index of the tab
dest - the rectangle where the result should be placed
Returns:
the resulting rectangle
Since:
1.4

getTabAtLocation

protected int getTabAtLocation(int x,
                               int y)
Returns the tab index which intersects the specified point in the coordinate space of the component where the tabs are actually rendered, which could be the JTabbedPane (for WRAP_TAB_LAYOUT) or a ScrollableTabPanel (SCROLL_TAB_LAYOUT).


getClosestTab

protected int getClosestTab(int x,
                            int y)
Returns the index of the tab closest to the passed in location, note that the returned tab may not contain the location x,y.


getVisibleComponent

protected Component getVisibleComponent()

setVisibleComponent

protected void setVisibleComponent(Component component)

assureRectsCreated

protected void assureRectsCreated(int tabCount)

expandTabRunsArray

protected void expandTabRunsArray()

getRunForTab

protected int getRunForTab(int tabCount,
                           int tabIndex)

lastTabInRun

protected int lastTabInRun(int tabCount,
                           int run)

getTabRunOverlay

protected int getTabRunOverlay(int tabPlacement)

getTabRunIndent

protected int getTabRunIndent(int tabPlacement,
                              int run)

shouldPadTabRun

protected boolean shouldPadTabRun(int tabPlacement,
                                  int run)

shouldRotateTabRuns

protected boolean shouldRotateTabRuns(int tabPlacement)

getIconForTab

protected Icon getIconForTab(int tabIndex)

getTextViewForTab

protected View getTextViewForTab(int tabIndex)
Returns the text View object required to render stylized text (HTML) for the specified tab or null if no specialized text rendering is needed for this tab. This is provided to support html rendering inside tabs.

Parameters:
tabIndex - the index of the tab
Returns:
the text view to render the tab's text or null if no specialized rendering is required
Since:
1.4

calculateTabHeight

protected int calculateTabHeight(int tabPlacement,
                                 int tabIndex,
                                 int fontHeight)

calculateMaxTabHeight

protected int calculateMaxTabHeight(int tabPlacement)

calculateTabWidth

protected int calculateTabWidth(int tabPlacement,
                                int tabIndex,
                                FontMetrics metrics)

calculateMaxTabWidth

protected int calculateMaxTabWidth(int tabPlacement)

calculateTabAreaHeight

protected int calculateTabAreaHeight(int tabPlacement,
                                     int horizRunCount,
                                     int maxTabHeight)

calculateTabAreaWidth

protected int calculateTabAreaWidth(int tabPlacement,
                                    int vertRunCount,
                                    int maxTabWidth)

getTabInsets

protected Insets getTabInsets(int tabPlacement,
                              int tabIndex)

getSelectedTabPadInsets

protected Insets getSelectedTabPadInsets(int tabPlacement)

getTabAreaInsets

protected Insets getTabAreaInsets(int tabPlacement)

getContentBorderInsets

protected Insets getContentBorderInsets(int tabPlacement)

getFontMetrics

protected FontMetrics getFontMetrics()

navigateSelectedTab

protected void navigateSelectedTab(int direction)

selectNextTabInRun

protected void selectNextTabInRun(int current)

selectPreviousTabInRun

protected void selectPreviousTabInRun(int current)

selectNextTab

protected void selectNextTab(int current)

selectPreviousTab

protected void selectPreviousTab(int current)

selectAdjacentRunTab

protected void selectAdjacentRunTab(int tabPlacement,
                                    int tabIndex,
                                    int offset)

getTabRunOffset

protected int getTabRunOffset(int tabPlacement,
                              int tabCount,
                              int tabIndex,
                              boolean forward)

getPreviousTabIndex

protected int getPreviousTabIndex(int base)

getNextTabIndex

protected int getNextTabIndex(int base)

getNextTabIndexInRun

protected int getNextTabIndexInRun(int tabCount,
                                   int base)

getPreviousTabIndexInRun

protected int getPreviousTabIndexInRun(int tabCount,
                                       int base)

getPreviousTabRun

protected int getPreviousTabRun(int baseRun)

getNextTabRun

protected int getNextTabRun(int baseRun)

rotateInsets

protected static void rotateInsets(Insets topInsets,
                                   Insets targetInsets,
                                   int targetPlacement)

requestFocusForVisibleComponent

protected boolean requestFocusForVisibleComponent()


Copyright © 2011. All Rights Reserved.