public class BEScrollBarUI
extends javax.swing.plaf.basic.BasicScrollBarUI
| 限定符和类型 | 类和说明 | 
|---|---|
| protected class  | BEScrollBarUI.WindowsArrowButtonWindowsArrowButton is used for the buttons to position the
 document up/down. | 
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.TrackListenerbuttonListener, 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| 构造器和说明 | 
|---|
| BEScrollBarUI() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| protected javax.swing.JButton | createDecreaseButton(int orientation) | 
| protected javax.swing.JButton | createIncreaseButton(int orientation) | 
| static javax.swing.plaf.ComponentUI | createUI(javax.swing.JComponent c)Creates a UI for a JScrollBar. | 
| protected void | paintThumb(java.awt.Graphics g,
          javax.swing.JComponent c,
          java.awt.Rectangle thumbBounds)滚动条绘制. | 
| protected void | paintThumbIfSoSmall(java.awt.Graphics2D g2,
                   int x,
                   int y,
                   int w,
                   int h)如果滚动条非常小(小到小于NP图的最小大小)时调用此方法实现滚动条的精确绘制. | 
| protected void | paintTrack(java.awt.Graphics g,
          javax.swing.JComponent c,
          java.awt.Rectangle trackBounds) | 
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getMinimumThumbSize, getPreferredSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - the text fieldprotected javax.swing.JButton createDecreaseButton(int orientation)
createDecreaseButton 在类中 javax.swing.plaf.basic.BasicScrollBarUIprotected javax.swing.JButton createIncreaseButton(int orientation)
createIncreaseButton 在类中 javax.swing.plaf.basic.BasicScrollBarUIprotected void paintTrack(java.awt.Graphics g,
              javax.swing.JComponent c,
              java.awt.Rectangle trackBounds)
paintTrack 在类中 javax.swing.plaf.basic.BasicScrollBarUIprotected void paintThumb(java.awt.Graphics g,
              javax.swing.JComponent c,
              java.awt.Rectangle thumbBounds)
paintThumb 在类中 javax.swing.plaf.basic.BasicScrollBarUIg - the gc - the cthumbBounds - the thumb boundsprotected void paintThumbIfSoSmall(java.awt.Graphics2D g2,
                       int x,
                       int y,
                       int w,
                       int h)
g2 - the g2x - the xy - the yw - the wh - the h