equal
deleted
inserted
replaced
91 protected PropertyChangeListener propertyChangeListener; |
91 protected PropertyChangeListener propertyChangeListener; |
92 protected Timer scrollTimer; |
92 protected Timer scrollTimer; |
93 |
93 |
94 private final static int scrollSpeedThrottle = 60; // delay in milli seconds |
94 private final static int scrollSpeedThrottle = 60; // delay in milli seconds |
95 |
95 |
96 /** True indicates a middle click will absolutely position the |
96 /** |
97 * scrollbar. */ |
97 * True indicates a middle click will absolutely position the |
|
98 * scrollbar. |
|
99 */ |
98 private boolean supportsAbsolutePositioning; |
100 private boolean supportsAbsolutePositioning; |
99 |
101 |
100 /** |
102 /** |
101 * Hint as to what width (when vertical) or height (when horizontal) |
103 * Hint as to what width (when vertical) or height (when horizontal) |
102 * should be. |
104 * should be. |
875 |
877 |
876 /** |
878 /** |
877 * Set the bounds of the thumb and force a repaint that includes |
879 * Set the bounds of the thumb and force a repaint that includes |
878 * the old thumbBounds and the new one. |
880 * the old thumbBounds and the new one. |
879 * |
881 * |
|
882 * @param x set the x location of the thumb |
|
883 * @param y set the y location of the thumb |
|
884 * @param width set the width of the thumb |
|
885 * @param height set the height of the thumb |
880 * @see #getThumbBounds |
886 * @see #getThumbBounds |
881 */ |
887 */ |
882 protected void setThumbBounds(int x, int y, int width, int height) |
888 protected void setThumbBounds(int x, int y, int width, int height) |
883 { |
889 { |
884 /* If the thumbs bounds haven't changed, we're done. |
890 /* If the thumbs bounds haven't changed, we're done. |