public class SystemXTabbedPaneUI extends BaseTabbedPaneUI
BaseTabbedPaneUI.ArrowButton, BaseTabbedPaneUI.FocusHandler, BaseTabbedPaneUI.MouseHandler, BaseTabbedPaneUI.MouseMotionHandler, BaseTabbedPaneUI.MyTabComponentListener, BaseTabbedPaneUI.PropertyChangeHandler, BaseTabbedPaneUI.TabbedPaneLayout, BaseTabbedPaneUI.TabComponentHandler, BaseTabbedPaneUI.TabSelectionHandlercalcRect, contentBorderInsets, focusListener, GAP, maxTabHeight, maxTabWidth, mouseListener, mouseMotionListener, NULL_BORDER_INSETS, oldRolloverIndex, propertyChangeListener, rects, rolloverIndex, roundedTabs, runCount, selectedColor, selectedRun, selectedTabPadInsets, simpleButtonBorder, tabAreaBackground, tabAreaInsets, tabChangeListener, tabComponentListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGapBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
SystemXTabbedPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c) |
protected Color[] |
getContentBorderColors(int tabPlacement) |
protected Color |
getHiBorderColor(int tabIndex) |
protected Color |
getLoBorderColor(int tabIndex) |
protected Color[] |
getTabColors(int tabIndex,
boolean isSelected,
boolean isRollover) |
protected Font |
getTabFont(boolean isSelected) |
protected void |
installComponents()
Creates and installs any required subcomponents for the JTabbedPane.
|
void |
paint(Graphics g,
JComponent c) |
protected void |
paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
protected void |
paintText(Graphics g,
int tabPlacement,
Font font,
FontMetrics metrics,
int tabIndex,
String title,
Rectangle textRect,
boolean isSelected) |
protected void |
uninstallComponents()
Removes any installed subcomponents from the JTabbedPane.
|
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createComponentListener, createFocusListener, createLayoutManager, createMouseListener, createMouseMotionListener, createPropertyChangeListener, expandTabRunsArray, getClosestTab, getContentBorderColor, getContentBorderInsets, getFontMetrics, getGapColor, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreferredSize, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabAtLocation, getTabBounds, getTabBounds, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, hasInnerBorder, installDefaults, installKeyboardActions, installListeners, installUI, isContentOpaque, isTabOpaque, lastTabInRun, layoutLabel, navigateSelectedTab, paintBottomTabBorder, paintContentBorder, paintIcon, paintLeftTabBorder, paintRightTabBorder, paintRoundedBottomTabBorder, paintRoundedTopTabBorder, paintScrollContentBorder, paintTab, paintTabArea, paintTabBackground, paintTabBorder, paintTopTabBorder, requestFocusForVisibleComponent, rotateInsets, scrollableTabLayoutEnabled, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, updatepublic static ComponentUI createUI(JComponent c)
protected void installComponents()
BaseTabbedPaneUIinstallComponents in class BaseTabbedPaneUIprotected void uninstallComponents()
BaseTabbedPaneUIuninstallComponents in class BaseTabbedPaneUIprotected Color getLoBorderColor(int tabIndex)
getLoBorderColor in class BaseTabbedPaneUIprotected Color getHiBorderColor(int tabIndex)
getHiBorderColor in class BaseTabbedPaneUIprotected Color[] getContentBorderColors(int tabPlacement)
getContentBorderColors in class BaseTabbedPaneUIprotected Color[] getTabColors(int tabIndex, boolean isSelected, boolean isRollover)
getTabColors in class BaseTabbedPaneUIprotected Font getTabFont(boolean isSelected)
getTabFont in class BaseTabbedPaneUIpublic void paint(Graphics g, JComponent c)
paint in class BaseTabbedPaneUIprotected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
paintText in class BaseTabbedPaneUIprotected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
paintFocusIndicator in class BaseTabbedPaneUICopyright © 2014. All Rights Reserved.