Package com.jtattoo.plaf
Class XPScrollBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.jtattoo.plaf.BaseScrollBarUI
com.jtattoo.plaf.XPScrollBarUI
- All Implemented Interfaces:
LayoutManager
,SwingConstants
- Direct Known Subclasses:
HiFiScrollBarUI
,LunaScrollBarUI
,MintScrollBarUI
,TextureScrollBarUI
XPScrollBarUI class.
Author Michael Hagen-
Nested Class Summary
Nested classes/interfaces inherited from class com.jtattoo.plaf.BaseScrollBarUI
BaseScrollBarUI.MyTrackListener
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI
BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Color[]
Constant dragColorsprotected static Color[]
Constant rolloverColorsFields inherited from class com.jtattoo.plaf.BaseScrollBarUI
decrGap, incrGap, isRollover, scrollBarWidth
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected Color
getFrameColor.protected Color[]
getThumbColors.protected void
protected void
paintThumb
(Graphics g, JComponent c, Rectangle thumbBounds) Methods inherited from class com.jtattoo.plaf.BaseScrollBarUI
createDecreaseButton, createIncreaseButton, createTrackListener, getMinimumThumbSize, getPreferredSize, layoutHScrollbar, layoutVScrollbar, paintTrack
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, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update
-
Field Details
-
rolloverColors
Constant rolloverColors -
dragColors
Constant dragColors
-
-
Constructor Details
-
XPScrollBarUI
public XPScrollBarUI()
-
-
Method Details
-
createUI
-
getFrameColor
getFrameColor.
- Returns:
- a
Color
object.
-
getThumbColors
getThumbColors.
- Overrides:
getThumbColors
in classBaseScrollBarUI
- Returns:
- an array of
Color
objects.
-
installDefaults
protected void installDefaults()- Overrides:
installDefaults
in classBaseScrollBarUI
-
paintThumb
- Overrides:
paintThumb
in classBaseScrollBarUI
-