Package com.l2fprod.gui.plaf.xtra
Class XTraScrollBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.l2fprod.gui.plaf.xtra.XTraScrollBarUI
- All Implemented Interfaces:
LayoutManager
,SwingConstants
- Direct Known Subclasses:
SkinScrollBarUI
XTra Scrollbar.
- Version:
- $Revision: 1.2 $, $Date: 2004/07/29 19:09:27 $
- Author:
- $Author: l2fprod $
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI
BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListener
-
Field Summary
FieldsFields 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 void
Description of the Methodprotected void
Description of the Methodprotected BasicScrollBarUI.TrackListener
Description of the Methodstatic ComponentUI
Description of the MethodDescription of the MethodGets the ThumbBounds attribute of the XTraScrollBarUI objectGets the TrackBounds attribute of the XTraScrollBarUI objectDescription of the Methodboolean
Gets the Dragging attribute of the XTraScrollBarUI objectprotected void
Description of the Methodprotected void
Description of the MethodDescription of the Methodvoid
setThumbBounds
(int x, int y, int w, int h) Sets the ThumbBounds attribute of the XTraScrollBarUI objectMethods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createDecreaseButton, createIncreaseButton, createModelListener, createPropertyChangeListener, createScrollListener, getMaximumSize, getMaximumThumbSize, getMinimumThumbSize, getPreferredSize, getSupportsAbsolutePositioning, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, paintThumb, paintTrack, 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
-
Field Details
-
useAlternateLayout
protected boolean useAlternateLayoutDescription of the Field
-
-
Constructor Details
-
XTraScrollBarUI
public XTraScrollBarUI()
-
-
Method Details
-
setThumbBounds
public void setThumbBounds(int x, int y, int w, int h) Sets the ThumbBounds attribute of the XTraScrollBarUI object- Overrides:
setThumbBounds
in classBasicScrollBarUI
- Parameters:
x
- The new ThumbBounds valuey
- The new ThumbBounds valuew
- The new ThumbBounds valueh
- The new ThumbBounds value
-
isDragging
public boolean isDragging()Gets the Dragging attribute of the XTraScrollBarUI object- Returns:
- The Dragging value
-
getThumbBounds
Gets the ThumbBounds attribute of the XTraScrollBarUI object- Overrides:
getThumbBounds
in classBasicScrollBarUI
- Returns:
- The ThumbBounds value
-
getTrackBounds
Gets the TrackBounds attribute of the XTraScrollBarUI object- Overrides:
getTrackBounds
in classBasicScrollBarUI
- Returns:
- The TrackBounds value
-
decrButton
Description of the Method- Returns:
- Description of the Returned Value
-
incrButton
Description of the Method- Returns:
- Description of the Returned Value
-
scrollbar
Description of the Method- Returns:
- Description of the Returned Value
-
layoutVScrollbar
Description of the Method- Overrides:
layoutVScrollbar
in classBasicScrollBarUI
- Parameters:
sb
- Description of Parameter
-
alternateLayoutVScrollbar
Description of the Method- Parameters:
sb
- Description of Parameter
-
layoutHScrollbar
Description of the Method- Overrides:
layoutHScrollbar
in classBasicScrollBarUI
- Parameters:
sb
- Description of Parameter
-
alternateLayoutHScrollbar
Description of the Method- Parameters:
sb
- Description of Parameter
-
createTrackListener
Description of the Method- Overrides:
createTrackListener
in classBasicScrollBarUI
- Returns:
- Description of the Returned Value
-
createUI
Description of the Method- Parameters:
x
- Description of Parameter- Returns:
- Description of the Returned Value
-