JIDE 3.5.15

com.jidesoft.plaf.vsnet
Class VsnetJideTabbedPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TabbedPaneUI
          extended by com.jidesoft.plaf.JideTabbedPaneUI
              extended by com.jidesoft.plaf.basic.BasicJideTabbedPaneUI
                  extended by com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI
All Implemented Interfaces:
EventListener, DocumentListener, SwingConstants
Direct Known Subclasses:
AquaJideTabbedPaneUI, Eclipse3xJideTabbedPaneUI, EclipseJideTabbedPaneUI, Office2003JideTabbedPaneUI

public class VsnetJideTabbedPaneUI
extends BasicJideTabbedPaneUI

JideTabbedPane UI implementation


Nested Class Summary
 
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
protected  Color _backgroundSelectedColorEnd
           
protected  Color _backgroundSelectedColorStart
           
protected  Color _backgroundUnselectedColorEnd
           
protected  Color _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
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
VsnetJideTabbedPaneUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  Color[] getGradientColors(int tabIndex, boolean isSelected)
           
protected  void installBackgroundColor()
           
 void installColorTheme()
           
protected  void paintContentBorder(Graphics g, int x, int y, int w, int h)
           
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 w, int h)
           
protected  void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
           
 void 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, createNoFocusButton, createPropertyChangeListener, 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, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isEmptyTabArea, isRoundedCorner, isShowCloseButton, isShowCloseButtonOnTab, isShowTabButtons, isShrinkTabs, isTabEditing, isTabLeadingComponentVisible, isTabTopVisible, isTabTrailingComponentVisible, lastTabInRun, layoutLabel, navigateSelectedTab, paint, paintBackground, paintBoxTabBorder, paintButtonTabBackground, paintContentBorder, paintDefaultTabBackground, paintExcelTabBackground, paintExcelTabBorder, paintFlatTabBackground, paintFlatTabBorder, paintFocusIndicator, paintIcon, paintOffice2003TabBackground, paintOffice2003TabBorder, paintRoundedFlatTabBorder, paintRoundedVsnetTabBorder, paintTab, paintTabArea, paintTabAreaBackground, paintTabBackgroundMouseOver, paintTabBorder, 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
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_backgroundSelectedColorStart

protected Color _backgroundSelectedColorStart

_backgroundSelectedColorEnd

protected Color _backgroundSelectedColorEnd

_backgroundUnselectedColorStart

protected Color _backgroundUnselectedColorStart

_backgroundUnselectedColorEnd

protected Color _backgroundUnselectedColorEnd
Constructor Detail

VsnetJideTabbedPaneUI

public VsnetJideTabbedPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installColorTheme

public void installColorTheme()
Overrides:
installColorTheme in class BasicJideTabbedPaneUI

installBackgroundColor

protected void installBackgroundColor()

uninstallColorTheme

public void uninstallColorTheme()
Overrides:
uninstallColorTheme in class BasicJideTabbedPaneUI

paintTabBackground

protected void paintTabBackground(Graphics g,
                                  int tabPlacement,
                                  int tabIndex,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  boolean isSelected)
Overrides:
paintTabBackground in class BasicJideTabbedPaneUI

paintContentBorderTopEdge

protected void paintContentBorderTopEdge(Graphics g,
                                         int tabPlacement,
                                         int selectedIndex,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
Overrides:
paintContentBorderTopEdge in class BasicJideTabbedPaneUI

paintContentBorderBottomEdge

protected void paintContentBorderBottomEdge(Graphics g,
                                            int tabPlacement,
                                            int selectedIndex,
                                            int x,
                                            int y,
                                            int w,
                                            int h)
Overrides:
paintContentBorderBottomEdge in class BasicJideTabbedPaneUI

paintContentBorderLeftEdge

protected void paintContentBorderLeftEdge(Graphics g,
                                          int tabPlacement,
                                          int selectedIndex,
                                          int x,
                                          int y,
                                          int w,
                                          int h)
Overrides:
paintContentBorderLeftEdge in class BasicJideTabbedPaneUI

paintContentBorderRightEdge

protected void paintContentBorderRightEdge(Graphics g,
                                           int tabPlacement,
                                           int selectedIndex,
                                           int x,
                                           int y,
                                           int w,
                                           int h)
Overrides:
paintContentBorderRightEdge in class BasicJideTabbedPaneUI

paintContentBorder

protected void paintContentBorder(Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Overrides:
paintContentBorder in class BasicJideTabbedPaneUI

getGradientColors

protected Color[] getGradientColors(int tabIndex,
                                    boolean isSelected)

JIDE 3.5.15