public class

WindowsTabbedPaneUI

extends BasicTabbedPaneUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.TabbedPaneUI
       ↳ javax.swing.plaf.basic.BasicTabbedPaneUI
         ↳ com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI

Class Overview

Windows rendition of the component.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Summary

[Expand]
Inherited Constants
From interface javax.swing.SwingConstants
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicTabbedPaneUI
Public Constructors
WindowsTabbedPaneUI()
Public Methods
static ComponentUI createUI(JComponent c)
Protected Methods
void installDefaults()
void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex)
void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
this function draws the border around each tab note that this function does now draw the background of the tab.
void setRolloverTab(int index)
Sets the tab the mouse is currently over to index.
void uninstallDefaults()
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicTabbedPaneUI
From class javax.swing.plaf.TabbedPaneUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Public Constructors

public WindowsTabbedPaneUI ()

Public Methods

public static ComponentUI createUI (JComponent c)

Protected Methods

protected void installDefaults ()

protected void paintContentBorder (Graphics g, int tabPlacement, int selectedIndex)

protected void paintTabBackground (Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)

protected void paintTabBorder (Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)

this function draws the border around each tab note that this function does now draw the background of the tab. that is done elsewhere

protected void setRolloverTab (int index)

Sets the tab the mouse is currently over to index. index will be -1 if the mouse is no longer over any tab. No checking is done to ensure the passed in index identifies a valid tab.

Parameters
index Index of the tab the mouse is over.

protected void uninstallDefaults ()