Java Doc for BasicTabbedPaneUI.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » plaf » basic » 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.basic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.TabbedPaneUI
         javax.swing.plaf.basic.BasicTabbedPaneUI

All known Subclasses:   javax.swing.plaf.metal.MetalTabbedPaneUI,
BasicTabbedPaneUI
public class BasicTabbedPaneUI extends TabbedPaneUI implements SwingConstants(Code)

Inner Class :public class FocusHandler extends FocusAdapter
Inner Class :public class MouseHandler extends MouseAdapter
Inner Class :public class PropertyChangeHandler implements PropertyChangeListener
Inner Class :public class TabbedPaneLayout implements LayoutManager
Inner Class :public class TabSelectionHandler implements ChangeListener

Field Summary
protected transient  RectanglecalcRect
    
protected  InsetscontentBorderInsets
    
protected  ColordarkShadow
    
protected  KeyStrokedownKey
    
protected  Colorfocus
    
protected  FocusListenerfocusListener
    
protected  Colorhighlight
    
protected  KeyStrokeleftKey
    
protected  ColorlightHighlight
    
protected  intmaxTabHeight
    
protected  intmaxTabWidth
    
protected  MouseListenermouseListener
    
protected  PropertyChangeListenerpropertyChangeListener
    
protected  Rectangle[]rects
    
protected  KeyStrokerightKey
    
protected  intrunCount
    
protected  intselectedRun
    
protected  InsetsselectedTabPadInsets
    
protected  Colorshadow
    
protected  InsetstabAreaInsets
    
protected  ChangeListenertabChangeListener
    
protected  InsetstabInsets
    
protected  JTabbedPanetabPane
    
protected  inttabRunOverlay
    
protected  int[]tabRuns
    
protected  inttextIconGap
    
protected  KeyStrokeupKey
    


Method Summary
protected  voidassureRectsCreated(int tabCount)
    
protected  intcalculateMaxTabHeight(int tabPlacement)
    
protected  intcalculateMaxTabWidth(int tabPlacement)
    
protected  intcalculateTabAreaHeight(int tabPlacement, int horizRunCount, int maxTabHeight)
    
protected  intcalculateTabAreaWidth(int tabPlacement, int vertRunCount, int maxTabWidth)
    
protected  intcalculateTabHeight(int tabPlacement, int tabIndex, int fontHeight)
    
protected  intcalculateTabWidth(int tabPlacement, int tabIndex, FontMetrics fm)
    
protected  ChangeListenercreateChangeListener()
    
protected  FocusListenercreateFocusListener()
    
protected  LayoutManagercreateLayoutManager()
    
protected  MouseListenercreateMouseListener()
    
protected  PropertyChangeListenercreatePropertyChangeListener()
    
protected  JButtoncreateScrollButton(int direction)
    
public static  ComponentUIcreateUI(JComponent c)
    
protected  voidexpandTabRunsArray()
    
protected  InsetsgetContentBorderInsets(int tabPlacement)
    
protected  intgetFocusIndex()
    
protected  FontMetricsgetFontMetrics()
    
protected  IcongetIconForTab(int index)
    
public  DimensiongetMaximumSize(JComponent c)
    
public  DimensiongetMinimumSize(JComponent c)
    
protected  intgetNextTabIndex(int base)
    
protected  intgetNextTabIndexInRun(int tabCount, int base)
    
protected  intgetNextTabRun(int baseRun)
    
protected  intgetPreviousTabIndex(int base)
    
protected  intgetPreviousTabIndexInRun(int tabCount, int base)
    
protected  intgetPreviousTabRun(int baseRun)
    
protected  intgetRolloverTab()
    
protected  intgetRunForTab(int tabCount, int tabIndex)
    
protected  InsetsgetSelectedTabPadInsets(int tabPlacement)
    
protected  InsetsgetTabAreaInsets(int tabPlacement)
    
protected  RectanglegetTabBounds(int tabIndex, Rectangle dest)
    
public  RectanglegetTabBounds(JTabbedPane pane, int index)
    
protected  InsetsgetTabInsets(int tabPlacement, int tabIndex)
    
protected  intgetTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
    
protected  intgetTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
    
public  intgetTabRunCount(JTabbedPane pane)
    
protected  intgetTabRunIndent(int tabPlacement, int run)
    
protected  intgetTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward)
    
protected  intgetTabRunOverlay(int tabPlacement)
    
protected  ViewgetTextViewForTab(int tabIndex)
    
protected  ComponentgetVisibleComponent()
    
protected  voidinstallComponents()
    
protected  voidinstallDefaults()
    
protected  voidinstallKeyboardActions()
    
protected  voidinstallListeners()
    
public  voidinstallUI(JComponent c)
    
protected  intlastTabInRun(int tabCount, int run)
    
protected  voidlayoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)
    
protected  voidnavigateSelectedTab(int direction)
    
public  voidpaint(Graphics g, JComponent c)
    
protected  voidpaintContentBorder(Graphics g, int tabPlacement, int selectedIndex)
    
protected  voidpaintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
     x, y, w, h are bounds of the content area including content area insets.
protected  voidpaintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
     x, y, w, h are bounds of the content area including content area insets.
protected  voidpaintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
     x, y, w, h are bounds of the content area including content area insets.
protected  voidpaintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
     x, y, w, h are bounds of the content area including content area insets.
protected  voidpaintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
    
protected  voidpaintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)
    
protected  voidpaintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
    
protected  voidpaintTabArea(Graphics g, int tabPlacement, int selectedIndex)
    
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  voidpaintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
    
protected static  voidrotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)
    
protected  voidselectAdjacentRunTab(int tabPlacement, int tabIndex, int offset)
    
protected  voidselectNextTab(int current)
    
protected  voidselectNextTabInRun(int current)
    
protected  voidselectPreviousTab(int current)
    
protected  voidselectPreviousTabInRun(int current)
    
protected  voidsetRolloverTab(int index)
    
protected  voidsetVisibleComponent(Component component)
    
protected  booleanshouldPadTabRun(int tabPlacement, int run)
    
protected  booleanshouldRotateTabRuns(int tabPlacement)
    
public  inttabForCoordinate(JTabbedPane pane, int x, int y)
    
protected  voiduninstallComponents()
    
protected  voiduninstallDefaults()
    
protected  voiduninstallKeyboardActions()
    
protected  voiduninstallListeners()
    
public  voiduninstallUI(JComponent c)
    

Field Detail
calcRect
protected transient Rectangle calcRect(Code)



contentBorderInsets
protected Insets contentBorderInsets(Code)



darkShadow
protected Color darkShadow(Code)



downKey
protected KeyStroke downKey(Code)



focus
protected Color focus(Code)



focusListener
protected FocusListener focusListener(Code)



highlight
protected Color highlight(Code)



leftKey
protected KeyStroke leftKey(Code)



lightHighlight
protected Color lightHighlight(Code)



maxTabHeight
protected int maxTabHeight(Code)



maxTabWidth
protected int maxTabWidth(Code)



mouseListener
protected MouseListener mouseListener(Code)



propertyChangeListener
protected PropertyChangeListener propertyChangeListener(Code)



rects
protected Rectangle[] rects(Code)



rightKey
protected KeyStroke rightKey(Code)



runCount
protected int runCount(Code)



selectedRun
protected int selectedRun(Code)



selectedTabPadInsets
protected Insets selectedTabPadInsets(Code)



shadow
protected Color shadow(Code)



tabAreaInsets
protected Insets tabAreaInsets(Code)



tabChangeListener
protected ChangeListener tabChangeListener(Code)



tabInsets
protected Insets tabInsets(Code)



tabPane
protected JTabbedPane tabPane(Code)



tabRunOverlay
protected int tabRunOverlay(Code)



tabRuns
protected int[] tabRuns(Code)



textIconGap
protected int textIconGap(Code)



upKey
protected KeyStroke upKey(Code)





Method Detail
assureRectsCreated
protected void assureRectsCreated(int tabCount)(Code)



calculateMaxTabHeight
protected int calculateMaxTabHeight(int tabPlacement)(Code)



calculateMaxTabWidth
protected int calculateMaxTabWidth(int tabPlacement)(Code)



calculateTabAreaHeight
protected int calculateTabAreaHeight(int tabPlacement, int horizRunCount, int maxTabHeight)(Code)



calculateTabAreaWidth
protected int calculateTabAreaWidth(int tabPlacement, int vertRunCount, int maxTabWidth)(Code)



calculateTabHeight
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight)(Code)



calculateTabWidth
protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics fm)(Code)



createChangeListener
protected ChangeListener createChangeListener()(Code)



createFocusListener
protected FocusListener createFocusListener()(Code)



createLayoutManager
protected LayoutManager createLayoutManager()(Code)



createMouseListener
protected MouseListener createMouseListener()(Code)



createPropertyChangeListener
protected PropertyChangeListener createPropertyChangeListener()(Code)



createScrollButton
protected JButton createScrollButton(int direction)(Code)



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



expandTabRunsArray
protected void expandTabRunsArray()(Code)



getContentBorderInsets
protected Insets getContentBorderInsets(int tabPlacement)(Code)



getFocusIndex
protected int getFocusIndex()(Code)



getFontMetrics
protected FontMetrics getFontMetrics()(Code)



getIconForTab
protected Icon getIconForTab(int index)(Code)



getMaximumSize
public Dimension getMaximumSize(JComponent c)(Code)



getMinimumSize
public Dimension getMinimumSize(JComponent c)(Code)



getNextTabIndex
protected int getNextTabIndex(int base)(Code)



getNextTabIndexInRun
protected int getNextTabIndexInRun(int tabCount, int base)(Code)



getNextTabRun
protected int getNextTabRun(int baseRun)(Code)



getPreviousTabIndex
protected int getPreviousTabIndex(int base)(Code)



getPreviousTabIndexInRun
protected int getPreviousTabIndexInRun(int tabCount, int base)(Code)



getPreviousTabRun
protected int getPreviousTabRun(int baseRun)(Code)



getRolloverTab
protected int getRolloverTab()(Code)



getRunForTab
protected int getRunForTab(int tabCount, int tabIndex)(Code)



getSelectedTabPadInsets
protected Insets getSelectedTabPadInsets(int tabPlacement)(Code)



getTabAreaInsets
protected Insets getTabAreaInsets(int tabPlacement)(Code)



getTabBounds
protected Rectangle getTabBounds(int tabIndex, Rectangle dest)(Code)



getTabBounds
public Rectangle getTabBounds(JTabbedPane pane, int index)(Code)



getTabInsets
protected Insets getTabInsets(int tabPlacement, int tabIndex)(Code)



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



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



getTabRunCount
public int getTabRunCount(JTabbedPane pane)(Code)



getTabRunIndent
protected int getTabRunIndent(int tabPlacement, int run)(Code)



getTabRunOffset
protected int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward)(Code)



getTabRunOverlay
protected int getTabRunOverlay(int tabPlacement)(Code)



getTextViewForTab
protected View getTextViewForTab(int tabIndex)(Code)



getVisibleComponent
protected Component getVisibleComponent()(Code)



installComponents
protected void installComponents()(Code)



installDefaults
protected void installDefaults()(Code)



installKeyboardActions
protected void installKeyboardActions()(Code)



installListeners
protected void installListeners()(Code)



installUI
public void installUI(JComponent c)(Code)



lastTabInRun
protected int lastTabInRun(int tabCount, int run)(Code)



layoutLabel
protected void layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)(Code)



navigateSelectedTab
protected void navigateSelectedTab(int direction)(Code)



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



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



paintContentBorderBottomEdge
protected void paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)
x, y, w, h are bounds of the content area including content area insets.



paintContentBorderLeftEdge
protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)
x, y, w, h are bounds of the content area including content area insets.



paintContentBorderRightEdge
protected void paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)
x, y, w, h are bounds of the content area including content area insets.



paintContentBorderTopEdge
protected void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)(Code)
x, y, w, h are bounds of the content area including content area insets.



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



paintIcon
protected void paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)(Code)



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



paintTabArea
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex)(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)



paintText
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)(Code)



rotateInsets
protected static void rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)(Code)



selectAdjacentRunTab
protected void selectAdjacentRunTab(int tabPlacement, int tabIndex, int offset)(Code)



selectNextTab
protected void selectNextTab(int current)(Code)



selectNextTabInRun
protected void selectNextTabInRun(int current)(Code)



selectPreviousTab
protected void selectPreviousTab(int current)(Code)



selectPreviousTabInRun
protected void selectPreviousTabInRun(int current)(Code)



setRolloverTab
protected void setRolloverTab(int index)(Code)



setVisibleComponent
protected void setVisibleComponent(Component component)(Code)



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



shouldRotateTabRuns
protected boolean shouldRotateTabRuns(int tabPlacement)(Code)



tabForCoordinate
public int tabForCoordinate(JTabbedPane pane, int x, int y)(Code)



uninstallComponents
protected void uninstallComponents()(Code)



uninstallDefaults
protected void uninstallDefaults()(Code)



uninstallKeyboardActions
protected void uninstallKeyboardActions()(Code)



uninstallListeners
protected void uninstallListeners()(Code)



uninstallUI
public void uninstallUI(JComponent c)(Code)



Methods inherited from javax.swing.plaf.TabbedPaneUI
abstract public Rectangle getTabBounds(JTabbedPane pane, int index)(Code)(Java Doc)
abstract public int getTabRunCount(JTabbedPane pane)(Code)(Java Doc)
abstract public int tabForCoordinate(JTabbedPane pane, int x, int y)(Code)(Java Doc)

Methods inherited from javax.swing.plaf.ComponentUI
public boolean contains(JComponent component, int x, int y)(Code)(Java Doc)
public static ComponentUI createUI(JComponent component)(Code)(Java Doc)
public Accessible getAccessibleChild(JComponent component, int childIndex)(Code)(Java Doc)
public int getAccessibleChildrenCount(JComponent component)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent component)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent component)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent component)(Code)(Java Doc)
public void installUI(JComponent component)(Code)(Java Doc)
public void paint(Graphics graphics, JComponent component)(Code)(Java Doc)
public void uninstallUI(JComponent component)(Code)(Java Doc)
public void update(Graphics graphics, JComponent component)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.