| 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,
Inner Class :public class TabbedPaneLayout implements LayoutManager | |
Inner Class :protected class TabbedPaneScrollLayout extends TabbedPaneLayout | |
Inner Class :public class ScrollableTabSupport implements ChangeListener | |
Inner Class :public class ScrollableTabPanel extends JPanel implements UIResource | |
Inner Class :public class TabSelectionHandler implements ChangeListener | |
Inner Class :public class TabFocusListener implements FocusListener | |
Inner Class :static class AbstractTab | |
Inner Class :public static class TabSpaceAllocator | |
Method Summary | |
protected void | assureRectsCreated(int tabCount) | protected int | calculateMaxTabHeight(int tabPlacement) | protected int | calculateMaxTabWidth(int tabPlacement) | protected int | calculateTabAreaHeight(int tabPlacement, int horizRunCount, int maxTabHeight) | protected int | calculateTabAreaWidth(int tabPlacement, int vertRunCount, int maxTabWidth) | protected int | calculateTabHeight(int tabPlacement, int tabIndex, FontMetrics metrics) | protected int | calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics) | public void | cancelTabEditing() | public void | changedUpdate(DocumentEvent e) | ActionMap | createActionMap() | protected ChangeListener | createChangeListener() | protected TabEditor | createDefaultTabEditor() | protected DropListener | createDropListener() | protected FocusListener | createFocusListener() | protected LayoutManager | createLayoutManager() Invoked by installUI to create
a layout manager object to manage
the JTabbedPane . | protected MouseListener | createMouseListener() | protected MouseMotionListener | createMouseMotionListener() | protected TabCloseButton | createNoFocusButton(int type) | protected PropertyChangeListener | createPropertyChangeListener() | public static ComponentUI | createUI(JComponent c) | public boolean | editTabAt(int tabIndex) | public void | ensureActiveTabIsVisible(boolean scrollLeft) | public void | ensureCloseButtonCreated() | protected void | ensureCurrentLayout() | protected void | ensureCurrentRects(int style, int tabCount) | protected void | expandTabRunsArray() | ActionMap | getActionMap() | protected Color | getBorderEdgeColor() | protected int | getColorTheme() | protected Insets | getContentBorderInsets(int tabPlacement) | public int | getEditingTabIndex() | protected FontMetrics | getFontMetrics(int tab) | protected Icon | getIconForTab(int tabIndex) | InputMap | getInputMap(int condition) | protected int | getLayoutSize() | protected int | getLeftMargin() | public Dimension | getMaximumSize(JComponent c) | public Dimension | getMinimumSize(JComponent c) | protected int | getNextTabIndex(int base) | protected int | getNextTabIndexInRun(int tabCount, int base) | protected int | getNextTabRun(int baseRun) | public ThemePainter | getPainter() | public Dimension | getPreferredSize(JComponent c) | protected int | getPreviousTabIndex(int base) | protected int | getPreviousTabIndexInRun(int tabCount, int base) | protected int | getPreviousTabRun(int baseRun) | protected int | getRunForTab(int tabCount, int tabIndex) | protected Insets | getSelectedTabPadInsets(int tabPlacement) | protected Insets | getTabAreaInsets(int tabPlacement) | public int | getTabAtLocation(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 Rectangle | getTabBounds(JTabbedPane pane, int i) Returns the bounds of the specified tab index. | protected Rectangle | getTabBounds(int tabIndex, Rectangle dest) Returns the bounds of the specified tab in the coordinate space
of the JTabbedPane component. | protected int | getTabGap() | protected Insets | getTabInsets(int tabPlacement, int tabIndex) | protected ListCellRenderer | getTabListCellRenderer() | public Component | getTabPanel() | protected int | getTabResizeMode() | protected int | getTabRightPadding() | public int | getTabRunCount(JTabbedPane pane) | protected int | getTabRunIndent(int tabPlacement, int run) | protected int | getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward) | protected int | getTabRunOverlay(int tabPlacement) | protected int | getTabShape() | protected Rectangle | getTabsTextBoundsAt(int tabIndex) | protected View | getTextViewForTab(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 Component | getVisibleComponent() | public void | insertUpdate(DocumentEvent e) | public void | installColorTheme() | protected void | installComponents() Creates and installs any required subcomponents for the JTabbedPane. | protected void | installDefaults() | protected void | installKeyboardActions() | protected void | installListeners() | public void | installUI(JComponent c) | protected boolean | isRoundedCorner() | protected boolean | isShowCloseButton() | protected boolean | isShowCloseButtonOnTab() | protected boolean | isShowTabButtons() | protected boolean | isShrinkTabs() | public boolean | isTabEditing() | protected boolean | isTabLeadingComponentVisible() | protected boolean | isTabTopVisible(int tabPlacement) | protected boolean | isTabTrailingComponentVisible() | protected int | lastTabInRun(int tabCount, int run) | protected void | layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected) | protected void | navigateSelectedTab(int direction) | public void | paint(Graphics g, JComponent c) | public void | paintBackground(Graphics g, Component c) | protected void | paintBoxTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintButtonTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) | protected void | paintContentBorder(Graphics g, int x, int y, int w, int h) | protected void | paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) | protected void | paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) | protected void | paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) | protected void | paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) | protected void | paintDefaultTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintExcelTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintExcelTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintFlatTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintFlatTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) | protected void | paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected) | protected void | paintOffice2003TabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintOffice2003TabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintRoundedFlatTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintRoundedVsnetTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) | protected void | paintTabArea(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 void | paintTabAreaBackground(Graphics g, Rectangle rect, int tabPlacement) | protected void | paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintTabBackgroundMouseOver(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected, Color backgroundUnselectedColorStart, Color backgroundUnselectedColorEnd) | protected void | paintTabBorder(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 void | paintTabBorderMouseOver(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) | protected void | paintVsnetTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintVsnetTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | paintWindowsTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) | protected void | prepareEditor(TabEditor e, int tabIndex) | public void | removeUpdate(DocumentEvent e) | protected boolean | requestFocusForVisibleComponent() | public static void | rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement) | protected boolean | scrollableTabLayoutEnabled() | protected void | selectAdjacentRunTab(int tabPlacement, int tabIndex, int offset) | protected void | selectNextTab(int current) | protected void | selectNextTabInRun(int current) | protected void | selectPreviousTab(int current) | protected void | selectPreviousTabInRun(int current) | protected void | setVisibleComponent(Component component) | protected boolean | shouldPadTabRun(int tabPlacement, int run) | protected boolean | shouldRotateTabRuns(int tabPlacement) | protected boolean | showFocusIndicator() | public void | startEditing(MouseEvent e) | public void | stopTabEditing() | public int | tabForCoordinate(JTabbedPane pane, int x, int y) Returns the tab index which intersects the specified point
in the JTabbedPane's coordinate space. | public void | uninstallColorTheme() | protected void | uninstallComponents() Removes any installed subcomponents from the JTabbedPane. | protected void | uninstallDefaults() | protected void | uninstallKeyboardActions() | protected void | uninstallListeners() | public void | uninstallUI(JComponent c) |
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) | | |
_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) | | |
_defaultTabBorderShadowColor | protected Color _defaultTabBorderShadowColor(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) | | |
_gripLeftMargin | protected int _gripLeftMargin(Code) | | |
_gripperHeight | protected int _gripperHeight(Code) | | |
_gripperWidth | protected int _gripperWidth(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) | | |
_maxTabHeight | protected int _maxTabHeight(Code) | | |
_maxTabWidth | protected int _maxTabWidth(Code) | | |
_mouseEnter | protected boolean _mouseEnter(Code) | | |
_noIconMargin | protected int _noIconMargin(Code) | | |
_officeTabBorderColor | protected Color _officeTabBorderColor(Code) | | |
_rectSizeExtend | protected int _rectSizeExtend(Code) | | |
_runCount | protected int _runCount(Code) | | |
_selectedRun | protected int _selectedRun(Code) | | |
_selectedTabPadInsets | protected Insets _selectedTabPadInsets(Code) | | |
_showCloseButtonOnTab | protected boolean _showCloseButtonOnTab(Code) | | |
_showFocusIndicator | protected boolean _showFocusIndicator(Code) | | |
_showIconOnTab | protected boolean _showIconOnTab(Code) | | |
_tabEditor | protected TabEditor _tabEditor(Code) | | |
_tabRectPadding | protected int _tabRectPadding(Code) | | |
_tabRunOverlay | protected int _tabRunOverlay(Code) | | |
_tabRuns | protected int _tabRuns(Code) | | |
_tabScroller | public ScrollableTabSupport _tabScroller(Code) | | |
_textIconGap | protected int _textIconGap(Code) | | |
_textMarginVertical | protected int _textMarginVertical(Code) | | |
_textPadding | protected int _textPadding(Code) | | |
tryTabSpacer | protected TabSpaceAllocator tryTabSpacer(Code) | | |
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) | | |
createDefaultTabEditor | protected TabEditor createDefaultTabEditor()(Code) | | |
createDropListener | protected DropListener createDropListener()(Code) | | |
createNoFocusButton | protected TabCloseButton createNoFocusButton(int type)(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) | | |
getBorderEdgeColor | protected Color getBorderEdgeColor()(Code) | | |
getColorTheme | protected int getColorTheme()(Code) | | |
getContentBorderInsets | protected Insets getContentBorderInsets(int tabPlacement)(Code) | | |
getEditingTabIndex | public int getEditingTabIndex()(Code) | | |
getIconForTab | protected Icon getIconForTab(int tabIndex)(Code) | | |
getLayoutSize | protected int getLayoutSize()(Code) | | |
getLeftMargin | protected int getLeftMargin()(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) | | |
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) | | |
getTabResizeMode | protected int getTabResizeMode()(Code) | | |
getTabRightPadding | protected int getTabRightPadding()(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 |
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) | | |
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) | | |
navigateSelectedTab | protected void navigateSelectedTab(int direction)(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) | | |
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) | | |
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 |
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) | | |
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) | | |
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) | | |
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) | | |
|
|