Package com.jtattoo.plaf.smart
Class SmartScrollBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.jtattoo.plaf.BaseScrollBarUI
com.jtattoo.plaf.smart.SmartScrollBarUI
- All Implemented Interfaces:
LayoutManager
,SwingConstants
SmartScrollBarUI 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
Fields 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 TypeMethodDescriptionprotected JButton
createDecreaseButton
(int orientation) protected JButton
createIncreaseButton
(int orientation) static ComponentUI
protected void
paintThumb
(Graphics g, JComponent c, Rectangle thumbBounds) Methods inherited from class com.jtattoo.plaf.BaseScrollBarUI
createTrackListener, getMinimumThumbSize, getPreferredSize, getThumbColors, installDefaults, 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
-
Constructor Details
-
SmartScrollBarUI
public SmartScrollBarUI()
-
-
Method Details
-
createUI
-
createDecreaseButton
- Overrides:
createDecreaseButton
in classBaseScrollBarUI
-
createIncreaseButton
- Overrides:
createIncreaseButton
in classBaseScrollBarUI
-
paintThumb
- Overrides:
paintThumb
in classBaseScrollBarUI
-