Java Doc for BasicTabbedPaneUI.java in  » 6.0-JDK-Core » swing » javax » swing » plaf » basic » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
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
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » swing » 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,  javax.swing.plaf.synth.SynthTabbedPaneUI,
BasicTabbedPaneUI
public class BasicTabbedPaneUI extends TabbedPaneUI implements SwingConstants(Code)
A Basic L&F implementation of TabbedPaneUI.
version:
   1.87 06/08/99
author:
   Amy Fowler
author:
   Philip Milne
author:
   Steve Wilson
author:
   Tom Santos
author:
   Dave Moore

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

Field Summary
protected transient  RectanglecalcRect
     A rectangle used for general layout calculations in order to avoid constructing many new Rectangles on the fly.
protected  InsetscontentBorderInsets
    
protected  ColordarkShadow
    
protected  KeyStrokedownKey
     As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected  Colorfocus
    
protected  FocusListenerfocusListener
    
protected  Colorhighlight
    
protected  KeyStrokeleftKey
     As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected  ColorlightHighlight
    
protected  intmaxTabHeight
    
protected  intmaxTabWidth
    
protected  MouseListenermouseListener
    
protected  PropertyChangeListenerpropertyChangeListener
    
protected  Rectanglerects
    
protected  KeyStrokerightKey
     As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected  intrunCount
    
protected  intselectedRun
    
protected  InsetsselectedTabPadInsets
    
protected  Colorshadow
    
protected  InsetstabAreaInsets
    
protected  ChangeListenertabChangeListener
    
protected  InsetstabInsets
    
protected  JTabbedPanetabPane
    
protected  inttabRunOverlay
    
protected  inttabRuns
    
protected  inttextIconGap
    
protected  KeyStrokeupKey
     As of Java 2 platform v1.3 this previously undocumented field is no longer used.


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 metrics)
    
protected  ChangeListenercreateChangeListener()
    
protected  FocusListenercreateFocusListener()
    
protected  LayoutManagercreateLayoutManager()
     Invoked by installUI to create a layout manager object to manage the JTabbedPane.
protected  MouseListenercreateMouseListener()
    
protected  PropertyChangeListenercreatePropertyChangeListener()
    
protected  JButtoncreateScrollButton(int direction)
     Creates and returns a JButton that will provide the user with a way to scroll the tabs in a particular direction.
public static  ComponentUIcreateUI(JComponent c)
    
protected  voidexpandTabRunsArray()
    
public  intgetBaseline(JComponent c, int width, int height)
     Returns the baseline.
protected  intgetBaseline(int tab)
     Returns the baseline for the specified tab.
protected  intgetBaselineOffset()
     Returns the amount the baseline is offset by.
public  Component.BaselineResizeBehaviorgetBaselineResizeBehavior(JComponent c)
     Returns an enum indicating how the baseline of the component changes as the size changes.
protected  InsetsgetContentBorderInsets(int tabPlacement)
    
protected  intgetFocusIndex()
     Returns the index of the tab that has focus.
protected  FontMetricsgetFontMetrics()
    
protected  IcongetIconForTab(int tabIndex)
    
 InputMapgetInputMap(int condition)
    
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()
     Returns the tab the mouse is currently over, or -1 if the mouse is no longer over any tab.
protected  intgetRunForTab(int tabCount, int tabIndex)
    
protected  InsetsgetSelectedTabPadInsets(int tabPlacement)
    
protected  InsetsgetTabAreaInsets(int tabPlacement)
    
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  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)
     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()
    
protected  voidinstallComponents()
     Creates and installs any required subcomponents for the JTabbedPane.
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)
    
static  voidloadActionMap(LazyActionMap map)
    
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)
    
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  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)
     Paints the tabs in the tab area. Invoked by paint(). The graphics parameter must be a valid Graphics object.
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)
     this function draws the border around each tab note that this function does now draw the background of the tab.
protected  voidpaintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
    
 booleanrequestFocusForVisibleComponent()
    
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)
    
 voidsetFocusIndex(int index, boolean repaint)
    
protected  voidsetRolloverTab(int index)
     Sets the tab the mouse is currently over to index. index will be -1 if the mouse is no longer over any tab.
protected  voidsetVisibleComponent(Component component)
    
protected  booleanshouldPadTabRun(int tabPlacement, int run)
    
protected  booleanshouldRotateTabRuns(int tabPlacement)
    
public  inttabForCoordinate(JTabbedPane pane, int x, int y)
     Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.
protected  voiduninstallComponents()
     Removes any installed subcomponents from the JTabbedPane.
protected  voiduninstallDefaults()
    
protected  voiduninstallKeyboardActions()
    
protected  voiduninstallListeners()
    
public  voiduninstallUI(JComponent c)
    

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



contentBorderInsets
protected Insets contentBorderInsets(Code)



darkShadow
protected Color darkShadow(Code)



downKey
protected KeyStroke downKey(Code)
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.



focus
protected Color focus(Code)



focusListener
protected FocusListener focusListener(Code)



highlight
protected Color highlight(Code)



leftKey
protected KeyStroke leftKey(Code)
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.



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)
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.



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)
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.





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 metrics)(Code)



createChangeListener
protected ChangeListener createChangeListener()(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:   javax.swing.JTabbedPane.getTabLayoutPolicy



createMouseListener
protected MouseListener createMouseListener()(Code)



createPropertyChangeListener
protected PropertyChangeListener createPropertyChangeListener()(Code)



createScrollButton
protected JButton createScrollButton(int direction)(Code)
Creates and returns a JButton that will provide the user with a way to scroll the tabs in a particular direction. The returned JButton must be instance of UIResource.
Parameters:
  direction - One of the SwingConstants constants:SOUTH, NORTH, EAST or WEST Widget for user to
See Also:   javax.swing.JTabbedPane.setTabPlacement
See Also:   javax.swing.SwingConstants
throws:
  IllegalArgumentException - if direction is not one ofNORTH, SOUTH, EAST or WEST
since:
   1.5



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



expandTabRunsArray
protected void expandTabRunsArray()(Code)



getBaseline
public int getBaseline(JComponent c, int width, int height)(Code)
Returns the baseline.
throws:
  NullPointerException -
throws:
  IllegalArgumentException -
See Also:   javax.swing.JComponent.getBaseline(intint)
since:
   1.6



getBaseline
protected int getBaseline(int tab)(Code)
Returns the baseline for the specified tab.
Parameters:
  tab - index of tab to get baseline for
exception:
  IndexOutOfBoundsException - if index is out of range (index < 0 || index >= tab count) baseline or a value < 0 indicating there is no reasonablebaseline
since:
   1.6



getBaselineOffset
protected int getBaselineOffset()(Code)
Returns the amount the baseline is offset by. This is typically the same as getTabLabelShiftY. amount to offset the baseline by
since:
   1.6



getBaselineResizeBehavior
public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)
Returns an enum indicating how the baseline of the component changes as the size changes.
throws:
  NullPointerException -
See Also:   javax.swing.JComponent.getBaseline(intint)
since:
   1.6



getContentBorderInsets
protected Insets getContentBorderInsets(int tabPlacement)(Code)



getFocusIndex
protected int getFocusIndex()(Code)
Returns the index of the tab that has focus. index of tab that has focus
since:
   1.5



getFontMetrics
protected FontMetrics getFontMetrics()(Code)



getIconForTab
protected Icon getIconForTab(int tabIndex)(Code)



getInputMap
InputMap getInputMap(int condition)(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)
Returns the tab the mouse is currently over, or -1 if the mouse is no longer over any tab. the tab the mouse is currently over, or -1 if the mouse is nolonger over any tab
since:
   1.5



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



getSelectedTabPadInsets
protected Insets getSelectedTabPadInsets(int tabPlacement)(Code)



getTabAreaInsets
protected Insets getTabAreaInsets(int tabPlacement)(Code)



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
since:
   1.4



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)
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
since:
   1.4



getVisibleComponent
protected Component getVisibleComponent()(Code)



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



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)



loadActionMap
static void loadActionMap(LazyActionMap map)(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)



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)



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)
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
since:
   1.4



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)
this function draws the border around each tab note that this function does now draw the background of the tab. that is done elsewhere



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



requestFocusForVisibleComponent
boolean requestFocusForVisibleComponent()(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)



setFocusIndex
void setFocusIndex(int index, boolean repaint)(Code)



setRolloverTab
protected void setRolloverTab(int index)(Code)
Sets the tab the mouse is currently over to index. index will be -1 if the mouse is no longer over any tab. No checking is done to ensure the passed in index identifies a valid tab.
Parameters:
  index - Index of the tab the mouse is over.
since:
   1.5



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)
Returns the tab index which intersects the specified point in the JTabbedPane's coordinate space.



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



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 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.