Java Doc for BasicJideTabbedPaneUI.java in  » Swing-Library » jide-common » com » jidesoft » 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 » Swing Library » jide common » com.jidesoft.plaf.basic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.TabbedPaneUI
         com.jidesoft.plaf.JideTabbedPaneUI
            com.jidesoft.plaf.basic.BasicJideTabbedPaneUI

All known Subclasses:   com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI,
BasicJideTabbedPaneUI
public class BasicJideTabbedPaneUI extends JideTabbedPaneUI implements SwingConstants,DocumentListener(Code)
A basic L&f implementation of JideTabbedPaneUI

Inner Class :public class TabbedPaneLayout implements LayoutManager
Inner Class :protected class TabbedPaneScrollLayout extends TabbedPaneLayout
Inner Class :protected class ActivateTabAction extends AbstractAction
Inner Class :public class ScrollableTabSupport implements ChangeListener
Inner Class :public class ScrollableTabViewport extends JViewport implements UIResource
Inner Class :public class ScrollableTabPanel extends JPanel implements UIResource
Inner Class :public class TabCloseButton extends JButton implements MouseMotionListener,MouseListener,UIResource
Inner Class :public class PropertyChangeHandler implements PropertyChangeListener
Inner Class :public class TabSelectionHandler implements ChangeListener
Inner Class :public class TabFocusListener implements FocusListener
Inner Class :public class MouseMotionHandler extends MouseMotionAdapter
Inner Class :public class MouseHandler extends MouseAdapter
Inner Class :static class AbstractTab
Inner Class :public static class TabSpaceAllocator
Inner Class :protected class TabEditor extends JTextField implements UIResource
Inner Class :public class DefaultMouseMotionHandler extends MouseMotionAdapter
Inner Class :public class DefaultMouseHandler extends BasicJideTabbedPaneUI.MouseHandler
Inner Class :public class RolloverMouseMotionHandler extends MouseMotionAdapter
Inner Class :public class RolloverMouseHandler extends BasicJideTabbedPaneUI.MouseHandler

Field Summary
final public static  intDEFAULT_LEFT_MARGIN
    
final public static  intEXCEL_LEFT_MARGIN
    
final public static  intOFFICE2003_LEFT_MARGIN
    
final protected  booleanPAINT_CONTENT_BORDER
    
final protected  booleanPAINT_CONTENT_BORDER_EDGE
    
final protected  booleanPAINT_TAB
    
final protected  booleanPAINT_TABAREA
    
final protected  booleanPAINT_TAB_BACKGROUND
    
final protected  booleanPAINT_TAB_BORDER
    
protected  Color_activeTabForeground
    
protected  boolean_alwaysShowLineBorder
    
protected  Color_background
    
protected  int_buttonMargin
    
protected  int_buttonSize
    
protected transient  Rectangle_calcRect
     A rectangle used for general layout calculations in order to avoid constructing many new Rectangles on the fly.
protected  int_closeButtonAlignment
    
protected  Color_closeButtonColor
    
protected  int_closeButtonLeftMargin
    
protected  int_closeButtonMargin
    
protected  int_closeButtonMarginHorizon
    
protected  int_closeButtonMarginSize
    
protected  int_closeButtonMarginVertical
    
protected  int_closeButtonRightMargin
    
protected  Color_closeButtonSelectedColor
    
protected  TabCloseButton[]_closeButtons
    
protected  int_compressedStyleCloseButtonMarginHorizon
    
protected  int_compressedStyleCloseButtonMarginVertical
    
protected  int_compressedStyleIconMargin
    
protected  int_compressedStyleNoIconRectSize
    
protected  Color_darkShadow
    
protected  Color_defaultTabBorderShadowColor
    
public  DropTarget_dt
    
protected  int_editingTab
    
protected  int_fitStyleBoundSize
    
protected  int_fitStyleFirstTabMargin
    
protected  int_fitStyleIconMinWidth
    
protected  int_fitStyleTextMinWidth
    
protected  int_fixedStyleRectSize
    
protected  Color_focus
    
protected  int_gripLeftMargin
    
protected  int_gripperHeight
    
protected  int_gripperWidth
    
protected  Color_highlight
    
protected  int_iconMargin
    
protected  boolean_ignoreContentBorderInsetsIfNoTabs
    
protected  Color_inactiveTabForeground
    
protected  int_indexMouseOver
    
protected  boolean_isEditing
    
protected  Color_lightHighlight
    
protected  int_maxTabHeight
    
protected  int_maxTabWidth
    
protected  boolean_mouseEnter
    
protected  MouseListener_mouseListener
    
protected  MouseMotionListener_mousemotionListener
    
protected  int_noIconMargin
    
protected  Color_officeTabBorderColor
    
protected  String_oldPostfix
    
protected  String_oldPrefix
    
protected  String_oldValue
    
protected  Color_popupColor
    
protected  PropertyChangeListener_propertyChangeListener
    
protected  int_rectSizeExtend
    
protected  Rectangle_rects
    
protected  int_runCount
    
protected  Color_selectColor1
    
protected  Color_selectColor2
    
protected  Color_selectColor3
    
protected  Color_selectedColor
    
protected  int_selectedRun
    
protected  Insets_selectedTabPadInsets
    
protected  Color_shadow
    
protected  boolean_showCloseButtonOnTab
    
protected  boolean_showFocusIndicator
    
protected  boolean_showIconOnTab
    
protected  Insets_tabAreaInsets
    
protected  Color_tabBackground
    
protected  ChangeListener_tabChangeListener
    
protected  TabEditor_tabEditor
    
protected  FocusListener_tabFocusListener
    
protected  Insets_tabInsets
    
protected  Component_tabLeadingComponent
    
protected  JideTabbedPane_tabPane
    
protected  int_tabRectPadding
    
protected  int_tabRunOverlay
    
protected  int_tabRuns
    
public  ScrollableTabSupport_tabScroller
    
protected  Component_tabTrailingComponent
    
protected  int_textIconGap
    
protected  int_textMarginVertical
    
protected  int_textPadding
    
protected  Color_unselectColor1
    
protected  Color_unselectColor2
    
protected  Color_unselectColor3
    
protected  PolygontabRegion
    
protected  TabSpaceAllocatortryTabSpacer
    


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, FontMetrics metrics)
    
protected  intcalculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics)
    
public  voidcancelTabEditing()
    
public  voidchangedUpdate(DocumentEvent e)
    
 ActionMapcreateActionMap()
    
protected  ChangeListenercreateChangeListener()
    
protected  TabEditorcreateDefaultTabEditor()
    
protected  DropListenercreateDropListener()
    
protected  FocusListenercreateFocusListener()
    
protected  LayoutManagercreateLayoutManager()
     Invoked by installUI to create a layout manager object to manage the JTabbedPane.
protected  MouseListenercreateMouseListener()
    
protected  MouseMotionListenercreateMouseMotionListener()
    
protected  TabCloseButtoncreateNoFocusButton(int type)
    
protected  PropertyChangeListenercreatePropertyChangeListener()
    
public static  ComponentUIcreateUI(JComponent c)
    
public  booleaneditTabAt(int tabIndex)
    
public  voidensureActiveTabIsVisible(boolean scrollLeft)
    
public  voidensureCloseButtonCreated()
    
protected  voidensureCurrentLayout()
    
protected  voidensureCurrentRects(int style, int tabCount)
    
protected  voidexpandTabRunsArray()
    
 ActionMapgetActionMap()
    
protected  ColorgetBorderEdgeColor()
    
protected  intgetColorTheme()
    
protected  InsetsgetContentBorderInsets(int tabPlacement)
    
public  intgetEditingTabIndex()
    
protected  FontMetricsgetFontMetrics(int tab)
    
protected  IcongetIconForTab(int tabIndex)
    
 InputMapgetInputMap(int condition)
    
protected  intgetLayoutSize()
    
protected  intgetLeftMargin()
    
public  DimensiongetMaximumSize(JComponent c)
    
public  DimensiongetMinimumSize(JComponent c)
    
protected  intgetNextTabIndex(int base)
    
protected  intgetNextTabIndexInRun(int tabCount, int base)
    
protected  intgetNextTabRun(int baseRun)
    
public  ThemePaintergetPainter()
    
public  DimensiongetPreferredSize(JComponent c)
    
protected  intgetPreviousTabIndex(int base)
    
protected  intgetPreviousTabIndexInRun(int tabCount, int base)
    
protected  intgetPreviousTabRun(int baseRun)
    
protected  intgetRunForTab(int tabCount, int tabIndex)
    
protected  InsetsgetSelectedTabPadInsets(int tabPlacement)
    
protected  InsetsgetTabAreaInsets(int tabPlacement)
    
public  intgetTabAtLocation(int x, int y)
     Returns the tab index which intersects the specified point in the coordinate space of the component where the tabs are actually rendered, which could be the JTabbedPane (for WRAP_TAB_LAYOUT) or a ScrollableTabPanel (SCROLL_TAB_LAYOUT).
public  RectanglegetTabBounds(JTabbedPane pane, int i)
     Returns the bounds of the specified tab index.
protected  RectanglegetTabBounds(int tabIndex, Rectangle dest)
     Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component.
protected  intgetTabGap()
    
protected  InsetsgetTabInsets(int tabPlacement, int tabIndex)
    
protected  ListCellRenderergetTabListCellRenderer()
    
public  ComponentgetTabPanel()
    
protected  intgetTabResizeMode()
    
protected  intgetTabRightPadding()
    
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  intgetTabShape()
    
protected  RectanglegetTabsTextBoundsAt(int tabIndex)
    
protected  ViewgetTextViewForTab(int tabIndex)
     Returns the text View object required to render stylized text (HTML) for the specified tab or null if no specialized text rendering is needed for this tab.
protected  ComponentgetVisibleComponent()
    
public  voidinsertUpdate(DocumentEvent e)
    
public  voidinstallColorTheme()
    
protected  voidinstallComponents()
     Creates and installs any required subcomponents for the JTabbedPane.
protected  voidinstallDefaults()
    
protected  voidinstallKeyboardActions()
    
protected  voidinstallListeners()
    
public  voidinstallUI(JComponent c)
    
protected  booleanisRoundedCorner()
    
protected  booleanisShowCloseButton()
    
protected  booleanisShowCloseButtonOnTab()
    
protected  booleanisShowTabButtons()
    
protected  booleanisShrinkTabs()
    
public  booleanisTabEditing()
    
protected  booleanisTabLeadingComponentVisible()
    
protected  booleanisTabTopVisible(int tabPlacement)
    
protected  booleanisTabTrailingComponentVisible()
    
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)
    
public  voidpaintBackground(Graphics g, Component c)
    
protected  voidpaintBoxTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintButtonTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintContentBorder(Graphics g, int tabPlacement, int selectedIndex)
    
protected  voidpaintContentBorder(Graphics g, int x, int y, int w, int h)
    
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  voidpaintDefaultTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintExcelTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintExcelTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintFlatTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintFlatTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
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  voidpaintOffice2003TabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintOffice2003TabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintRoundedFlatTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintRoundedVsnetTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
    
protected  voidpaintTabArea(Graphics g, int tabPlacement, int selectedIndex)
     Paints the tabs in the tab area. Invoked by paint(). The graphics parameter must be a valid Graphics object.
protected  voidpaintTabAreaBackground(Graphics g, Rectangle rect, int tabPlacement)
    
protected  voidpaintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintTabBackgroundMouseOver(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected, Color backgroundUnselectedColorStart, Color backgroundUnselectedColorEnd)
    
protected  voidpaintTabBorder(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.
protected  voidpaintTabBorderMouseOver(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  voidpaintVsnetTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintVsnetTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidpaintWindowsTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    
protected  voidprepareEditor(TabEditor e, int tabIndex)
    
public  voidremoveUpdate(DocumentEvent e)
    
protected  booleanrequestFocusForVisibleComponent()
    
public static  voidrotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)
    
protected  booleanscrollableTabLayoutEnabled()
    
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  voidsetVisibleComponent(Component component)
    
protected  booleanshouldPadTabRun(int tabPlacement, int run)
    
protected  booleanshouldRotateTabRuns(int tabPlacement)
    
protected  booleanshowFocusIndicator()
    
public  voidstartEditing(MouseEvent e)
    
public  voidstopTabEditing()
    
public  inttabForCoordinate(JTabbedPane pane, int x, int y)
     Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.
public  voiduninstallColorTheme()
    
protected  voiduninstallComponents()
     Removes any installed subcomponents from the JTabbedPane.
protected  voiduninstallDefaults()
    
protected  voiduninstallKeyboardActions()
    
protected  voiduninstallListeners()
    
public  voiduninstallUI(JComponent c)
    

Field Detail
DEFAULT_LEFT_MARGIN
final public static int DEFAULT_LEFT_MARGIN(Code)



EXCEL_LEFT_MARGIN
final public static int EXCEL_LEFT_MARGIN(Code)



OFFICE2003_LEFT_MARGIN
final public static int OFFICE2003_LEFT_MARGIN(Code)



PAINT_CONTENT_BORDER
final protected boolean PAINT_CONTENT_BORDER(Code)



PAINT_CONTENT_BORDER_EDGE
final protected boolean PAINT_CONTENT_BORDER_EDGE(Code)



PAINT_TAB
final protected boolean PAINT_TAB(Code)



PAINT_TABAREA
final protected boolean PAINT_TABAREA(Code)



PAINT_TAB_BACKGROUND
final protected boolean PAINT_TAB_BACKGROUND(Code)



PAINT_TAB_BORDER
final protected boolean PAINT_TAB_BORDER(Code)



_activeTabForeground
protected Color _activeTabForeground(Code)



_alwaysShowLineBorder
protected boolean _alwaysShowLineBorder(Code)



_background
protected Color _background(Code)



_buttonMargin
protected int _buttonMargin(Code)



_buttonSize
protected int _buttonSize(Code)



_calcRect
protected transient Rectangle _calcRect(Code)
A rectangle used for general layout calculations in order to avoid constructing many new Rectangles on the fly.



_closeButtonAlignment
protected int _closeButtonAlignment(Code)



_closeButtonColor
protected Color _closeButtonColor(Code)



_closeButtonLeftMargin
protected int _closeButtonLeftMargin(Code)



_closeButtonMargin
protected int _closeButtonMargin(Code)



_closeButtonMarginHorizon
protected int _closeButtonMarginHorizon(Code)



_closeButtonMarginSize
protected int _closeButtonMarginSize(Code)



_closeButtonMarginVertical
protected int _closeButtonMarginVertical(Code)



_closeButtonRightMargin
protected int _closeButtonRightMargin(Code)



_closeButtonSelectedColor
protected Color _closeButtonSelectedColor(Code)



_closeButtons
protected TabCloseButton[] _closeButtons(Code)



_compressedStyleCloseButtonMarginHorizon
protected int _compressedStyleCloseButtonMarginHorizon(Code)



_compressedStyleCloseButtonMarginVertical
protected int _compressedStyleCloseButtonMarginVertical(Code)



_compressedStyleIconMargin
protected int _compressedStyleIconMargin(Code)



_compressedStyleNoIconRectSize
protected int _compressedStyleNoIconRectSize(Code)



_darkShadow
protected Color _darkShadow(Code)



_defaultTabBorderShadowColor
protected Color _defaultTabBorderShadowColor(Code)



_dt
public DropTarget _dt(Code)



_editingTab
protected int _editingTab(Code)



_fitStyleBoundSize
protected int _fitStyleBoundSize(Code)



_fitStyleFirstTabMargin
protected int _fitStyleFirstTabMargin(Code)



_fitStyleIconMinWidth
protected int _fitStyleIconMinWidth(Code)



_fitStyleTextMinWidth
protected int _fitStyleTextMinWidth(Code)



_fixedStyleRectSize
protected int _fixedStyleRectSize(Code)



_focus
protected Color _focus(Code)



_gripLeftMargin
protected int _gripLeftMargin(Code)



_gripperHeight
protected int _gripperHeight(Code)



_gripperWidth
protected int _gripperWidth(Code)



_highlight
protected Color _highlight(Code)



_iconMargin
protected int _iconMargin(Code)



_ignoreContentBorderInsetsIfNoTabs
protected boolean _ignoreContentBorderInsetsIfNoTabs(Code)



_inactiveTabForeground
protected Color _inactiveTabForeground(Code)



_indexMouseOver
protected int _indexMouseOver(Code)



_isEditing
protected boolean _isEditing(Code)



_lightHighlight
protected Color _lightHighlight(Code)



_maxTabHeight
protected int _maxTabHeight(Code)



_maxTabWidth
protected int _maxTabWidth(Code)



_mouseEnter
protected boolean _mouseEnter(Code)



_mouseListener
protected MouseListener _mouseListener(Code)



_mousemotionListener
protected MouseMotionListener _mousemotionListener(Code)



_noIconMargin
protected int _noIconMargin(Code)



_officeTabBorderColor
protected Color _officeTabBorderColor(Code)



_oldPostfix
protected String _oldPostfix(Code)



_oldPrefix
protected String _oldPrefix(Code)



_oldValue
protected String _oldValue(Code)



_popupColor
protected Color _popupColor(Code)



_propertyChangeListener
protected PropertyChangeListener _propertyChangeListener(Code)



_rectSizeExtend
protected int _rectSizeExtend(Code)



_rects
protected Rectangle _rects(Code)



_runCount
protected int _runCount(Code)



_selectColor1
protected Color _selectColor1(Code)



_selectColor2
protected Color _selectColor2(Code)



_selectColor3
protected Color _selectColor3(Code)



_selectedColor
protected Color _selectedColor(Code)



_selectedRun
protected int _selectedRun(Code)



_selectedTabPadInsets
protected Insets _selectedTabPadInsets(Code)



_shadow
protected Color _shadow(Code)



_showCloseButtonOnTab
protected boolean _showCloseButtonOnTab(Code)



_showFocusIndicator
protected boolean _showFocusIndicator(Code)



_showIconOnTab
protected boolean _showIconOnTab(Code)



_tabAreaInsets
protected Insets _tabAreaInsets(Code)



_tabBackground
protected Color _tabBackground(Code)



_tabChangeListener
protected ChangeListener _tabChangeListener(Code)



_tabEditor
protected TabEditor _tabEditor(Code)



_tabFocusListener
protected FocusListener _tabFocusListener(Code)



_tabInsets
protected Insets _tabInsets(Code)



_tabLeadingComponent
protected Component _tabLeadingComponent(Code)



_tabPane
protected JideTabbedPane _tabPane(Code)



_tabRectPadding
protected int _tabRectPadding(Code)



_tabRunOverlay
protected int _tabRunOverlay(Code)



_tabRuns
protected int _tabRuns(Code)



_tabScroller
public ScrollableTabSupport _tabScroller(Code)



_tabTrailingComponent
protected Component _tabTrailingComponent(Code)



_textIconGap
protected int _textIconGap(Code)



_textMarginVertical
protected int _textMarginVertical(Code)



_textPadding
protected int _textPadding(Code)



_unselectColor1
protected Color _unselectColor1(Code)



_unselectColor2
protected Color _unselectColor2(Code)



_unselectColor3
protected Color _unselectColor3(Code)



tabRegion
protected Polygon tabRegion(Code)



tryTabSpacer
protected TabSpaceAllocator tryTabSpacer(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, FontMetrics metrics)(Code)



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



cancelTabEditing
public void cancelTabEditing()(Code)



changedUpdate
public void changedUpdate(DocumentEvent e)(Code)



createActionMap
ActionMap createActionMap()(Code)



createChangeListener
protected ChangeListener createChangeListener()(Code)



createDefaultTabEditor
protected TabEditor createDefaultTabEditor()(Code)



createDropListener
protected DropListener createDropListener()(Code)



createFocusListener
protected FocusListener createFocusListener()(Code)



createLayoutManager
protected LayoutManager createLayoutManager()(Code)
Invoked by installUI to create a layout manager object to manage the JTabbedPane. a layout manager object
See Also:   TabbedPaneLayout
See Also:   JTabbedPane.getTabLayoutPolicy



createMouseListener
protected MouseListener createMouseListener()(Code)



createMouseMotionListener
protected MouseMotionListener createMouseMotionListener()(Code)



createNoFocusButton
protected TabCloseButton createNoFocusButton(int type)(Code)



createPropertyChangeListener
protected PropertyChangeListener createPropertyChangeListener()(Code)



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



editTabAt
public boolean editTabAt(int tabIndex)(Code)



ensureActiveTabIsVisible
public void ensureActiveTabIsVisible(boolean scrollLeft)(Code)



ensureCloseButtonCreated
public void ensureCloseButtonCreated()(Code)



ensureCurrentLayout
protected void ensureCurrentLayout()(Code)



ensureCurrentRects
protected void ensureCurrentRects(int style, int tabCount)(Code)



expandTabRunsArray
protected void expandTabRunsArray()(Code)



getActionMap
ActionMap getActionMap()(Code)



getBorderEdgeColor
protected Color getBorderEdgeColor()(Code)



getColorTheme
protected int getColorTheme()(Code)



getContentBorderInsets
protected Insets getContentBorderInsets(int tabPlacement)(Code)



getEditingTabIndex
public int getEditingTabIndex()(Code)



getFontMetrics
protected FontMetrics getFontMetrics(int tab)(Code)



getIconForTab
protected Icon getIconForTab(int tabIndex)(Code)



getInputMap
InputMap getInputMap(int condition)(Code)



getLayoutSize
protected int getLayoutSize()(Code)



getLeftMargin
protected int getLeftMargin()(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)



getPainter
public ThemePainter getPainter()(Code)



getPreferredSize
public Dimension getPreferredSize(JComponent c)(Code)



getPreviousTabIndex
protected int getPreviousTabIndex(int base)(Code)



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



getPreviousTabRun
protected int getPreviousTabRun(int baseRun)(Code)



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



getSelectedTabPadInsets
protected Insets getSelectedTabPadInsets(int tabPlacement)(Code)



getTabAreaInsets
protected Insets getTabAreaInsets(int tabPlacement)(Code)



getTabAtLocation
public int getTabAtLocation(int x, int y)(Code)
Returns the tab index which intersects the specified point in the coordinate space of the component where the tabs are actually rendered, which could be the JTabbedPane (for WRAP_TAB_LAYOUT) or a ScrollableTabPanel (SCROLL_TAB_LAYOUT).



getTabBounds
public Rectangle getTabBounds(JTabbedPane pane, int i)(Code)
Returns the bounds of the specified tab index. The bounds are with respect to the JTabbedPane's coordinate space.



getTabBounds
protected Rectangle getTabBounds(int tabIndex, Rectangle dest)(Code)
Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component. This is required because the tab rects are by default defined in the coordinate space of the component where they are rendered, which could be the JTabbedPane (for WRAP_TAB_LAYOUT) or a ScrollableTabPanel (SCROLL_TAB_LAYOUT). This method should be used whenever the tab rectangle must be relative to the JTabbedPane itself and the result should be placed in a designated Rectangle object (rather than instantiating and returning a new Rectangle each time). The tab index parameter must be a valid tabbed pane tab index (0 to tab count - 1, inclusive). The destination rectangle parameter must be a valid Rectangle instance. The handling of invalid parameters is unspecified.
Parameters:
  tabIndex - the index of the tab
Parameters:
  dest - the rectangle where the result should be placed the resulting rectangle



getTabGap
protected int getTabGap()(Code)



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



getTabListCellRenderer
protected ListCellRenderer getTabListCellRenderer()(Code)



getTabPanel
public Component getTabPanel()(Code)



getTabResizeMode
protected int getTabResizeMode()(Code)



getTabRightPadding
protected int getTabRightPadding()(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)



getTabShape
protected int getTabShape()(Code)



getTabsTextBoundsAt
protected Rectangle getTabsTextBoundsAt(int tabIndex)(Code)



getTextViewForTab
protected View getTextViewForTab(int tabIndex)(Code)
Returns the text View object required to render stylized text (HTML) for the specified tab or null if no specialized text rendering is needed for this tab. This is provided to support html rendering inside tabs.
Parameters:
  tabIndex - the index of the tab the text view to render the tab's text or null if nospecialized rendering is required



getVisibleComponent
protected Component getVisibleComponent()(Code)



insertUpdate
public void insertUpdate(DocumentEvent e)(Code)



installColorTheme
public void installColorTheme()(Code)



installComponents
protected void installComponents()(Code)
Creates and installs any required subcomponents for the JTabbedPane. Invoked by installUI.



installDefaults
protected void installDefaults()(Code)



installKeyboardActions
protected void installKeyboardActions()(Code)



installListeners
protected void installListeners()(Code)



installUI
public void installUI(JComponent c)(Code)



isRoundedCorner
protected boolean isRoundedCorner()(Code)



isShowCloseButton
protected boolean isShowCloseButton()(Code)



isShowCloseButtonOnTab
protected boolean isShowCloseButtonOnTab()(Code)



isShowTabButtons
protected boolean isShowTabButtons()(Code)



isShrinkTabs
protected boolean isShrinkTabs()(Code)



isTabEditing
public boolean isTabEditing()(Code)



isTabLeadingComponentVisible
protected boolean isTabLeadingComponentVisible()(Code)



isTabTopVisible
protected boolean isTabTopVisible(int tabPlacement)(Code)



isTabTrailingComponentVisible
protected boolean isTabTrailingComponentVisible()(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)



paintBackground
public void paintBackground(Graphics g, Component c)(Code)



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



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



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



paintContentBorder
protected void paintContentBorder(Graphics g, int x, int y, int w, int h)(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)



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



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



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



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



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



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)



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



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



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



paintRoundedVsnetTabBorder
protected void paintRoundedVsnetTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, 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)
Paints the tabs in the tab area. Invoked by paint(). The graphics parameter must be a valid Graphics object. Tab placement may be either: JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, or JTabbedPane.RIGHT. The selected index must be a valid tabbed pane tab index (0 to tab count - 1, inclusive) or -1 if no tab is currently selected. The handling of invalid parameters is unspecified.
Parameters:
  g - the graphics object to use for rendering
Parameters:
  tabPlacement - the placement for the tabs within the JTabbedPane
Parameters:
  selectedIndex - the tab index of the selected component



paintTabAreaBackground
protected void paintTabAreaBackground(Graphics g, Rectangle rect, int tabPlacement)(Code)



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



paintTabBackgroundMouseOver
protected void paintTabBackgroundMouseOver(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected, Color backgroundUnselectedColorStart, Color backgroundUnselectedColorEnd)(Code)



paintTabBorder
protected void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)(Code)
this function draws the border around each tab note that this function does now draw the background of the tab. that is done elsewhere



paintTabBorderMouseOver
protected void paintTabBorderMouseOver(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)



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



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



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



prepareEditor
protected void prepareEditor(TabEditor e, int tabIndex)(Code)



removeUpdate
public void removeUpdate(DocumentEvent e)(Code)



requestFocusForVisibleComponent
protected boolean requestFocusForVisibleComponent()(Code)



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



scrollableTabLayoutEnabled
protected boolean scrollableTabLayoutEnabled()(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)



setVisibleComponent
protected void setVisibleComponent(Component component)(Code)



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



shouldRotateTabRuns
protected boolean shouldRotateTabRuns(int tabPlacement)(Code)



showFocusIndicator
protected boolean showFocusIndicator()(Code)



startEditing
public void startEditing(MouseEvent e)(Code)



stopTabEditing
public void stopTabEditing()(Code)



tabForCoordinate
public int tabForCoordinate(JTabbedPane pane, int x, int y)(Code)
Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.



uninstallColorTheme
public void uninstallColorTheme()(Code)



uninstallComponents
protected void uninstallComponents()(Code)
Removes any installed subcomponents from the JTabbedPane. Invoked by uninstallUI.



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 com.jidesoft.plaf.JideTabbedPaneUI
abstract public void cancelTabEditing()(Code)(Java Doc)
abstract public boolean editTabAt(int tabIndex)(Code)(Java Doc)
abstract public void ensureActiveTabIsVisible(boolean scrollLeft)(Code)(Java Doc)
abstract public int getEditingTabIndex()(Code)(Java Doc)
abstract public Component getTabPanel()(Code)(Java Doc)
abstract public boolean isTabEditing()(Code)(Java Doc)
abstract public void stopTabEditing()(Code)(Java Doc)

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 c, int x, int y)(Code)(Java Doc)
public static ComponentUI createUI(JComponent c)(Code)(Java Doc)
public Accessible getAccessibleChild(JComponent c, int i)(Code)(Java Doc)
public int getAccessibleChildrenCount(JComponent c)(Code)(Java Doc)
public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc)
public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent c)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent c)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent c)(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
public void paint(Graphics g, JComponent c)(Code)(Java Doc)
public void uninstallUI(JComponent c)(Code)(Java Doc)
public void update(Graphics g, JComponent c)(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.