com.jtattoo.plaf
Class BaseScrollBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.jtattoo.plaf.BaseScrollBarUI
- All Implemented Interfaces:
- LayoutManager, SwingConstants
- Direct Known Subclasses:
- AcrylScrollBarUI, FastScrollBarUI, HiFiScrollBarUI
public class BaseScrollBarUI
- extends BasicScrollBarUI
- Author:
- Michael Hagen
Fields inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
buttonListener, decrButton, DECREASE_HIGHLIGHT, incrButton, INCREASE_HIGHLIGHT, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRect |
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 |
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scrollBarWidth
protected int scrollBarWidth
isRollover
protected boolean isRollover
BaseScrollBarUI
public BaseScrollBarUI()
createUI
public static ComponentUI createUI(JComponent c)
installDefaults
protected void installDefaults()
- Overrides:
installDefaults
in class BasicScrollBarUI
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
- Overrides:
createDecreaseButton
in class BasicScrollBarUI
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
- Overrides:
createIncreaseButton
in class BasicScrollBarUI
createTrackListener
public BasicScrollBarUI.TrackListener createTrackListener()
- Overrides:
createTrackListener
in class BasicScrollBarUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSize
in class BasicScrollBarUI
getMinimumThumbSize
protected Dimension getMinimumThumbSize()
- Overrides:
getMinimumThumbSize
in class BasicScrollBarUI
paintTrack
protected void paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds)
- Overrides:
paintTrack
in class BasicScrollBarUI
getThumbColors
protected Color[] getThumbColors()
paintThumb
protected void paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds)
- Overrides:
paintThumb
in class BasicScrollBarUI
Copyright © 2011. All Rights Reserved.