Package editor
Class GosuLabScrollBarUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ScrollBarUI
-
- javax.swing.plaf.basic.BasicScrollBarUI
-
- editor.GosuLabScrollBarUI
-
- All Implemented Interfaces:
LayoutManager,SwingConstants
public class GosuLabScrollBarUI extends BasicScrollBarUI
-
-
Nested Class Summary
-
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 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 Constructor Description GosuLabScrollBarUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureScrollBarColors()protected JButtoncreateDecreaseButton(int orientation)protected JButtoncreateIncreaseButton(int orientation)static ComponentUIcreateUI(JComponent c)protected DimensiongetMinimumThumbSize()protected voidinstallDefaults()protected voidpaintDecreaseHighlight(Graphics g)protected voidpaintIncreaseHighlight(Graphics g)protected voidpaintTrack(Graphics g, JComponent c, Rectangle trackBounds)voiduninstallUI(JComponent c)-
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
addLayoutComponent, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getPreferredSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintThumb, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installDefaults
protected void installDefaults()
- Overrides:
installDefaultsin classBasicScrollBarUI
-
getMinimumThumbSize
protected Dimension getMinimumThumbSize()
- Overrides:
getMinimumThumbSizein classBasicScrollBarUI
-
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUIin classBasicScrollBarUI
-
configureScrollBarColors
protected void configureScrollBarColors()
- Overrides:
configureScrollBarColorsin classBasicScrollBarUI
-
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
- Overrides:
createDecreaseButtonin classBasicScrollBarUI
-
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
- Overrides:
createIncreaseButtonin classBasicScrollBarUI
-
paintTrack
protected void paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
- Overrides:
paintTrackin classBasicScrollBarUI
-
paintDecreaseHighlight
protected void paintDecreaseHighlight(Graphics g)
- Overrides:
paintDecreaseHighlightin classBasicScrollBarUI
-
paintIncreaseHighlight
protected void paintIncreaseHighlight(Graphics g)
- Overrides:
paintIncreaseHighlightin classBasicScrollBarUI
-
-