public class WorkbenchMainTabUi
extends com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ActivateTabAction, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.DefaultMouseHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.DefaultMouseMotionHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.MouseHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.MouseMotionHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.MouseWheelHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.PropertyChangeHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.RolloverMouseHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.RolloverMouseMotionHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ScrollableTabPanel, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ScrollableTabSupport, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ScrollableTabViewport, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabbedPaneLayout, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabbedPaneScrollLayout, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabCloseButton, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabEditor, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabFocusListener, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabSelectionHandler, com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabSpaceAllocator
_activeBackground, _activeTabForeground, _additionalWidth, _alwaysShowLineBorder, _background, _buttonMargin, _buttonSize, _calcRect, _closeButtonAlignment, _closeButtonColor, _closeButtonLeftMargin, _closeButtonMargin, _closeButtonMarginHorizon, _closeButtonMarginSize, _closeButtonMarginVertical, _closeButtonRightMargin, _closeButtons, _closeButtonSelectedColor, _compressedStyleCloseButtonMarginHorizon, _compressedStyleCloseButtonMarginVertical, _compressedStyleIconMargin, _compressedStyleNoIconRectSize, _darkShadow, _defaultTabBorderShadowColor, _dt, _editingTab, _fitStyleBoundSize, _fitStyleFirstTabMargin, _fitStyleIconMinWidth, _fitStyleTextMinWidth, _fixedStyleRectSize, _focus, _gripLeftMargin, _gripperHeight, _gripperWidth, _highlight, _iconMargin, _ignoreContentBorderInsetsIfNoTabs, _inactiveSelectedTabForeground, _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, _selectedTabFont, _selectedTabPadInsets, _shadow, _showCloseButtonOnTab, _showFocusIndicator, _showIconOnTab, _tabAreaInsets, _tabBackground, _tabChangeListener, _tabCount, _tabEditor, _tabFocusListener, _tabInsets, _tabLeadingComponent, _tabListBackground, _tabModelChangeListener, _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 |
---|
WorkbenchMainTabUi() |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateTabHeight(int tabPlacement,
int tabIndex,
java.awt.FontMetrics metrics) |
protected int |
calculateTabWidth(int tabPlacement,
int tabIndex,
java.awt.FontMetrics metrics) |
protected void |
installDefaults() |
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 |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintContentBorder(java.awt.Graphics g,
int tabPlacement,
int selectedIndex) |
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) |
protected void |
paintText(java.awt.Graphics g,
int tabPlacement,
java.awt.Font font,
java.awt.FontMetrics metrics,
int tabIndex,
java.lang.String title,
java.awt.Rectangle textRect,
boolean isSelected) |
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, cancelTabEditing, changedUpdate, createChangeListener, createDefaultTabEditor, createDropListener, createFocusListener, createLayoutManager, createMouseListener, createMouseMotionListener, createMouseWheelListener, createNoFocusButton, createPropertyChangeListener, createUI, editTabAt, ensureActiveTabIsVisible, ensureCloseButtonCreated, ensureCurrentLayout, 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, getTabLabelShiftX, getTabLabelShiftY, getTabListCellRenderer, getTabPanel, getTabResizeMode, getTabRightPadding, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTabShape, getTabsTextBoundsAt, getTextViewForTab, getVisibleComponent, insertUpdate, installColorTheme, installComponents, installKeyboardActions, installListeners, installUI, isEmptyTabArea, isRoundedCorner, isShowCloseButton, isShowCloseButtonOnTab, isShowTabButtons, isShrinkTabs, isTabEditing, isTabLeadingComponentVisible, isTabTopVisible, isTabTrailingComponentVisible, lastTabInRun, navigateSelectedTab, paintBackground, paintBoxTabBorder, paintButtonTabBackground, paintContentBorder, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, paintDefaultTabBackground, paintExcelTabBackground, paintExcelTabBorder, paintFlatTabBackground, paintFlatTabBorder, paintFocusIndicator, paintIcon, paintOffice2003TabBackground, paintOffice2003TabBorder, paintRoundedFlatTabBorder, paintRoundedVsnetTabBorder, paintTab, paintTabArea, paintTabAreaBackground, paintTabBackgroundMouseOver, paintTabBorderMouseOver, paintVsnetTabBackground, paintVsnetTabBorder, paintWindowsTabBorder, prepareEditor, removeUpdate, requestFocusForVisibleComponent, resizeEditor, rotateInsets, scrollableTabLayoutEnabled, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, showFocusIndicator, startEditing, stopOrCancelEditing, stopTabEditing, tabForCoordinate, uninstallColorTheme, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateCloseAction, updateMnemonics
protected void installDefaults()
installDefaults
in class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
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)
layoutLabel
in class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
protected int calculateTabWidth(int tabPlacement, int tabIndex, java.awt.FontMetrics metrics)
calculateTabWidth
in class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
protected int calculateTabHeight(int tabPlacement, int tabIndex, java.awt.FontMetrics metrics)
calculateTabHeight
in class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
protected void paintText(java.awt.Graphics g, int tabPlacement, java.awt.Font font, java.awt.FontMetrics metrics, int tabIndex, java.lang.String title, java.awt.Rectangle textRect, boolean isSelected)
paintText
in class com.jidesoft.plaf.basic.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 com.jidesoft.plaf.basic.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 com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
protected void paintContentBorder(java.awt.Graphics g, int tabPlacement, int selectedIndex)
paintContentBorder
in class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI