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:
java.awt.LayoutManager
,javax.swing.SwingConstants
public final class SkinScrollBarUI extends XTraScrollBarUI
- 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
javax.swing.plaf.basic.BasicScrollBarUI.ArrowButtonListener, javax.swing.plaf.basic.BasicScrollBarUI.ModelListener, javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicScrollBarUI.ScrollListener, javax.swing.plaf.basic.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
-
-
Constructor Summary
Constructors Constructor Description SkinScrollBarUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.JButton
createDecreaseButton(int orientation)
Description of the Methodprotected javax.swing.JButton
createIncreaseButton(int orientation)
Description of the Methodstatic javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent x)
Description of the Methodprotected java.awt.Dimension
getMinimumThumbSize()
Gets the MinimumThumbSize attribute of the SkinScrollBarUI objectjava.awt.Dimension
getPreferredSize(javax.swing.JComponent c)
Gets the PreferredSize attribute of the SkinScrollBarUI objectprotected void
paintThumb(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle thumbBounds)
Description of the Methodprotected void
paintTrack(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle trackBounds)
Description of the Method-
Methods 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
-
-
-
-
Method Detail
-
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Gets the PreferredSize attribute of the SkinScrollBarUI object- Overrides:
getPreferredSize
in classjavax.swing.plaf.basic.BasicScrollBarUI
- Parameters:
c
- Description of Parameter- Returns:
- The PreferredSize value
-
getMinimumThumbSize
protected java.awt.Dimension getMinimumThumbSize()
Gets the MinimumThumbSize attribute of the SkinScrollBarUI object- Overrides:
getMinimumThumbSize
in classjavax.swing.plaf.basic.BasicScrollBarUI
- Returns:
- The MinimumThumbSize value
-
createDecreaseButton
protected javax.swing.JButton createDecreaseButton(int orientation)
Description of the Method- Overrides:
createDecreaseButton
in classjavax.swing.plaf.basic.BasicScrollBarUI
- Parameters:
orientation
- Description of Parameter- Returns:
- Description of the Returned Value
-
createIncreaseButton
protected javax.swing.JButton createIncreaseButton(int orientation)
Description of the Method- Overrides:
createIncreaseButton
in classjavax.swing.plaf.basic.BasicScrollBarUI
- Parameters:
orientation
- Description of Parameter- Returns:
- Description of the Returned Value
-
paintTrack
protected void paintTrack(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle trackBounds)
Description of the Method- Overrides:
paintTrack
in classjavax.swing.plaf.basic.BasicScrollBarUI
- Parameters:
g
- Description of Parameterc
- Description of ParametertrackBounds
- Description of Parameter
-
paintThumb
protected void paintThumb(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle thumbBounds)
Description of the Method- Overrides:
paintThumb
in classjavax.swing.plaf.basic.BasicScrollBarUI
- Parameters:
g
- Description of Parameterc
- Description of ParameterthumbBounds
- Description of Parameter
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
Description of the Method- Parameters:
x
- Description of Parameter- Returns:
- Description of the Returned Value
-
-