435 |
protected Rectangle thumbRect; |
protected Rectangle thumbRect; |
436 |
|
|
437 |
/** Indicates that the decrease highlight should be painted. */ |
/** Indicates that the decrease highlight should be painted. */ |
438 |
protected static int DECREASE_HIGHLIGHT = 1; |
protected static final int DECREASE_HIGHLIGHT = 1; |
439 |
|
|
440 |
/** Indicates that the increase highlight should be painted. */ |
/** Indicates that the increase highlight should be painted. */ |
441 |
protected static int INCREASE_HIGHLIGHT = 2; |
protected static final int INCREASE_HIGHLIGHT = 2; |
442 |
|
|
443 |
/** Indicates that no highlight should be painted. */ |
/** Indicates that no highlight should be painted. */ |
444 |
protected static int NO_HIGHLIGHT = 0; |
protected static final int NO_HIGHLIGHT = 0; |
445 |
|
|
446 |
/** Indicates that the scrolling direction is positive. */ |
/** Indicates that the scrolling direction is positive. */ |
447 |
private static int POSITIVE_SCROLL = 1; |
private static final int POSITIVE_SCROLL = 1; |
448 |
|
|
449 |
/** Indicates that the scrolling direction is negative. */ |
/** Indicates that the scrolling direction is negative. */ |
450 |
private static int NEGATIVE_SCROLL = -1; |
private static final int NEGATIVE_SCROLL = -1; |
451 |
|
|
452 |
/** The cached preferred size for the scrollbar. */ |
/** The cached preferred size for the scrollbar. */ |
453 |
private transient Dimension preferredSize; |
private transient Dimension preferredSize; |