public class PgsTabbedPaneUI extends BasicTabbedPaneUI
| Modifier and Type | Class and Description |
|---|---|
class |
PgsTabbedPaneUI.MyPropertyChangeHandler |
class |
PgsTabbedPaneUI.SelectTabAction |
class |
PgsTabbedPaneUI.TabbedPaneMouseWheelScroller |
class |
PgsTabbedPaneUI.TabReorderHandler |
protected class |
PgsTabbedPaneUI.TabRolloverHandler |
class |
PgsTabbedPaneUI.TabSelectionMouseHandler |
BasicTabbedPaneUI.FocusHandler, BasicTabbedPaneUI.MouseHandler, BasicTabbedPaneUI.PropertyChangeHandler, BasicTabbedPaneUI.TabbedPaneLayout, BasicTabbedPaneUI.TabSelectionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
IS_BUTTON_STYLE |
static String |
IS_SUB_TAB |
static String |
NO_BORDER |
calcRect, contentBorderInsets, darkShadow, downKey, focus, focusListener, highlight, leftKey, lightHighlight, maxTabHeight, maxTabWidth, mouseListener, propertyChangeListener, rects, rightKey, runCount, selectedRun, selectedTabPadInsets, shadow, tabAreaInsets, tabChangeListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGap, upKeyBOTTOM, 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 |
|---|
PgsTabbedPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
protected JButton |
createScrollButton(int direction) |
static ComponentUI |
createUI(JComponent c) |
void |
disableReordering() |
void |
enableReordering() |
protected int |
getRolloverTab() |
protected void |
installDefaults() |
protected void |
installListeners() |
protected void |
mySetRolloverTab(int index) |
protected void |
paintContentBorder(Graphics g,
int tabPlacement,
int selectedIndex) |
protected void |
paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
protected void |
paintTabBackground(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected) |
protected void |
paintTabBorder(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 |
uninstallListeners() |
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createLayoutManager, createMouseListener, createPropertyChangeListener, expandTabRunsArray, getBaseline, getBaseline, getBaselineOffset, getBaselineResizeBehavior, getContentBorderInsets, getFocusIndex, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabBounds, getTabBounds, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, installComponents, installKeyboardActions, installUI, lastTabInRun, layoutLabel, navigateSelectedTab, paint, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, paintIcon, paintTab, paintTabArea, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getPreferredSize, updatepublic static final String IS_SUB_TAB
public static final String IS_BUTTON_STYLE
public static final String NO_BORDER
public static ComponentUI createUI(JComponent c)
protected void installDefaults()
installDefaults in class BasicTabbedPaneUIprotected void installListeners()
installListeners in class BasicTabbedPaneUIprotected void uninstallListeners()
uninstallListeners in class BasicTabbedPaneUIprotected void mySetRolloverTab(int index)
protected int getRolloverTab()
getRolloverTab in class BasicTabbedPaneUIprotected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBackground in class BasicTabbedPaneUIprotected void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBorder in class BasicTabbedPaneUIprotected void paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
paintFocusIndicator in class BasicTabbedPaneUIprotected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex)
paintContentBorder in class BasicTabbedPaneUIprotected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
paintText in class BasicTabbedPaneUIprotected JButton createScrollButton(int direction)
createScrollButton in class BasicTabbedPaneUIpublic void enableReordering()
public void disableReordering()
Copyright © 2015. All rights reserved.