BasicTabbedPaneUI
, MultiTabbedPaneUI
public abstract class TabbedPaneUI extends ComponentUI
Modifier | Constructor | Description |
---|---|---|
protected |
Constructor for subclasses to call. |
Modifier and Type | Method | Description |
---|---|---|
abstract Rectangle |
getTabBounds |
Returns the rectangle for the tab bounds. |
abstract int |
getTabRunCount |
Returns the tab run count. |
abstract int |
tabForCoordinate |
Returns the tab for the coordinate. |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected TabbedPaneUI()
public abstract int tabForCoordinate(JTabbedPane pane, int x, int y)
pane
- the panex
- the x coordinatey
- the y coordinatepublic abstract Rectangle getTabBounds(JTabbedPane pane, int index)
pane
- the paneindex
- the indexpublic abstract int getTabRunCount(JTabbedPane pane)
pane
- the pane
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/TabbedPaneUI.html