All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.motif.MotifTabbedPaneUI

java.lang.Object
    |
    +----java.awt.swing.plaf.ComponentUI
            |
            +----java.awt.swing.plaf.TabbedPaneUI
                    |
                    +----java.awt.swing.motif.MotifTabbedPaneUI

public class MotifTabbedPaneUI
extends TabbedPaneUI
implements LayoutManager, ChangeListener, Serializable
A Motif L&F implementation of TabbedPaneUI.


Variable Index

 o focusGetter
 o maxTabHeight
 o mouseGetter
 o nRows
 o order
 o overlay
 o rects
 o selectedTabBackground
 o selectedTabForeground
 o selectedTabHighlight
 o selectedTabShadow
 o tabBackground
 o tabForeground
 o tabHighlight
 o tabShadow

Constructor Index

 o MotifTabbedPaneUI()

Method Index

 o addLayoutComponent(String, Component)
 o arrangeTabs(int, int, int, int, int, Font, int, int, int, JTabbedPane)
 o calculateLayoutInfo(JTabbedPane)
 o createUI(JComponent)
 o drawTabEdges(Graphics, int, int, int, int, boolean, boolean)
 o getMaximumSize(JComponent)
 o getMetrics(JTabbedPane)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o getTabBounds(JTabbedPane, int)
 o getVisibleComponent(JTabbedPane)
 o iconSpacingWidth()
 o initColors()
 o installUI(JComponent)
 o layoutContainer(Container)
 o maxTabHeight(JTabbedPane)
 o maxTabWidth(JTabbedPane)
 o minimumLayoutSize(Container)
 o padRow(int, int, int)
 o paint(Graphics, JComponent)
 o paintTab(Graphics, JTabbedPane, Rectangle, Rectangle, Rectangle, Rectangle, int, boolean)
 o preferredLayoutSize(Container)
 o removeComponent(JTabbedPane, Component)
 o removeLayoutComponent(Component)
 o selectNextTab(JTabbedPane)
 o selectPrevTab(JTabbedPane)
 o spacingHeight()
 o spacingWidth()
 o stateChanged(ChangeEvent)
 o tabForCoordinate(JTabbedPane, int, int)
 o tabHeight()
 o tabWidth(JTabbedPane, int, FontMetrics)
 o uninstallUI(JComponent)

Variables

 o nRows
protected int nRows
 o maxTabHeight
protected int maxTabHeight
 o rects
protected Rectangle[] rects
 o overlay
protected int overlay
 o order
protected int[] order
 o tabBackground
protected Color tabBackground
 o tabForeground
protected Color tabForeground
 o tabShadow
protected Color tabShadow
 o tabHighlight
protected Color tabHighlight
 o selectedTabBackground
protected Color selectedTabBackground
 o selectedTabForeground
protected Color selectedTabForeground
 o selectedTabShadow
protected Color selectedTabShadow
 o selectedTabHighlight
protected Color selectedTabHighlight
 o mouseGetter
protected MotifTabbedPaneUI.MouseGetter mouseGetter
 o focusGetter
protected MotifTabbedPaneUI.FocusGetter focusGetter

Constructors

 o MotifTabbedPaneUI
public MotifTabbedPaneUI()

Methods

 o createUI
public static ComponentUI createUI(JComponent tabbedPane)
 o spacingHeight
protected int spacingHeight()
 o spacingWidth
protected int spacingWidth()
 o iconSpacingWidth
protected int iconSpacingWidth()
 o installUI
public void installUI(JComponent container)
Overrides:
installUI in class ComponentUI
 o uninstallUI
public void uninstallUI(JComponent container)
Overrides:
uninstallUI in class ComponentUI
 o getPreferredSize
public Dimension getPreferredSize(JComponent container)
Overrides:
getPreferredSize in class ComponentUI
 o getMinimumSize
public Dimension getMinimumSize(JComponent container)
Overrides:
getMinimumSize in class ComponentUI
 o getMaximumSize
public Dimension getMaximumSize(JComponent container)
Overrides:
getMaximumSize in class ComponentUI
 o paint
public void paint(Graphics g,
                  JComponent container)
Overrides:
paint in class ComponentUI
 o addLayoutComponent
public void addLayoutComponent(String name,
                               Component comp)
 o removeLayoutComponent
public void removeLayoutComponent(Component comp)
 o preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
 o minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
 o layoutContainer
public void layoutContainer(Container parent)
 o selectNextTab
public void selectNextTab(JTabbedPane pane)
 o selectPrevTab
public void selectPrevTab(JTabbedPane pane)
 o tabForCoordinate
public int tabForCoordinate(JTabbedPane pane,
                            int x,
                            int y)
Overrides:
tabForCoordinate in class TabbedPaneUI
 o getTabBounds
public Rectangle getTabBounds(JTabbedPane pane,
                              int i)
Overrides:
getTabBounds in class TabbedPaneUI
 o stateChanged
public void stateChanged(ChangeEvent e)
 o initColors
protected void initColors()
 o getVisibleComponent
protected Component getVisibleComponent(JTabbedPane pane)
 o removeComponent
protected void removeComponent(JTabbedPane pane,
                               Component component)
 o calculateLayoutInfo
protected void calculateLayoutInfo(JTabbedPane pane)
 o padRow
protected void padRow(int rowI,
                      int i,
                      int maxX)
 o arrangeTabs
protected void arrangeTabs(int paddingExemptRow,
                           int firstRowIndent,
                           int otherRowIndent,
                           int maxTabHeight,
                           int overlay,
                           Font font,
                           int maxX,
                           int returnAt,
                           int tabCount,
                           JTabbedPane pane)
 o tabHeight
protected int tabHeight()
 o maxTabHeight
protected int maxTabHeight(JTabbedPane pane)
 o tabWidth
protected int tabWidth(JTabbedPane pane,
                       int index,
                       FontMetrics metrics)
 o maxTabWidth
protected int maxTabWidth(JTabbedPane pane)
 o getMetrics
protected FontMetrics getMetrics(JTabbedPane pane)
 o paintTab
protected void paintTab(Graphics g,
                        JTabbedPane pane,
                        Rectangle rect,
                        Rectangle tabRect,
                        Rectangle iconRect,
                        Rectangle textRect,
                        int i,
                        boolean isSelectedRow)
 o drawTabEdges
protected void drawTabEdges(Graphics g,
                            int x,
                            int y,
                            int w,
                            int h,
                            boolean isSelected,
                            boolean isSelectedRow)

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature