/[classpath]/classpath/javax/swing/JPasswordField.java
ViewVC logotype

Diff of /classpath/javax/swing/JPasswordField.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mkoch, Fri Oct 22 12:43:59 2004 UTC revision 1.8 by mkoch, Tue Nov 23 16:37:23 2004 UTC
# Line 91  public class JPasswordField extends JTex Line 91  public class JPasswordField extends JTex
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    {    {
# Line 100  public class JPasswordField extends JTex Line 101  public class JPasswordField extends JTex
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    {    {
# Line 109  public class JPasswordField extends JTex Line 111  public class JPasswordField extends JTex
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    {    {
# Line 119  public class JPasswordField extends JTex Line 122  public class JPasswordField extends JTex
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    {    {
# Line 131  public class JPasswordField extends JTex Line 135  public class JPasswordField extends JTex
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    {    {
# Line 150  public class JPasswordField extends JTex Line 157  public class JPasswordField extends JTex
157    
158    /**    /**
159     * getEchoChar     * getEchoChar
160     * @return char     *
161       * @return the echo char
162     */     */
163    public char getEchoChar()    public char getEchoChar()
164    {    {
# Line 159  public class JPasswordField extends JTex Line 167  public class JPasswordField extends JTex
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    {    {
# Line 168  public class JPasswordField extends JTex Line 177  public class JPasswordField extends JTex
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    {    {
# Line 176  public class JPasswordField extends JTex Line 187  public class JPasswordField extends JTex
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    {    {
# Line 184  public class JPasswordField extends JTex Line 196  public class JPasswordField extends JTex
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    {    {
# Line 193  public class JPasswordField extends JTex Line 206  public class JPasswordField extends JTex
206    
207    /**    /**
208     * getText     * getText
209       *
210     * @return String     * @return String
211       *
212     * @deprecated     * @deprecated
213     */     */
214    public String getText()    public String getText()
# Line 203  public class JPasswordField extends JTex Line 218  public class JPasswordField extends JTex
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
# Line 216  public class JPasswordField extends JTex Line 235  public class JPasswordField extends JTex
235    
236    /**    /**
237     * getPassword     * getPassword
238       *
239     * @return char[]     * @return char[]
240     */     */
241    public char[] getPassword()    public char[] getPassword()
# Line 225  public class JPasswordField extends JTex Line 245  public class JPasswordField extends JTex
245    
246    /**    /**
247     * paramString     * paramString
248       *
249     * @return String     * @return String
250     */     */
251    protected String paramString()    protected String paramString()
# Line 234  public class JPasswordField extends JTex Line 255  public class JPasswordField extends JTex
255    
256    /**    /**
257     * getAccessibleContext     * getAccessibleContext
258     * @return AccessibleContext     *
259       * @return the <code>AccessibleContext</code> object
260     */     */
261    public AccessibleContext getAccessibleContext()    public AccessibleContext getAccessibleContext()
262    {    {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26