java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TabbedPaneUI
- 直接已知的子类:
-
BasicTabbedPaneUI
,MultiTabbedPaneUI
JTabbedPane的可插拔外观接口。
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Rectangle
getTabBounds
(JTabbedPane pane, int index) 返回选项卡边界的矩形。abstract int
getTabRunCount
(JTabbedPane pane) 返回选项卡运行计数。abstract int
tabForCoordinate
(JTabbedPane pane, int x, int y) 返回坐标的选项卡。Methods declared in class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Constructor Details
-
TabbedPaneUI
protected TabbedPaneUI()子类调用的构造函数。
-
-
Method Details
-
tabForCoordinate
返回坐标的选项卡。- 参数:
-
pane
- 面板 -
x
- x坐标 -
y
- y坐标 - 返回:
- 坐标的选项卡
-
getTabBounds
返回选项卡边界的矩形。- 参数:
-
pane
- 面板 -
index
- 索引 - 返回:
- 选项卡边界的矩形
-
getTabRunCount
返回选项卡运行计数。- 参数:
-
pane
- 面板 - 返回:
- 选项卡运行计数
-