KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > metal > MetalTabbedPaneUI

javax.swing.plaf.metal
Class MetalTabbedPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TabbedPaneUI
          extended by javax.swing.plaf.basic.BasicTabbedPaneUI
              extended by javax.swing.plaf.metal.MetalTabbedPaneUI
All Implemented Interfaces:
SwingConstants
See Also:
Top Examples, Source Code, XMLEncoder

protected int calculateMaxTabHeight(int tabPlacement)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected LayoutManager createLayoutManager()
See Also:
JTabbedPane.getTabLayoutPolicy(), BasicTabbedPaneUI.TabbedPaneLayout, BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ComponentUI createUI(JComponent x)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color getColorForGap(int currentRun,
                               int x,
                               int y)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getTabLabelShiftX(int tabPlacement,
                                int tabIndex,
                                boolean isSelected)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getTabLabelShiftY(int tabPlacement,
                                int tabIndex,
                                boolean isSelected)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getTabRunOverlay(int tabPlacement)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installDefaults()
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MetalTabbedPaneUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int minTabWidth
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g,
                  JComponent c)
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent), BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintBottomTabBorder(int tabIndex,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h,
                                    int btm,
                                    int rght,
                                    boolean isSelected)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintContentBorderBottomEdge(Graphics g,
                                            int tabPlacement,
                                            int selectedIndex,
                                            int x,
                                            int y,
                                            int w,
                                            int h)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintContentBorderLeftEdge(Graphics g,
                                          int tabPlacement,
                                          int selectedIndex,
                                          int x,
                                          int y,
                                          int w,
                                          int h)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintContentBorderRightEdge(Graphics g,
                                           int tabPlacement,
                                           int selectedIndex,
                                           int x,
                                           int y,
                                           int w,
                                           int h)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintContentBorderTopEdge(Graphics g,
                                         int tabPlacement,
                                         int selectedIndex,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintFocusIndicator(Graphics g,
                                   int tabPlacement,
                                   Rectangle[] rects,
                                   int tabIndex,
                                   Rectangle iconRect,
                                   Rectangle textRect,
                                   boolean isSelected)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintHighlightBelowTab()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintLeftTabBorder(int tabIndex,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  int btm,
                                  int rght,
                                  boolean isSelected)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintRightTabBorder(int tabIndex,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h,
                                   int btm,
                                   int rght,
                                   boolean isSelected)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintTabBackground(Graphics g,
                                  int tabPlacement,
                                  int tabIndex,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  boolean isSelected)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintTabBorder(Graphics g,
                              int tabPlacement,
                              int tabIndex,
                              int x,
                              int y,
                              int w,
                              int h,
                              boolean isSelected)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintTopTabBorder(int tabIndex,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h,
                                 int btm,
                                 int rght,
                                 boolean isSelected)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color selectColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color selectHighlight
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean shouldFillGap(int currentRun,
                                int tabIndex,
                                int x,
                                int y)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean shouldPadTabRun(int tabPlacement,
                                  int run)
See Also:
BasicTabbedPaneUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean shouldRotateTabRuns(int tabPlacement,
                                      int selectedRun)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color tabAreaBackground
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void update(Graphics g,
                   JComponent c)
See Also:
JComponent.paintComponent(java.awt.Graphics), ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags