57 private static Color darkShadowColor; |
57 private static Color darkShadowColor; |
58 private static Color thumbColor; |
58 private static Color thumbColor; |
59 private static Color thumbShadow; |
59 private static Color thumbShadow; |
60 private static Color thumbHighlightColor; |
60 private static Color thumbHighlightColor; |
61 |
61 |
62 |
62 /** |
|
63 * The metal bumps. |
|
64 */ |
63 protected MetalBumps bumps; |
65 protected MetalBumps bumps; |
64 |
66 |
|
67 /** |
|
68 * The increase button. |
|
69 */ |
65 protected MetalScrollButton increaseButton; |
70 protected MetalScrollButton increaseButton; |
|
71 |
|
72 /** |
|
73 * The decrease button. |
|
74 */ |
66 protected MetalScrollButton decreaseButton; |
75 protected MetalScrollButton decreaseButton; |
67 |
76 |
|
77 /** |
|
78 * The width of the scroll bar. |
|
79 */ |
68 protected int scrollBarWidth; |
80 protected int scrollBarWidth; |
69 |
81 |
|
82 /** |
|
83 * The property {@code JScrollBar.isFreeStanding}. |
|
84 */ |
70 public static final String FREE_STANDING_PROP = "JScrollBar.isFreeStanding"; |
85 public static final String FREE_STANDING_PROP = "JScrollBar.isFreeStanding"; |
|
86 |
|
87 /** |
|
88 * The value of the property {@code JScrollBar.isFreeStanding}. |
|
89 */ |
71 protected boolean isFreeStanding = true; |
90 protected boolean isFreeStanding = true; |
72 |
91 |
|
92 /** |
|
93 * Constructs a new {@code MetalScrollBarUI} instance. |
|
94 * |
|
95 * @param c a component |
|
96 * @return a new {@code MetalScrollBarUI} instance |
|
97 */ |
73 public static ComponentUI createUI( JComponent c ) |
98 public static ComponentUI createUI( JComponent c ) |
74 { |
99 { |
75 return new MetalScrollBarUI(); |
100 return new MetalScrollBarUI(); |
76 } |
101 } |
77 |
102 |