public class FLXTabbedPaneUI 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 |
|---|
FLXTabbedPaneUI() |
| 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.
|
protected void |
paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
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, paint, paintBottomTabBorder, paintContentBorder, paintIcon, paintLeftTabBorder, paintRightTabBorder, paintRoundedBottomTabBorder, paintRoundedTopTabBorder, paintScrollContentBorder, paintTab, paintTabArea, paintTabBackground, paintTabBorder, paintText, paintTopTabBorder, requestFocusForVisibleComponent, rotateInsets, scrollableTabLayoutEnabled, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, updatepublic static ComponentUI createUI(JComponent c)
protected void installComponents()
BaseTabbedPaneUIinstallComponents 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 Font getTabFont(boolean isSelected)
getTabFont in class BaseTabbedPaneUIprotected Color[] getTabColors(int tabIndex, boolean isSelected, boolean isRollover)
getTabColors 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.