Package com.l2fprod.gui.plaf.skin
Class SkinScrollBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.l2fprod.gui.plaf.xtra.XTraScrollBarUI
com.l2fprod.gui.plaf.skin.SkinScrollBarUI
- All Implemented Interfaces:
LayoutManager
,SwingConstants
- Version:
- $Revision: 1.2 $, $Date: 2003/12/06 21:53:26 $
- Author:
- $Author: l2fprod $
-
Nested Class Summary
Nested classes/interfaces inherited from class com.l2fprod.gui.plaf.xtra.XTraScrollBarUI
XTraScrollBarUI.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.l2fprod.gui.plaf.xtra.XTraScrollBarUI
useAlternateLayout
Fields inherited from class javax.swing.plaf.basic.BasicScrollBarUI
buttonListener, decrButton, DECREASE_HIGHLIGHT, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollBarWidth, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JButton
createDecreaseButton
(int orientation) Description of the Methodprotected JButton
createIncreaseButton
(int orientation) Description of the Methodstatic ComponentUI
Description of the Methodprotected Dimension
Gets the MinimumThumbSize attribute of the SkinScrollBarUI objectGets the PreferredSize attribute of the SkinScrollBarUI objectprotected void
paintThumb
(Graphics g, JComponent c, Rectangle thumbBounds) Description of the Methodprotected void
paintTrack
(Graphics g, JComponent c, Rectangle trackBounds) Description of the MethodMethods inherited from class com.l2fprod.gui.plaf.xtra.XTraScrollBarUI
alternateLayoutHScrollbar, alternateLayoutVScrollbar, createTrackListener, decrButton, getThumbBounds, getTrackBounds, incrButton, isDragging, layoutHScrollbar, layoutVScrollbar, scrollbar, setThumbBounds
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update
-
Constructor Details
-
SkinScrollBarUI
public SkinScrollBarUI()
-
-
Method Details
-
getPreferredSize
Gets the PreferredSize attribute of the SkinScrollBarUI object- Overrides:
getPreferredSize
in classBasicScrollBarUI
- Parameters:
c
- Description of Parameter- Returns:
- The PreferredSize value
-
getMinimumThumbSize
Gets the MinimumThumbSize attribute of the SkinScrollBarUI object- Overrides:
getMinimumThumbSize
in classBasicScrollBarUI
- Returns:
- The MinimumThumbSize value
-
createDecreaseButton
Description of the Method- Overrides:
createDecreaseButton
in classBasicScrollBarUI
- Parameters:
orientation
- Description of Parameter- Returns:
- Description of the Returned Value
-
createIncreaseButton
Description of the Method- Overrides:
createIncreaseButton
in classBasicScrollBarUI
- Parameters:
orientation
- Description of Parameter- Returns:
- Description of the Returned Value
-
paintTrack
Description of the Method- Overrides:
paintTrack
in classBasicScrollBarUI
- Parameters:
g
- Description of Parameterc
- Description of ParametertrackBounds
- Description of Parameter
-
paintThumb
Description of the Method- Overrides:
paintThumb
in classBasicScrollBarUI
- Parameters:
g
- Description of Parameterc
- Description of ParameterthumbBounds
- Description of Parameter
-
createUI
Description of the Method- Parameters:
x
- Description of Parameter- Returns:
- Description of the Returned Value
-