Searched refs:prompt (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/security/auth/callback/
H A DNameCallback.java43 private String prompt; field in class:NameCallback
56 * Construct a <code>NameCallback</code> with a prompt.
60 * @param prompt the prompt used to request the name.
62 * @exception IllegalArgumentException if <code>prompt</code> is null
63 * or if <code>prompt</code> has a length of 0.
65 public NameCallback(String prompt) { argument
66 if (prompt == null || prompt.length() == 0)
68 this.prompt
87 NameCallback(String prompt, String defaultName) argument
[all...]
H A DTextInputCallback.java44 private String prompt; field in class:TextInputCallback
57 * Construct a <code>TextInputCallback</code> with a prompt.
61 * @param prompt the prompt used to request the information.
63 * @exception IllegalArgumentException if <code>prompt</code> is null
64 * or if <code>prompt</code> has a length of 0.
66 public TextInputCallback(String prompt) { argument
67 if (prompt == null || prompt.length() == 0)
69 this.prompt
88 TextInputCallback(String prompt, String defaultText) argument
[all...]
H A DChoiceCallback.java44 private String prompt; field in class:ChoiceCallback
69 * Construct a <code>ChoiceCallback</code> with a prompt,
75 * @param prompt the prompt used to describe the list of choices. <p>
88 * @exception IllegalArgumentException if <code>prompt</code> is null,
89 * if <code>prompt</code> has a length of 0,
98 public ChoiceCallback(String prompt, String[] choices, argument
101 if (prompt == null || prompt.length() == 0 ||
111 this.prompt
[all...]
H A DPasswordCallback.java43 private String prompt; field in class:PasswordCallback
56 * Construct a <code>PasswordCallback</code> with a prompt
62 * @param prompt the prompt used to request the password. <p>
67 * @exception IllegalArgumentException if <code>prompt</code> is null or
68 * if <code>prompt</code> has a length of 0.
70 public PasswordCallback(String prompt, boolean echoOn) { argument
71 if (prompt == null || prompt.length() == 0)
74 this.prompt
[all...]
H A DConfirmationCallback.java127 private String prompt; field in class:ConfirmationCallback
264 * Construct a <code>ConfirmationCallback</code> with a prompt,
273 * @param prompt the prompt used to describe the list of options. <p>
287 * @exception IllegalArgumentException if <code>prompt</code> is null,
288 * if <code>prompt</code> has a length of 0,
299 public ConfirmationCallback(String prompt, int messageType, argument
302 if (prompt == null || prompt.length() == 0 ||
323 this.prompt
364 ConfirmationCallback(String prompt, int messageType, String[] options, int defaultOption) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/security/sasl/
H A DRealmCallback.java42 * Constructs a <tt>RealmCallback</tt> with a prompt.
44 * @param prompt The non-null prompt to use to request the realm information.
45 * @throws IllegalArgumentException If <tt>prompt</tt> is null or
48 public RealmCallback(String prompt) { argument
49 super(prompt);
53 * Constructs a <tt>RealmCallback</tt> with a prompt and default
56 * @param prompt The non-null prompt to use to request the realm information.
58 * @throws IllegalArgumentException If <tt>prompt</t
62 RealmCallback(String prompt, String defaultRealmInfo) argument
[all...]
H A DRealmChoiceCallback.java42 * Constructs a <tt>RealmChoiceCallback</tt> with a prompt, a list of
45 * @param prompt the non-null prompt to use to request the realm.
51 * @throws IllegalArgumentException If <tt>prompt</tt> is null or the empty string,
56 public RealmChoiceCallback(String prompt, String[]choices, argument
58 super(prompt, choices, defaultChoice, multiple);
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLIsIndexElement.java57 * The prompt message. See the prompt attribute definition in HTML 4.0.
61 public void setPrompt(String prompt); argument
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/
H A Dmemmonitor.js62 var threshold = prompt("Threshold (mb)", 50);
64 var interval = prompt("Sample Interval (ms):", 1000);
H A Dbrowse.js60 var url = prompt("Address:");
H A Dmail.js60 var mailTo = prompt("Mail To:");
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DHttpCallerInfo.java48 final public String host, protocol, prompt, scheme; field in class:HttpCallerInfo
60 this.prompt = old.prompt;
72 prompt = "";
102 prompt = "";
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DTypeScript.java56 public TypeScript(String prompt) { argument
57 this(prompt, true);
60 public TypeScript(String prompt, boolean echoInput) { argument
78 promptLabel = new JLabel(prompt + " ");
94 public void setPrompt(String prompt) { argument
95 promptLabel.setText(prompt + " ");
/openjdk7/jdk/src/share/sample/nio/file/
H A DCopy.java63 * Copy source file to target location. If {@code prompt} is true then
64 * prompt user to overwrite target if it exists. The {@code preserve}
67 static void copyFile(Path source, Path target, boolean prompt, boolean preserve) { argument
71 if (!prompt || Files.notExists(target) || okayToOverwrite(target)) {
86 private final boolean prompt; field in class:Copy.TreeCopier
89 TreeCopier(Path source, Path target, boolean prompt, boolean preserve) { argument
92 this.prompt = prompt;
118 prompt, preserve);
156 boolean prompt
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DIsindexView.java67 String prompt = (String)attr.getAttribute(HTML.Attribute.PROMPT);
68 if (prompt == null) {
69 prompt = UIManager.getString("IsindexView.prompt");
71 JLabel label = new JLabel(prompt);
/openjdk7/jdk/src/share/classes/java/net/
H A DAuthenticator.java147 * @param prompt A prompt string for the user
164 String prompt,
183 a.requestingPrompt = prompt;
207 * @param prompt A prompt string for the user which identifies the authentication realm.
226 String prompt,
246 a.requestingPrompt = prompt;
268 * @param prompt A prompt strin
160 requestPasswordAuthentication( InetAddress addr, int port, String protocol, String prompt, String scheme) argument
221 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme) argument
286 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) argument
[all...]
/openjdk7/jdk/test/java/net/Authenticator/
H A DB4722333.java41 /* scheme realm/prompt */
160 String prompt = getRequestingPrompt();
161 System.out.println ("getRequestingPrompt() returns " + prompt);
166 if (!prompt.equals (expected [count][1])) {
167 B4722333.except ("wrong realm received, " + prompt + " expected " + expected [count][1]);
/openjdk7/jdk/src/share/classes/com/sun/security/auth/callback/
H A DTextCallbackHandler.java224 String prompt = confirmation.getPrompt();
225 if (prompt == null) {
226 prompt = "";
228 prompt = prefix + prompt;
229 if (!prompt.equals("")) {
230 System.err.println(prompt);
H A DDialogCallbackHandler.java133 JLabel prompt = new JLabel(nc.getPrompt());
142 * Put the prompt and name in a horizontal box,
146 namePanel.add(prompt);
160 JLabel prompt = new JLabel(pc.getPrompt());
169 passwordPanel.add(prompt);
/openjdk7/jdk/test/sun/util/resources/TimeZone/
H A DIntlTest.java79 else if( args[i].equals("-prompt") ) {
80 prompt = true;
126 if (prompt) {
206 ": [-verbose] [-nothrow] [-prompt] [test names]");
215 private boolean prompt = false; field in class:IntlTest
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/
H A DScriptJConsolePlugin.java74 private volatile String prompt; field in class:ScriptJConsolePlugin
114 return prompt;
141 prompt = extension + ">";
H A DScriptShellPanel.java61 // interface to evaluate script command and script prompt
65 // get prompt used for interactive read-eval-loop
179 public void clear(boolean prompt) { argument
182 if (prompt) printPrompt();
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleTestFmwk.java114 else if( args[i].equals("-prompt") ) {
115 prompt = true;
163 if (prompt) {
248 ": [-verbose] [-nothrow] [-exitcode] [-prompt] [test names]");
257 private boolean prompt = false; field in class:LocaleTestFmwk
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DRBTestFmwk.java111 else if( args[i].equals("-prompt") ) {
112 prompt = true;
161 if (prompt) {
242 ": [-verbose] [-nothrow] [-prompt] [test names]");
251 private boolean prompt = false; field in class:RBTestFmwk
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/spnego/
H A DNegotiateCallbackHandler.java49 * Authenticator asks for username and password in a single prompt,
67 hci.prompt, hci.scheme, hci.url, hci.authType);

Completed in 128 milliseconds

12