public class

MotifTabbedPaneUI

extends BasicTabbedPaneUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.TabbedPaneUI
       ↳ javax.swing.plaf.basic.BasicTabbedPaneUI
         ↳ com.sun.java.swing.plaf.motif.MotifTabbedPaneUI

Class Overview

A Motif L&F implementation of TabbedPaneUI.

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
Fields
protected Color unselectedTabBackground
protected Color unselectedTabForeground
protected Color unselectedTabHighlight
protected Color unselectedTabShadow
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicTabbedPaneUI
Public Constructors
MotifTabbedPaneUI()
Public Methods
static ComponentUI createUI(JComponent tabbedPane)
Protected Methods
int getTabRunIndent(int tabPlacement, int run)
int getTabRunOverlay(int tabPlacement)
void installDefaults()
void paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
void paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
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 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

Fields

protected Color unselectedTabBackground

protected Color unselectedTabForeground

protected Color unselectedTabHighlight

protected Color unselectedTabShadow

Public Constructors

public MotifTabbedPaneUI ()

Public Methods

public static ComponentUI createUI (JComponent tabbedPane)

Protected Methods

protected int getTabRunIndent (int tabPlacement, int run)

protected int getTabRunOverlay (int tabPlacement)

protected void installDefaults ()

protected void paintContentBorderBottomEdge (Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)

protected void paintContentBorderRightEdge (Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)

protected void paintContentBorderTopEdge (Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)

protected void paintFocusIndicator (Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)

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 uninstallDefaults ()