Package com.jidesoft.plaf.aqua
Class AquaJideTabbedPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TabbedPaneUI
-
- com.jidesoft.plaf.JideTabbedPaneUI
-
- com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
-
- com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI
-
- com.jidesoft.plaf.aqua.AquaJideTabbedPaneUI
-
- All Implemented Interfaces:
java.util.EventListener,javax.swing.event.DocumentListener,javax.swing.SwingConstants
public class AquaJideTabbedPaneUI extends VsnetJideTabbedPaneUI
JideTabbedPane UI implementation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAquaJideTabbedPaneUI.AquaTabCloseButton-
Nested classes/interfaces inherited from class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
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
-
-
Field Summary
-
Fields inherited from class com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI
_backgroundSelectedColorEnd, _backgroundSelectedColorStart, _backgroundUnselectedColorEnd, _backgroundUnselectedColorStart
-
Fields inherited from class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
_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 Summary
Constructors Constructor Description AquaJideTabbedPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BasicJideTabbedPaneUI.TabCloseButtoncreateNoFocusButton(int type)Creates a button.static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)protected java.awt.ColorgetBorderEdgeColor()protected booleanisRoundedCorner()protected booleanisShading()protected voidpaintFocusIndicator(java.awt.Graphics g, int tabPlacement, java.awt.Rectangle[] rects, int tabIndex, java.awt.Rectangle iconRect, java.awt.Rectangle textRect, boolean isSelected)protected voidpaintTabBackground(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)protected voidprepareEditor(BasicJideTabbedPaneUI.TabEditor e, int tabIndex)-
Methods inherited from class com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI
getGradientColors, installBackgroundColor, installColorTheme, paintContentBorder, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, uninstallColorTheme
-
Methods inherited from class com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, cancelTabEditing, changedUpdate, createChangeListener, createDefaultTabEditor, createDropListener, createFocusListener, createLayoutManager, createMouseListener, createMouseMotionListener, createMouseWheelListener, createPropertyChangeListener, editTabAt, ensureActiveTabIsVisible, ensureCloseButtonCreated, ensureCurrentLayout, ensureCurrentRects, expandTabRunsArray, 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, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isEmptyTabArea, isShowCloseButton, isShowCloseButtonOnTab, isShowTabButtons, isShrinkTabs, isTabEditing, isTabLeadingComponentVisible, isTabTopVisible, isTabTrailingComponentVisible, lastTabInRun, layoutLabel, navigateSelectedTab, paint, paintBackground, paintBoxTabBorder, paintButtonTabBackground, paintContentBorder, paintDefaultTabBackground, paintExcelTabBackground, paintExcelTabBorder, paintFlatTabBackground, paintFlatTabBorder, paintIcon, paintOffice2003TabBackground, paintOffice2003TabBorder, paintRoundedFlatTabBorder, paintRoundedVsnetTabBorder, paintTab, paintTabArea, paintTabAreaBackground, paintTabBackgroundMouseOver, paintTabBorder, paintTabBorderMouseOver, paintText, paintVsnetTabBackground, paintVsnetTabBorder, paintWindowsTabBorder, 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
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
paintTabBackground
protected void paintTabBackground(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)- Overrides:
paintTabBackgroundin classVsnetJideTabbedPaneUI
-
paintFocusIndicator
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)- Overrides:
paintFocusIndicatorin classBasicJideTabbedPaneUI
-
isRoundedCorner
protected boolean isRoundedCorner()
- Overrides:
isRoundedCornerin classBasicJideTabbedPaneUI
-
isShading
protected boolean isShading()
-
getBorderEdgeColor
protected java.awt.Color getBorderEdgeColor()
- Overrides:
getBorderEdgeColorin classBasicJideTabbedPaneUI
-
createNoFocusButton
protected BasicJideTabbedPaneUI.TabCloseButton createNoFocusButton(int type)
Description copied from class:BasicJideTabbedPaneUICreates a button.- Overrides:
createNoFocusButtonin classBasicJideTabbedPaneUI- Parameters:
type- the button type- Returns:
- the button
-
prepareEditor
protected void prepareEditor(BasicJideTabbedPaneUI.TabEditor e, int tabIndex)
- Overrides:
prepareEditorin classBasicJideTabbedPaneUI
-
-