com.jtattoo.plaf.fast
Class FastTabbedPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TabbedPaneUI
          extended by com.jtattoo.plaf.BaseTabbedPaneUI
              extended by com.jtattoo.plaf.fast.FastTabbedPaneUI
All Implemented Interfaces:
SwingConstants

public class FastTabbedPaneUI
extends BaseTabbedPaneUI

author Michael Hagen


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jtattoo.plaf.BaseTabbedPaneUI
BaseTabbedPaneUI.ArrowButton, BaseTabbedPaneUI.FocusHandler, BaseTabbedPaneUI.MouseHandler, BaseTabbedPaneUI.MouseMotionHandler, BaseTabbedPaneUI.MyTabComponentListener, BaseTabbedPaneUI.PropertyChangeHandler, BaseTabbedPaneUI.TabbedPaneLayout, BaseTabbedPaneUI.TabSelectionHandler
 
Field Summary
 
Fields inherited from class com.jtattoo.plaf.BaseTabbedPaneUI
calcRect, contentBorderInsets, focusListener, GAP, maxTabHeight, maxTabWidth, mouseListener, mouseMotionListener, NULL_BORDER_INSETS, oldRolloverIndex, propertyChangeListener, rects, rolloverIndex, roundedTabs, runCount, selectedColor, selectedRun, selectedTabPadInsets, simpleButtonBorder, tabAreaBackground, tabAreaInsets, tabChangeListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGap
 
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
FastTabbedPaneUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  Color getGapColor(int tabIndex)
           
 void installDefaults()
           
protected  void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintScrollContentBorder(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)
           
 
Methods inherited from class com.jtattoo.plaf.BaseTabbedPaneUI
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createLayoutManager, createMouseListener, createMouseMotionListener, createPropertyChangeListener, expandTabRunsArray, getClosestTab, getContentBorderColor, getContentBorderColors, getContentBorderInsets, getFontMetrics, getHiBorderColor, getIconForTab, getLoBorderColor, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreferredSize, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRunForTab, getSelectedBorderColor, getSelectedTabPadInsets, getTabAreaInsets, getTabAtLocation, getTabBounds, getTabBounds, getTabColors, getTabFont, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, installComponents, installKeyboardActions, installListeners, installUI, lastTabInRun, layoutLabel, navigateSelectedTab, paint, paintBottomTabBorder, paintFocusIndicator, paintIcon, paintLeftTabBorder, paintRightTabBorder, paintRoundedBottomTabBorder, paintRoundedTopTabBorder, paintTab, paintTabArea, paintTabBorder, paintText, paintTopTabBorder, requestFocusForVisibleComponent, rotateInsets, scrollableTabLayoutEnabled, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
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
 

Constructor Detail

FastTabbedPaneUI

public FastTabbedPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installDefaults

public void installDefaults()
Overrides:
installDefaults in class BaseTabbedPaneUI

getGapColor

protected Color getGapColor(int tabIndex)
Overrides:
getGapColor in class BaseTabbedPaneUI

paintContentBorder

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

paintScrollContentBorder

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

paintTabBackground

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


Copyright © 2011. All Rights Reserved.