|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.swing.plaf.ComponentUI
![]()
![]()
![]()
javax.swing.plaf.TabbedPaneUI
![]()
![]()
![]()
javax.swing.plaf.basic.BasicTabbedPaneUI


public class BasicTabbedPaneUI


A Basic L&F implementation of TabbedPaneUI.
| Nested Class Summary | |
|---|---|
class |
BasicTabbedPaneUI.FocusHandler
This class should be treated as a "protected" inner class. |
class |
BasicTabbedPaneUI.MouseHandler
This class should be treated as a "protected" inner class. |
class |
BasicTabbedPaneUI.PropertyChangeHandler
This class should be treated as a "protected" inner class. |
class |
BasicTabbedPaneUI.TabbedPaneLayout
This class should be treated as a "protected" inner class. |
class |
BasicTabbedPaneUI.TabSelectionHandler
This class should be treated as a "protected" inner class. |
| 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 Color |
darkShadow
|
protected KeyStroke |
downKey
Deprecated. As of Java 2 platform v1.3. |
protected Color |
focus
|
protected FocusListener |
focusListener
|
protected Color |
highlight
|
protected KeyStroke |
leftKey
Deprecated. As of Java 2 platform v1.3. |
protected Color |
lightHighlight
|
protected int |
maxTabHeight
|
protected int |
maxTabWidth
|
protected MouseListener |
mouseListener
|
protected PropertyChangeListener |
propertyChangeListener
|
protected Rectangle |
rects
|
protected KeyStroke |
rightKey
Deprecated. As of Java 2 platform v1.3. |
protected int |
runCount
|
protected int |
selectedRun
|
protected Insets |
selectedTabPadInsets
|
protected Color |
shadow
|
protected Insets |
tabAreaInsets
|
protected ChangeListener |
tabChangeListener
|
protected Insets |
tabInsets
|
protected JTabbedPane |
tabPane
|
protected int |
tabRunOverlay
|
protected int[] |
tabRuns
|
protected int |
textIconGap
|
protected KeyStroke |
upKey
Deprecated. As of Java 2 platform v1.3. |
Fields inherited from interface javax.swing.SwingConstants ![]() |
|---|
BOTTOM |
| Constructor Summary | |
|---|---|
BasicTabbedPaneUI
|
|
| Method Summary | |
|---|---|
protected void |
assureRectsCreated
|
protected int |
calculateMaxTabHeight
|
protected int |
calculateMaxTabWidth
|
protected int |
calculateTabAreaHeight
|
protected int |
calculateTabAreaWidth
|
protected int |
calculateTabHeight
|
protected int |
calculateTabWidth
|
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 PropertyChangeListener |
createPropertyChangeListener
|
protected JButton |
createScrollButton
Creates and returns a JButton that will provide the user with a way to scroll the tabs in a particular direction. |
static ComponentUI |
createUI
|
protected void |
expandTabRunsArray
|
protected Insets |
getContentBorderInsets
|
protected int |
getFocusIndex
Returns the index of the tab that has focus. |
protected FontMetrics |
getFontMetrics
|
protected Icon |
getIconForTab
|
Dimension |
getMaximumSize
Returns the specified component's maximum size appropriate for the look and feel. |
Dimension |
getMinimumSize
Returns the specified component's minimum size appropriate for the look and feel. |
protected int |
getNextTabIndex
|
protected int |
getNextTabIndexInRun
|
protected int |
getNextTabRun
|
protected int |
getPreviousTabIndex
|
protected int |
getPreviousTabIndexInRun
|
protected int |
getPreviousTabRun
|
protected int |
getRolloverTab
Returns the tab the mouse is currently over, or -1 if the mouse is no longer over any tab. |
protected int |
getRunForTab
|
protected Insets |
getSelectedTabPadInsets
|
protected Insets |
getTabAreaInsets
|
protected Rectangle |
getTabBounds
Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component. |
Rectangle |
getTabBounds
Returns the bounds of the specified tab index. |
protected Insets |
getTabInsets
|
protected int |
getTabLabelShiftX
|
protected int |
getTabLabelShiftY
|
int |
getTabRunCount
|
protected int |
getTabRunIndent
|
protected int |
getTabRunOffset
|
protected int |
getTabRunOverlay |