|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TabbedPaneUI
public abstract class TabbedPaneUI
An abstract base class for delegates that implement the pluggable
look and feel for a JTabbedPane.
JTabbedPane| Constructor Summary | |
|---|---|
TabbedPaneUI()
Constructs a new TabbedPaneUI. |
|
| Method Summary | |
|---|---|
abstract Rectangle |
getTabBounds(JTabbedPane pane,
int index)
Calculates the bounding box of a tab. |
abstract int |
getTabRunCount(JTabbedPane pane)
Determines how many runs are used to display tabs. |
abstract int |
tabForCoordinate(JTabbedPane pane,
int x,
int y)
Determines which tab lies at a given position. |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabbedPaneUI()
TabbedPaneUI.
| Method Detail |
|---|
public abstract int tabForCoordinate(JTabbedPane pane,
int x,
int y)
pane - the JTabbedPane for which this
delegate object provides the user interface.x - the horizontal position, where zero is the left
edge of pane.y - the vertical position, where zero is the top
edge of pane.
public abstract Rectangle getTabBounds(JTabbedPane pane,
int index)
pane - the JTabbedPane for which this
delegate object provides the user interface.index - the index of the tab, which must be an integer
in the range [0 .. pane.getTabCount() - 1].
index-th tab,
in the coordinate system of pane.public abstract int getTabRunCount(JTabbedPane pane)
pane - the JTabbedPane for which this
delegate object provides the user interface.
JTabbedPane.getTabRunCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||