Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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 Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.
ing HTML relocated from