Java Doc for MetalTabbedPaneUI.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » plaf » metal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.swing.plaf.metal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.plaf.basic.BasicTabbedPaneUI
   javax.swing.plaf.metal.MetalTabbedPaneUI

MetalTabbedPaneUI
public class MetalTabbedPaneUI extends BasicTabbedPaneUI (Code)

Inner Class :public class TabbedPaneLayout extends BasicTabbedPaneUI.TabbedPaneLayout

Field Summary
protected  intminTabWidth
    
protected  ColorselectColor
    
protected  ColorselectHighlight
    
protected  ColortabAreaBackground
    


Method Summary
protected  intcalculateMaxTabHeight(int tabPlacement)
    
protected  LayoutManagercreateLayoutManager()
    
public static  ComponentUIcreateUI(JComponent c)
    
protected  ColorgetColorForGap(int currentRun, int x, int y)
    
protected  intgetTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
    
protected  intgetTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
    
protected  intgetTabRunOverlay(int tabPlacement)
    
protected  voidinstallDefaults()
    
public  voidpaint(Graphics g, JComponent c)
    
protected  voidpaintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    
protected  voidpaintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    
protected  voidpaintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    
protected  voidpaintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    
protected  voidpaintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    
protected  voidpaintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
    
protected  voidpaintHighlightBelowTab()
    
protected  voidpaintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    
protected  voidpaintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    
protected  voidpaintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    
protected  booleanshouldFillGap(int currentRun, int tabIndex, int x, int y)
    
protected  booleanshouldPadTabRun(int tabPlacement, int run)
    
protected  booleanshouldRotateTabRuns(int tabPlacement, int selectedRun)
    
public  voidupdate(Graphics g, JComponent c)
    

Field Detail
minTabWidth
protected int minTabWidth(Code)



selectColor
protected Color selectColor(Code)



selectHighlight
protected Color selectHighlight(Code)



tabAreaBackground
protected Color tabAreaBackground(Code)





Method Detail
calculateMaxTabHeight
protected int calculateMaxTabHeight(int tabPlacement)(Code)



createLayoutManager
protected LayoutManager createLayoutManager()(Code)



createUI
public static ComponentUI createUI(JComponent c)(Code)



getColorForGap
protected Color getColorForGap(int currentRun, int x, int y)(Code)



getTabLabelShiftX
protected int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)(Code)



getTabLabelShiftY
protected int getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)(Code)



getTabRunOverlay
protected int getTabRunOverlay(int tabPlacement)(Code)



installDefaults
protected void installDefaults()(Code)



paint
public void paint(Graphics g, JComponent c)(Code)



paintBottomTabBorder
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)(Code)



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



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



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



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



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



paintHighlightBelowTab
protected void paintHighlightBelowTab()(Code)



paintLeftTabBorder
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)(Code)



paintRightTabBorder
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)(Code)



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



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



paintTopTabBorder
protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)(Code)



shouldFillGap
protected boolean shouldFillGap(int currentRun, int tabIndex, int x, int y)(Code)



shouldPadTabRun
protected boolean shouldPadTabRun(int tabPlacement, int run)(Code)



shouldRotateTabRuns
protected boolean shouldRotateTabRuns(int tabPlacement, int selectedRun)(Code)



update
public void update(Graphics g, JComponent c)(Code)



Fields inherited from javax.swing.plaf.basic.BasicTabbedPaneUI
protected transient Rectangle calcRect(Code)(Java Doc)
protected Insets contentBorderInsets(Code)(Java Doc)
protected Color darkShadow(Code)(Java Doc)
protected KeyStroke downKey(Code)(Java Doc)
protected Color focus(Code)(Java Doc)
protected FocusListener focusListener(Code)(Java Doc)
protected Color highlight(Code)(Java Doc)
protected KeyStroke leftKey(Code)(Java Doc)
protected Color lightHighlight(Code)(Java Doc)
protected int maxTabHeight(Code)(Java Doc)
protected int maxTabWidth(Code)(Java Doc)
protected MouseListener mouseListener(Code)(Java Doc)
protected PropertyChangeListener propertyChangeListener(Code)(Java Doc)
protected Rectangle[] rects(Code)(Java Doc)
protected KeyStroke rightKey(Code)(Java Doc)
protected int runCount(Code)(Java Doc)
protected int selectedRun(Code)(Java Doc)
protected Insets selectedTabPadInsets(Code)(Java Doc)
protected Color shadow(Code)(Java Doc)
protected Insets tabAreaInsets(Code)(Java Doc)
protected ChangeListener tabChangeListener(Code)(Java Doc)
protected Insets tabInsets(Code)(Java Doc)
protected JTabbedPane tabPane(Code)(Java Doc)
protected int tabRunOverlay(Code)(Java Doc)
protected int[] tabRuns(Code)(Java Doc)
protected int textIconGap(Code)(Java Doc)
protected KeyStroke upKey(Code)(Java Doc)

Methods inherited from javax.swing.plaf.basic.BasicTabbedPaneUI
protected void assureRectsCreated(int tabCount)(Code)(Java Doc)
protected int calculateMaxTabHeight(int tabPlacement)(Code)(Java Doc)
protected int calculateMaxTabWidth(int tabPlacement)(Code)(Java Doc)
protected int calculateTabAreaHeight(int tabPlacement, int horizRunCount, int maxTabHeight)(Code)(Java Doc)
protected int calculateTabAreaWidth(int tabPlacement, int vertRunCount, int maxTabWidth)(Code)(Java Doc)
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight)(Code)(Java Doc)
protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics fm)(Code)(Java Doc)
protected ChangeListener createChangeListener()(Code)(Java Doc)
protected FocusListener createFocusListener()(Code)(Java Doc)
protected LayoutManager createLayoutManager()(Code)(Java Doc)
protected MouseListener createMouseListener()(Code)(Java Doc)
protected PropertyChangeListener createPropertyChangeListener()(Code)(Java Doc)
protected JButton createScrollButton(int direction)(Code)(Java Doc)
public static ComponentUI createUI(JComponent c)(Code)(Java Doc)
protected void expandTabRunsArray()(Code)(Java Doc)
protected Insets getContentBorderInsets(int tabPlacement)(Code)(Java Doc)
protected int getFocusIndex()(Code)(Java Doc)
protected FontMetrics getFontMetrics()(Code)(Java Doc)
protected Icon getIconForTab(int index)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent c)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent c)(Code)(Java Doc)
protected int getNextTabIndex(int base)(Code)(Java Doc)
protected int getNextTabIndexInRun(int tabCount, int base)(Code)(Java Doc)
protected int getNextTabRun(int baseRun)(Code)(Java Doc)
protected int getPreviousTabIndex(int base)(Code)(Java Doc)
protected int getPreviousTabIndexInRun(int tabCount, int base)(Code)(Java Doc)
protected int getPreviousTabRun(int baseRun)(Code)(Java Doc)
protected int getRolloverTab()(Code)(Java Doc)
protected int getRunForTab(int tabCount, int tabIndex)(Code)(Java Doc)
protected Insets getSelectedTabPadInsets(int tabPlacement)(Code)(Java Doc)
protected Insets getTabAreaInsets(int tabPlacement)(Code)(Java Doc)
protected Rectangle getTabBounds(int tabIndex, Rectangle dest)(Code)(Java Doc)
public Rectangle getTabBounds(JTabbedPane pane, int index)(Code)(Java Doc)
protected Insets getTabInsets(int tabPlacement, int tabIndex)(Code)(Java Doc)
protected int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)(Code)(Java Doc)
protected int getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)(Code)(Java Doc)
public int getTabRunCount(JTabbedPane pane)(Code)(Java Doc)
protected int getTabRunIndent(int tabPlacement, int run)(Code)(Java Doc)
protected int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward)(Code)(Java Doc)
protected int getTabRunOverlay(int tabPlacement)(Code)(Java Doc)
protected View getTextViewForTab(int tabIndex)(Code)(Java Doc)
protected Component getVisibleComponent()(Code)(Java Doc)
protected void installComponents()(Code)(Java Doc)
protected void installDefaults()(Code)(Java Doc)
protected void installKeyboardActions()(Code)(Java Doc)
protected void installListeners()(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
protected int lastTabInRun(int tabCount, int run)(Code)(Java Doc)
protected void layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)(Code)(Java Doc)
protected void navigateSelectedTab(int direction)(Code)(Java Doc)
public void paint(Graphics g, JComponent c)(Code)(Java Doc)
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex)(Code)(Java Doc)
protected void paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)(Java Doc)
protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)(Java Doc)
protected void paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)(Java Doc)
protected void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)(Java Doc)
protected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)(Code)(Java Doc)
protected void paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)(Code)(Java Doc)
protected void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)(Code)(Java Doc)
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex)(Code)(Java Doc)
protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)(Code)(Java Doc)
protected void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)(Code)(Java Doc)
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)(Code)(Java Doc)
protected static void rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)(Code)(Java Doc)
protected void selectAdjacentRunTab(int tabPlacement, int tabIndex, int offset)(Code)(Java Doc)
protected void selectNextTab(int current)(Code)(Java Doc)
protected void selectNextTabInRun(int current)(Code)(Java Doc)
protected void selectPreviousTab(int current)(Code)(Java Doc)
protected void selectPreviousTabInRun(int current)(Code)(Java Doc)
protected void setRolloverTab(int index)(Code)(Java Doc)
protected void setVisibleComponent(Component component)(Code)(Java Doc)
protected boolean shouldPadTabRun(int tabPlacement, int run)(Code)(Java Doc)
protected boolean shouldRotateTabRuns(int tabPlacement)(Code)(Java Doc)
public int tabForCoordinate(JTabbedPane pane, int x, int y)(Code)(Java Doc)
protected void uninstallComponents()(Code)(Java Doc)
protected void uninstallDefaults()(Code)(Java Doc)
protected void uninstallKeyboardActions()(Code)(Java Doc)
protected void uninstallListeners()(Code)(Java Doc)
public void uninstallUI(JComponent c)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.