public class Eclipse3xJideTabbedPaneUI extends VsnetJideTabbedPaneUI
Modifier and Type | Class and Description |
---|---|
class |
Eclipse3xJideTabbedPaneUI.Eclipse3xTabCloseButton |
BasicJideTabbedPaneUI.ActivateTabAction, BasicJideTabbedPaneUI.DefaultMouseHandler, BasicJideTabbedPaneUI.DefaultMouseMotionHandler, BasicJideTabbedPaneUI.MouseHandler, BasicJideTabbedPaneUI.MouseMotionHandler, BasicJideTabbedPaneUI.MouseWheelHandler, BasicJideTabbedPaneUI.PropertyChangeHandler, BasicJideTabbedPaneUI.RolloverMouseHandler, BasicJideTabbedPaneUI.RolloverMouseMotionHandler, BasicJideTabbedPaneUI.ScrollableTabPanel, BasicJideTabbedPaneUI.ScrollableTabSupport, BasicJideTabbedPaneUI.ScrollableTabViewport, BasicJideTabbedPaneUI.TabbedPaneLayout, BasicJideTabbedPaneUI.TabbedPaneScrollLayout, BasicJideTabbedPaneUI.TabCloseButton, BasicJideTabbedPaneUI.TabEditor, BasicJideTabbedPaneUI.TabFocusListener, BasicJideTabbedPaneUI.TabSelectionHandler, BasicJideTabbedPaneUI.TabSpaceAllocator
Modifier and Type | Field and Description |
---|---|
protected int |
_closeButtonMargin |
protected int |
_closeButtonMarginSize |
protected int |
_iconMarginHorizon |
protected int |
_iconMarginVertical |
_backgroundSelectedColorEnd, _backgroundSelectedColorStart, _backgroundUnselectedColorEnd, _backgroundUnselectedColorStart
_activeTabForeground, _alwaysShowLineBorder, _background, _buttonMargin, _buttonSize, _calcRect, _closeButtonAlignment, _closeButtonColor, _closeButtonLeftMargin, _closeButtonMarginHorizon, _closeButtonMarginVertical, _closeButtonRightMargin, _closeButtons, _closeButtonSelectedColor, _compressedStyleCloseButtonMarginHorizon, _compressedStyleCloseButtonMarginVertical, _compressedStyleIconMargin, _compressedStyleNoIconRectSize, _darkShadow, _defaultTabBorderShadowColor, _dt, _editingTab, _fitStyleBoundSize, _fitStyleFirstTabMargin, _fitStyleIconMinWidth, _fitStyleTextMinWidth, _fixedStyleRectSize, _focus, _gripLeftMargin, _gripperHeight, _gripperWidth, _highlight, _iconMargin, _ignoreContentBorderInsetsIfNoTabs, _inactiveTabForeground, _indexMouseOver, _isEditing, _lightHighlight, _maxTabHeight, _maxTabWidth, _mouseEnter, _mouseListener, _mousemotionListener, _mouseWheelListener, _noIconMargin, _officeTabBorderColor, _oldPostfix, _oldPrefix, _oldValue, _originalFocusComponent, _popupColor, _propertyChangeListener, _rects, _rectSizeExtend, _runCount, _selectColor1, _selectColor2, _selectColor3, _selectedColor, _selectedRun, _selectedTabPadInsets, _shadow, _showCloseButtonOnTab, _showFocusIndicator, _showIconOnTab, _tabAreaInsets, _tabBackground, _tabChangeListener, _tabCount, _tabEditor, _tabFocusListener, _tabInsets, _tabLeadingComponent, _tabListBackground, _tabPane, _tabRectPadding, _tabRunOverlay, _tabRuns, _tabScroller, _tabTrailingComponent, _textIconGap, _textMarginVertical, _textPadding, _unselectColor1, _unselectColor2, _unselectColor3, BUTTON_NAME_CLOSE, BUTTON_NAME_SCROLL_BACKWARD, BUTTON_NAME_SCROLL_FORWARD, BUTTON_NAME_TAB_LIST, DEFAULT_LEFT_MARGIN, EXCEL_LEFT_MARGIN, OFFICE2003_LEFT_MARGIN, PAINT_CONTENT_BORDER, PAINT_CONTENT_BORDER_EDGE, PAINT_TAB, PAINT_TAB_BACKGROUND, PAINT_TAB_BORDER, PAINT_TABAREA, tabRegion, tryTabSpacer
Constructor and Description |
---|
Eclipse3xJideTabbedPaneUI() |
Modifier and Type | Method and Description |
---|---|
protected BasicJideTabbedPaneUI.TabCloseButton |
createNoFocusButton(int type) |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
protected void |
ensureCurrentLayout() |
protected java.awt.Rectangle |
getTabsTextBoundsAt(int tabIndex) |
protected void |
installDefaults() |
void |
installUI(javax.swing.JComponent c) |
protected void |
layoutLabel(int tabPlacement,
java.awt.FontMetrics metrics,
int tabIndex,
java.lang.String title,
javax.swing.Icon icon,
java.awt.Rectangle tabRect,
java.awt.Rectangle iconRect,
java.awt.Rectangle textRect,
boolean isSelected) |
void |
paintBackground(java.awt.Graphics g,
java.awt.Component c) |
protected void |
paintContentBorder(java.awt.Graphics g,
int tabPlacement,
int selectedIndex) |
protected void |
paintContentBorder(java.awt.Graphics g,
int x,
int y,
int w,
int h) |
protected void |
paintContentBorderBottomEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
paintContentBorderLeftEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
paintContentBorderRightEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
paintContentBorderTopEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h) |
protected void |
paintFocusIndicator(java.awt.Graphics g,
int tabPlacement,
java.awt.Rectangle[] rects,
int tabIndex,
java.awt.Rectangle iconRect,
java.awt.Rectangle textRect,
boolean isSelected) |
protected void |
paintTabArea(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
java.awt.Component c)
Paints the tabs in the tab area.
|
protected void |
paintTabBackground(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected) |
protected void |
paintTabBorder(java.awt.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.
|
getGradientColors, installBackgroundColor, installColorTheme, uninstallColorTheme
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, cancelTabEditing, changedUpdate, createChangeListener, createDefaultTabEditor, createDropListener, createFocusListener, createLayoutManager, createMouseListener, createMouseMotionListener, createMouseWheelListener, createPropertyChangeListener, editTabAt, ensureActiveTabIsVisible, ensureCloseButtonCreated, ensureCurrentRects, expandTabRunsArray, getBorderEdgeColor, getColorTheme, getContentBorderInsets, getCurrentDisplayTitleAt, getEditingTabIndex, getFontMetrics, getLayoutSize, getLeftMargin, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPainter, getPreferredSize, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getResourceString, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabAtLocation, getTabBounds, getTabBounds, getTabGap, getTabInsets, getTabListCellRenderer, getTabPanel, getTabResizeMode, getTabRightPadding, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTabShape, getTextViewForTab, getVisibleComponent, insertUpdate, installComponents, installKeyboardActions, installListeners, isRoundedCorner, isShowCloseButton, isShowCloseButtonOnTab, isShowTabButtons, isShrinkTabs, isTabEditing, isTabLeadingComponentVisible, isTabTopVisible, isTabTrailingComponentVisible, lastTabInRun, navigateSelectedTab, paint, paintBoxTabBorder, paintButtonTabBackground, paintDefaultTabBackground, paintExcelTabBackground, paintExcelTabBorder, paintFlatTabBackground, paintFlatTabBorder, paintIcon, paintOffice2003TabBackground, paintOffice2003TabBorder, paintRoundedFlatTabBorder, paintRoundedVsnetTabBorder, paintTab, paintTabAreaBackground, paintTabBackgroundMouseOver, paintTabBorderMouseOver, paintText, paintVsnetTabBackground, paintVsnetTabBorder, paintWindowsTabBorder, prepareEditor, removeUpdate, requestFocusForVisibleComponent, resizeEditor, rotateInsets, scrollableTabLayoutEnabled, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, showFocusIndicator, startEditing, stopOrCancelEditing, stopTabEditing, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateCloseAction, updateMnemonics
protected int _closeButtonMargin
protected int _closeButtonMarginSize
protected int _iconMarginHorizon
protected int _iconMarginVertical
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI
in class BasicJideTabbedPaneUI
protected void installDefaults()
installDefaults
in class BasicJideTabbedPaneUI
public void paintBackground(java.awt.Graphics g, java.awt.Component c)
paintBackground
in class BasicJideTabbedPaneUI
protected void ensureCurrentLayout()
ensureCurrentLayout
in class BasicJideTabbedPaneUI
protected void paintTabArea(java.awt.Graphics g, int tabPlacement, int selectedIndex, java.awt.Component c)
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.paintTabArea
in class BasicJideTabbedPaneUI
g
- the graphics object to use for renderingtabPlacement
- the placement for the tabs within the JTabbedPaneselectedIndex
- the tab index of the selected componentc
- the componentprotected void layoutLabel(int tabPlacement, java.awt.FontMetrics metrics, int tabIndex, java.lang.String title, javax.swing.Icon icon, java.awt.Rectangle tabRect, java.awt.Rectangle iconRect, java.awt.Rectangle textRect, boolean isSelected)
layoutLabel
in class BasicJideTabbedPaneUI
protected void paintTabBorder(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBorder
in class BasicJideTabbedPaneUI
protected void paintTabBackground(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBackground
in class VsnetJideTabbedPaneUI
protected void paintContentBorder(java.awt.Graphics g, int tabPlacement, int selectedIndex)
paintContentBorder
in class BasicJideTabbedPaneUI
protected void paintContentBorder(java.awt.Graphics g, int x, int y, int w, int h)
paintContentBorder
in class VsnetJideTabbedPaneUI
protected void paintContentBorderTopEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderTopEdge
in class VsnetJideTabbedPaneUI
protected void paintContentBorderBottomEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderBottomEdge
in class VsnetJideTabbedPaneUI
protected void paintContentBorderLeftEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderLeftEdge
in class VsnetJideTabbedPaneUI
protected void paintContentBorderRightEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderRightEdge
in class VsnetJideTabbedPaneUI
protected java.awt.Rectangle getTabsTextBoundsAt(int tabIndex)
getTabsTextBoundsAt
in class BasicJideTabbedPaneUI
protected void paintFocusIndicator(java.awt.Graphics g, int tabPlacement, java.awt.Rectangle[] rects, int tabIndex, java.awt.Rectangle iconRect, java.awt.Rectangle textRect, boolean isSelected)
paintFocusIndicator
in class BasicJideTabbedPaneUI
protected BasicJideTabbedPaneUI.TabCloseButton createNoFocusButton(int type)
createNoFocusButton
in class BasicJideTabbedPaneUI