Searched refs:choices (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/security/auth/callback/
H A DChoiceCallback.java31 * method of a <code>CallbackHandler</code> to display a list of choices
46 * @serial the list of choices
49 private String[] choices; field in class:ChoiceCallback
57 * choices
62 * @serial the selected choices, represented as indexes into the
63 * <code>choices</code> list.
70 * a list of choices, a default choice, and a boolean specifying
71 * whether or not multiple selections from the list of choices are allowed.
75 * @param prompt the prompt used to describe the list of choices. <p>
77 * @param choices th
98 ChoiceCallback(String prompt, String[] choices, int defaultChoice, boolean multipleSelectionsAllowed) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/security/sasl/
H A DRealmChoiceCallback.java32 * to obtain a realm given a list of realm choices.
43 * choices and a default choice.
46 * @param choices the non-null list of realms to choose from.
48 * when the list of choices is displayed. It is an index into
49 * the <tt>choices</tt> arary.
50 * @param multiple true if multiple choices allowed; false otherwise
52 * if <tt>choices</tt> has a length of 0, if any element from
53 * <tt>choices</tt> is null or empty, or if <tt>defaultChoice</tt>
54 * does not fall within the array boundary of <tt>choices</tt>
56 public RealmChoiceCallback(String prompt, String[]choices,
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DJavacOption.java105 /** The kind of choices for this option, if any.
109 /** The choices for this option, if any, and whether or not the choices
112 Map<String,Boolean> choices; field in class:JavacOption.Option
126 Option(OptionName name, String descrKey, ChoiceKind choiceKind, String... choices) { argument
127 this(name, descrKey, choiceKind, createChoices(choices));
130 private static Map<String,Boolean> createChoices(String... choices) { argument
132 for (String c: choices)
138 Map<String,Boolean> choices) {
140 if (choiceKind == null || choices
137 Option(OptionName name, String descrKey, ChoiceKind choiceKind, Map<String,Boolean> choices) argument
267 XOption(OptionName name, String descrKey, ChoiceKind kind, String... choices) argument
270 XOption(OptionName name, String descrKey, ChoiceKind kind, Map<String,Boolean> choices) argument
[all...]
H A DRecognizedOptions.java633 Map<String,Boolean> choices = new LinkedHashMap<String,Boolean>();
634 choices.put("all", false);
636 choices.put(c.option, c.hidden);
638 choices.put("-" + c.option, c.hidden);
639 choices.put("none", false);
640 return choices;
/openjdk7/jdk/src/share/classes/java/sql/
H A DDriverPropertyInfo.java40 * name and value. The <code>description</code> and <code>choices</code>
83 public String[] choices = null; field in class:DriverPropertyInfo
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAudioSynthesizerPropertyInfo.java36 * name and value. The <code>description</code> and <code>choices</code>
77 public Object[] choices = null; field in class:AudioSynthesizerPropertyInfo
H A DSoftSynthesizer.java885 item.choices = new String[]{"linear", "linear1", "linear2", "cubic",
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/
H A DDefaultCallbackHandler.java79 String[] choices =
85 for (int j = 0; j < choices.length; j++) {
86 if (choices[j].equals(authRealm)) {
92 for (int j = 0; j < choices.length; j++) {
93 allChoices.append(choices[j] + ",");
97 authRealm + "' with choices " + allChoices +
/openjdk7/jdk/test/com/sun/security/sasl/
H A DClientCallbackHandler.java71 String[] choices = rcb.getChoices();
74 for (int j=0; j < choices.length; j++) {
75 System.err.println(j + ":" + choices[j]);
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DClientCallbackHandler.java71 String[] choices = rcb.getChoices();
74 for (int j=0; j < choices.length; j++) {
75 System.err.println(j + ":" + choices[j]);
/openjdk7/jdk/src/share/classes/com/sun/jdi/connect/
H A DConnector.java270 * whose value is a String selected from a list of choices.
277 List<String> choices(); method in interface:Connector.SelectedArgument
281 * @return <code>true</code> if value is one of {@link #choices()}.
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DConnectorImpl.java400 private final List<String> choices; field in class:ConnectorImpl.SelectedArgumentImpl
404 boolean mustSpecify, List<String> choices) {
406 this.choices = Collections.unmodifiableList(new ArrayList<String>(choices));
413 public List<String> choices() { method in class:ConnectorImpl.SelectedArgumentImpl
414 return choices;
419 * @return <code>true</code> if value is one of {@link #choices()}.
422 return choices.contains(value);
402 SelectedArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, List<String> choices) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConnectorImpl.java605 private final List choices; field in class:ConnectorImpl.SelectedArgumentImpl
609 boolean mustSpecify, List choices) {
611 this.choices = Collections.unmodifiableList(
612 new ArrayList(choices));
619 public List choices() { method in class:ConnectorImpl.SelectedArgumentImpl
620 return choices;
625 * @return <code>true</code> if value is one of {@link #choices()}.
628 return choices.contains(value);
607 SelectedArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, List choices) argument
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCodingChooser.java61 Choice[] choices; field in class:CodingChooser
68 // Element in sorted set of coding choices:
72 final int index; // index in choices
81 int minDistance; // min distance from already-checked choices
152 choices = new Choice[nc];
156 int[] distance = new int[choices.length];
157 choices[nc++] = new Choice(allCodingChoices[i], i, distance);
159 for (int i = 0; i < choices.length; i++) {
160 Coding ci = choices[i].coding;
163 Coding cj = choices[
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DCUPSfuncs.c257 choice = (optionPage->choices)+i;
281 choice = (optionTray->choices)+i;
359 choice = (option->choices)+i;
/openjdk7/langtools/test/tools/javac/scope/
H A DStarImportTest.java70 * Select a random element from an array of choices.
72 <T> T random(T... choices) { argument
73 return choices[rgen.nextInt(choices.length)];

Completed in 73 milliseconds