public class EPTabbedPaneUI extends BasicTabbedPaneUI
BasicTabbedPaneUI.FocusHandler, BasicTabbedPaneUI.MouseHandler, BasicTabbedPaneUI.PropertyChangeHandler, BasicTabbedPaneUI.TabbedPaneLayout, BasicTabbedPaneUI.TabSelectionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSE_BUTTON_LOCATION_KEY |
static Object |
CLOSE_BUTTON_LOCATION_VALUE_LEFT |
static Object |
CLOSE_BUTTON_LOCATION_VALUE_RIGHT |
static String |
TAB_CLOSE_LISTENER_KEY |
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 |
|---|
EPTabbedPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
protected LayoutManager |
createLayoutManager() |
protected Insets |
getContentBorderInsets(int tabPlacement) |
protected int |
getTabLabelShiftX(int tabPlacement,
int tabIndex,
boolean isSelected) |
protected int |
getTabLabelShiftY(int tabPlacement,
int tabIndex,
boolean isSelected) |
protected void |
installDefaults() |
protected void |
installListeners() |
void |
paint(Graphics g,
JComponent c) |
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 width,
int height) |
protected void |
paintTab(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect) |
void |
setCloseButtonLocation(EPTabPainter.CloseButtonLocation closeButtonLocation) |
void |
setPaintsFullContentBorder(boolean paintsFullContentBorder) |
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createMouseListener, createPropertyChangeListener, createScrollButton, createUI, expandTabRunsArray, getBaseline, getBaseline, getBaselineOffset, getBaselineResizeBehavior, getFocusIndex, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabBounds, getTabBounds, getTabInsets, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, installComponents, installKeyboardActions, installUI, lastTabInRun, layoutLabel, navigateSelectedTab, paintContentBorder, paintFocusIndicator, paintIcon, paintTabArea, paintTabBackground, paintTabBorder, paintText, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getPreferredSize, updatepublic static final String TAB_CLOSE_LISTENER_KEY
public static final String CLOSE_BUTTON_LOCATION_KEY
public static final Object CLOSE_BUTTON_LOCATION_VALUE_LEFT
public static final Object CLOSE_BUTTON_LOCATION_VALUE_RIGHT
protected void installDefaults()
installDefaults in class BasicTabbedPaneUIprotected void installListeners()
installListeners in class BasicTabbedPaneUIprotected LayoutManager createLayoutManager()
createLayoutManager in class BasicTabbedPaneUIprotected Insets getContentBorderInsets(int tabPlacement)
getContentBorderInsets in class BasicTabbedPaneUIpublic void paint(Graphics g, JComponent c)
paint in class BasicTabbedPaneUIprotected void paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
paintTab in class BasicTabbedPaneUIprotected void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int width, int height)
paintContentBorderTopEdge in class BasicTabbedPaneUIprotected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderLeftEdge in class BasicTabbedPaneUIprotected void paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderRightEdge in class BasicTabbedPaneUIprotected void paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderBottomEdge in class BasicTabbedPaneUIprotected int getTabLabelShiftX(int tabPlacement,
int tabIndex,
boolean isSelected)
getTabLabelShiftX in class BasicTabbedPaneUIprotected int getTabLabelShiftY(int tabPlacement,
int tabIndex,
boolean isSelected)
getTabLabelShiftY in class BasicTabbedPaneUIpublic void setPaintsFullContentBorder(boolean paintsFullContentBorder)
public void setCloseButtonLocation(EPTabPainter.CloseButtonLocation closeButtonLocation)