JSR-209 (Final Release)

javax.microedition.plaf
Interface TabbedPaneUI


public interface TabbedPaneUI

Pluggable look and feel interface for JTabbedPane.


Method Summary
 Rectangle getTabBounds(JTabbedPane pane, int index)
          Invokes the getTabBounds method on each UI handled by this object.
 int getTabRunCount(JTabbedPane pane)
          Invokes the getTabRunCount method on each UI handled by this object.
 int tabForCoordinate(JTabbedPane pane, int x, int y)
          Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.
 

Method Detail

tabForCoordinate

public int tabForCoordinate(JTabbedPane pane,
                            int x,
                            int y)
Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.

Returns:
the value obtained from the default LookAndFeel

getTabBounds

public Rectangle getTabBounds(JTabbedPane pane,
                              int index)
Invokes the getTabBounds method on each UI handled by this object.

Returns:
the value obtained from the default LookAndFeel

getTabRunCount

public int getTabRunCount(JTabbedPane pane)
Invokes the getTabRunCount method on each UI handled by this object.

Returns:
the value obtained from the default LookAndFeel

JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.