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 XTraScrollBarUI
XTraScrollBarUI.MyTrackListenerNested classes/interfaces inherited from class BasicScrollBarUI
BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListener -
Field Summary
Fields inherited from class XTraScrollBarUI
useAlternateLayoutFields inherited from class 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, trackRectFields inherited from interface 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 JButtoncreateDecreaseButton(int orientation) Description of the Methodprotected JButtoncreateIncreaseButton(int orientation) Description of the Methodstatic ComponentUIDescription of the Methodprotected DimensionGets the MinimumThumbSize attribute of the SkinScrollBarUI objectGets the PreferredSize attribute of the SkinScrollBarUI objectprotected voidpaintThumb(Graphics g, JComponent c, Rectangle thumbBounds) Description of the Methodprotected voidpaintTrack(Graphics g, JComponent c, Rectangle trackBounds) Description of the MethodMethods inherited from class XTraScrollBarUI
alternateLayoutHScrollbar, alternateLayoutVScrollbar, createTrackListener, decrButton, getThumbBounds, getTrackBounds, incrButton, isDragging, layoutHScrollbar, layoutVScrollbar, scrollbar, setThumbBoundsMethods inherited from class 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, uninstallUIMethods inherited from class 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:
getPreferredSizein classBasicScrollBarUI- Parameters:
c- Description of Parameter- Returns:
- The PreferredSize value
-
getMinimumThumbSize
Gets the MinimumThumbSize attribute of the SkinScrollBarUI object- Overrides:
getMinimumThumbSizein classBasicScrollBarUI- Returns:
- The MinimumThumbSize value
-
createDecreaseButton
Description of the Method- Overrides:
createDecreaseButtonin classBasicScrollBarUI- Parameters:
orientation- Description of Parameter- Returns:
- Description of the Returned Value
-
createIncreaseButton
Description of the Method- Overrides:
createIncreaseButtonin classBasicScrollBarUI- Parameters:
orientation- Description of Parameter- Returns:
- Description of the Returned Value
-
paintTrack
Description of the Method- Overrides:
paintTrackin classBasicScrollBarUI- Parameters:
g- Description of Parameterc- Description of ParametertrackBounds- Description of Parameter
-
paintThumb
Description of the Method- Overrides:
paintThumbin 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
-