Lines Matching refs:options

45      * with <code>options</code> instead of an <code>optionType</code>.
147 private String[] options;
183 * does not correspond to one of the options in
216 * message type, a list of options and a default option.
221 * The confirmation options are listed in the <code>options</code> array,
223 * in a manner consistent with the way preset options are displayed.
230 * @param options the list of confirmation options. <p>
233 * into the <code>options</code> array.
237 * or <code>ERROR</code>, if <code>options</code> is null,
238 * if <code>options</code> has a length of 0,
239 * if any element from <code>options</code> is null,
240 * if any element from <code>options</code>
243 * <code>options</code>.
246 String[] options, int defaultOption) {
249 options == null || options.length == 0 ||
250 defaultOption < 0 || defaultOption >= options.length)
253 for (int i = 0; i < options.length; i++) {
254 if (options[i] == null || options[i].length() == 0)
259 this.options = options;
273 * @param prompt the prompt used to describe the list of options. <p>
296 * does not correspond to one of the options in
331 * message type, a list of options and a default option.
336 * The confirmation options are listed in the <code>options</code> array,
338 * in a manner consistent with the way preset options are displayed.
342 * @param prompt the prompt used to describe the list of options. <p>
347 * @param options the list of confirmation options. <p>
350 * into the <code>options</code> array.
356 * or <code>ERROR</code>, if <code>options</code> is null,
357 * if <code>options</code> has a length of 0,
358 * if any element from <code>options</code> is null,
359 * if any element from <code>options</code>
362 * <code>options</code>.
365 String[] options, int defaultOption) {
369 options == null || options.length == 0 ||
370 defaultOption < 0 || defaultOption >= options.length)
373 for (int i = 0; i < options.length; i++) {
374 if (options[i] == null || options[i].length() == 0)
380 this.options = options;
413 * <code>options</code> instead of an <code>optionType</code>.
415 * to determine which confirmation options to display.
424 * <code>options</code> instead of an <code>optionType</code>.
431 * Get the confirmation options.
435 * @return the list of confirmation options, or null if this
437 * an <code>optionType</code> instead of <code>options</code>.
440 return options;
455 * <code>options</code> array specified to the constructor
472 * <code>options</code> array specified to the constructor
493 * <code>options</code> array specified to the constructor