88 |
|
|
89 |
/** |
/** |
90 |
* Constructor AccessibleJProgressBar |
* Constructor AccessibleJProgressBar |
|
* |
|
|
* @param component TODO |
|
91 |
*/ |
*/ |
92 |
protected AccessibleJProgressBar() |
protected AccessibleJProgressBar() |
93 |
{ |
{ |
198 |
*/ |
*/ |
199 |
public JProgressBar() |
public JProgressBar() |
200 |
{ |
{ |
201 |
this(0, 100, HORIZONTAL); |
this(HORIZONTAL, 0, 100); |
202 |
} |
} |
203 |
|
|
204 |
/** |
/** |
206 |
* a maximum of 100, and the given orientation. |
* a maximum of 100, and the given orientation. |
207 |
* |
* |
208 |
* @param orientation The orientation of the JProgressBar. |
* @param orientation The orientation of the JProgressBar. |
209 |
|
* |
210 |
|
* @throws IllegalArgumentException if <code>orientation</code> is not either |
211 |
|
* {@link #HORIZONTAL} or {@link #VERTICAL}. |
212 |
*/ |
*/ |
213 |
public JProgressBar(int orientation) |
public JProgressBar(int orientation) |
214 |
{ |
{ |
215 |
this(0, 100, orientation); |
this(orientation, 0, 100); |
216 |
} |
} |
217 |
|
|
218 |
/** |
/** |
224 |
*/ |
*/ |
225 |
public JProgressBar(int minimum, int maximum) |
public JProgressBar(int minimum, int maximum) |
226 |
{ |
{ |
227 |
this(minimum, maximum, HORIZONTAL); |
this(HORIZONTAL, minimum, maximum); |
228 |
} |
} |
229 |
|
|
230 |
/** |
/** |
234 |
* @param minimum The minimum of the JProgressBar. |
* @param minimum The minimum of the JProgressBar. |
235 |
* @param maximum The maximum of the JProgressBar. |
* @param maximum The maximum of the JProgressBar. |
236 |
* @param orientation The orientation of the JProgressBar. |
* @param orientation The orientation of the JProgressBar. |
237 |
|
* |
238 |
|
* @throws IllegalArgumentException if <code>orientation</code> is not either |
239 |
|
* {@link #HORIZONTAL} or {@link #VERTICAL}. |
240 |
*/ |
*/ |
241 |
public JProgressBar(int minimum, int maximum, int orientation) |
public JProgressBar(int orientation, int minimum, int maximum) |
242 |
{ |
{ |
243 |
model = new DefaultBoundedRangeModel(minimum, 0, minimum, maximum); |
model = new DefaultBoundedRangeModel(minimum, 0, minimum, maximum); |
244 |
if (orientation != HORIZONTAL && orientation != VERTICAL) |
if (orientation != HORIZONTAL && orientation != VERTICAL) |