Top Description Constructors Methods
javax.swing.plaf

public abstract Class TabbedPaneUI

extends ComponentUI
Class Inheritance
Known Direct Subclasses
javax.swing.plaf.basic.BasicTabbedPaneUI, javax.swing.plaf.multi.MultiTabbedPaneUI
Imports
java.awt.Rectangle, javax.swing.JTabbedPane

Pluggable look and feel interface for JTabbedPane.
Authors
Dave Moore, Amy Fowler

Constructor Summary

AccessConstructor and Description
protected
TabbedPaneUI()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public abstract Rectangle

Returns:

the rectangle for the tab bounds
getTabBounds
(JTabbedPane
the pane
pane
,
int
the index
index
)

Returns the rectangle for the tab bounds.

public abstract int

Returns:

the tab run count
getTabRunCount
(JTabbedPane
the pane
pane
)

Returns the tab run count.

public abstract int

Returns:

the tab for the coordinate
tabForCoordinate
(JTabbedPane
the pane
pane
,
int
the x coordinate
x
,
int
the y coordinate
y
)

Returns the tab for the coordinate.

Inherited from javax.swing.plaf.ComponentUI:
containscreateUIgetAccessibleChildgetAccessibleChildrenCountgetBaselinegetBaselineResizeBehaviorgetMaximumSizegetMinimumSizegetPreferredSizeinstallUIpaintuninstallUIupdate

Constructor Detail

TabbedPaneUIback to summary
protected TabbedPaneUI()

Constructor for subclasses to call.

Method Detail

getTabBoundsback to summary
public abstract Rectangle getTabBounds(JTabbedPane pane, int index)

Returns the rectangle for the tab bounds.

Parameters
pane:JTabbedPane

the pane

index:int

the index

Returns:Rectangle

the rectangle for the tab bounds

getTabRunCountback to summary
public abstract int getTabRunCount(JTabbedPane pane)

Returns the tab run count.

Parameters
pane:JTabbedPane

the pane

Returns:int

the tab run count

tabForCoordinateback to summary
public abstract int tabForCoordinate(JTabbedPane pane, int x, int y)

Returns the tab for the coordinate.

Parameters
pane:JTabbedPane

the pane

x:int

the x coordinate

y:int

the y coordinate

Returns:int

the tab for the coordinate