91 |
} |
} |
92 |
|
|
93 |
/** |
/** |
94 |
* Constructor JPasswordField |
* Creates a <code>JPasswordField</code> object. |
95 |
* @param text TODO |
* |
96 |
|
* @param text the initial text |
97 |
*/ |
*/ |
98 |
public JPasswordField(String text) |
public JPasswordField(String text) |
99 |
{ |
{ |
101 |
} |
} |
102 |
|
|
103 |
/** |
/** |
104 |
* Constructor JPasswordField |
* Creates a <code>JPasswordField</code> object. |
105 |
* @param columns TODO |
* |
106 |
|
* @param columns the number of columns |
107 |
*/ |
*/ |
108 |
public JPasswordField(int columns) |
public JPasswordField(int columns) |
109 |
{ |
{ |
111 |
} |
} |
112 |
|
|
113 |
/** |
/** |
114 |
* Constructor JPasswordField |
* Creates a <code>JPasswordField</code> object. |
115 |
* @param text TODO |
* |
116 |
* @param columns TODO |
* @param text the initial text |
117 |
|
* @param columns the number of columns |
118 |
*/ |
*/ |
119 |
public JPasswordField(String text, int columns) |
public JPasswordField(String text, int columns) |
120 |
{ |
{ |
122 |
} |
} |
123 |
|
|
124 |
/** |
/** |
125 |
* Constructor JPasswordField |
* Creates a <code>JPasswordField</code> object. |
126 |
* @param document TODO |
* |
127 |
* @param text TODO |
* @param document the document to use |
128 |
* @param columns TODO |
* @param text the initial text |
129 |
|
* @param columns the number of columns |
130 |
*/ |
*/ |
131 |
public JPasswordField(Document document, String text, int columns) |
public JPasswordField(Document document, String text, int columns) |
132 |
{ |
{ |
135 |
|
|
136 |
/** |
/** |
137 |
* writeObject |
* writeObject |
138 |
* @param stream TODO |
* |
139 |
* @exception IOException TODO |
* @param stream the stream to write to |
140 |
|
* |
141 |
|
* @exception IOException if an error occurs |
142 |
*/ |
*/ |
143 |
private void writeObject(ObjectOutputStream stream) throws IOException |
private void writeObject(ObjectOutputStream stream) throws IOException |
144 |
{ |
{ |
145 |
// TODO |
// TODO: Implement me. |
146 |
} |
} |
147 |
|
|
148 |
/** |
/** |
149 |
* getUIClassID |
* Returns the <code>UIClassID</code> |
150 |
* @return String |
* |
151 |
|
* @return the string "PasswordFieldUI" |
152 |
*/ |
*/ |
153 |
public String getUIClassID() |
public String getUIClassID() |
154 |
{ |
{ |
157 |
|
|
158 |
/** |
/** |
159 |
* getEchoChar |
* getEchoChar |
160 |
* @return char |
* |
161 |
|
* @return the echo char |
162 |
*/ |
*/ |
163 |
public char getEchoChar() |
public char getEchoChar() |
164 |
{ |
{ |
167 |
|
|
168 |
/** |
/** |
169 |
* setEchoChar |
* setEchoChar |
170 |
* @param echo TODO |
* |
171 |
|
* @param echo the echo char |
172 |
*/ |
*/ |
173 |
public void setEchoChar(char echo) |
public void setEchoChar(char echo) |
174 |
{ |
{ |
177 |
|
|
178 |
/** |
/** |
179 |
* echoCharIsSet |
* echoCharIsSet |
180 |
* @return boolean |
* |
181 |
|
* @return <code>true</code> if the echo char is set, |
182 |
|
* <code>false</code> otherwise. |
183 |
*/ |
*/ |
184 |
public boolean echoCharIsSet() |
public boolean echoCharIsSet() |
185 |
{ |
{ |
187 |
} |
} |
188 |
|
|
189 |
/** |
/** |
190 |
* copy |
* Copies the selected text into the clipboard. This operation is not |
191 |
|
* allowed in a password input field. |
192 |
*/ |
*/ |
193 |
public void copy() |
public void copy() |
194 |
{ |
{ |
196 |
} |
} |
197 |
|
|
198 |
/** |
/** |
199 |
* cut |
* Cuts the selected text and puts it into the clipboard. This operation |
200 |
|
* is not allowed in a password input field. |
201 |
*/ |
*/ |
202 |
public void cut() |
public void cut() |
203 |
{ |
{ |
206 |
|
|
207 |
/** |
/** |
208 |
* getText |
* getText |
209 |
|
* |
210 |
* @return String |
* @return String |
211 |
|
* |
212 |
* @deprecated |
* @deprecated |
213 |
*/ |
*/ |
214 |
public String getText() |
public String getText() |
218 |
|
|
219 |
/** |
/** |
220 |
* getText |
* getText |
221 |
|
* |
222 |
* @param offset TODO |
* @param offset TODO |
223 |
* @param length TODO |
* @param length TODO |
224 |
|
* |
225 |
* @return String |
* @return String |
226 |
|
* |
227 |
* @exception BadLocationException TODO |
* @exception BadLocationException TODO |
228 |
|
* |
229 |
* @deprecated |
* @deprecated |
230 |
*/ |
*/ |
231 |
public String getText(int offset, int length) throws BadLocationException |
public String getText(int offset, int length) throws BadLocationException |
235 |
|
|
236 |
/** |
/** |
237 |
* getPassword |
* getPassword |
238 |
|
* |
239 |
* @return char[] |
* @return char[] |
240 |
*/ |
*/ |
241 |
public char[] getPassword() |
public char[] getPassword() |
245 |
|
|
246 |
/** |
/** |
247 |
* paramString |
* paramString |
248 |
|
* |
249 |
* @return String |
* @return String |
250 |
*/ |
*/ |
251 |
protected String paramString() |
protected String paramString() |
255 |
|
|
256 |
/** |
/** |
257 |
* getAccessibleContext |
* getAccessibleContext |
258 |
* @return AccessibleContext |
* |
259 |
|
* @return the <code>AccessibleContext</code> object |
260 |
*/ |
*/ |
261 |
public AccessibleContext getAccessibleContext() |
public AccessibleContext getAccessibleContext() |
262 |
{ |
{ |