| Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.swing.JComponent
|
+----java.awt.swing.text.JTextComponent
|
+----java.awt.swing.JTextField
|
+----java.awt.swing.JPasswordField
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
| Inner Class Summary | |
| JPasswordField.AccessibleJPasswordField
|
|
| Inner classes inherited from class java.awt.swing.JTextField |
| JTextField.AccessibleJTextField |
| Inner classes inherited from class java.awt.swing.text.JTextComponent |
| JTextComponent.AccessibleJTextComponent, JTextComponent.KeyBinding |
| Inner classes inherited from class java.awt.swing.JComponent |
| JComponent.AccessibleJComponent |
| Fields inherited from class java.awt.swing.JTextField |
| notifyAction |
| Fields inherited from class java.awt.swing.text.JTextComponent |
| DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class java.awt.swing.JComponent |
| accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
| BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Constructor Summary | |
| JPasswordField()
|
|
| JPasswordField(String text)
|
|
| JPasswordField(int columns)
|
|
| JPasswordField(String text,
int columns)
|
|
| JPasswordField(Document doc,
String txt,
int columns)
|
|
| Method Summary | |
| boolean | echoCharIsSet()
|
| AccessibleContext | getAccessibleContext()
|
| char | getEchoChar()
|
| String | getUIClassID()
|
| void | setEchoChar(char c)
|
| Methods inherited from class java.awt.Container |
| add, add, add, add, add, addContainerListener, addImpl, addNotify, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setLayout, update, validate, validateTree |
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JPasswordField()
public JPasswordField(String text)
text
- the text to be displayed
public JPasswordField(int columns)
columns
- the number of columns
public JPasswordField(String text,
int columns)
text
- the text to be displayed
columns
- the number of columns
public JPasswordField(Document doc,
String txt,
int columns)
doc
- the text storage to use
txt
- the text to be displayed
columns
- the number of columns to use to calculate
the preferred width. If columns is set to zero, the
preferred width will be whatever naturally results from
the component implementation.
| Method Detail |
public String getUIClassID()
public char getEchoChar()
public void setEchoChar(char c)
c
- the echo character to display
public boolean echoCharIsSet()
public AccessibleContext getAccessibleContext()
| Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||