All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.basic.BasicPasswordFieldUI
java.lang.Object
|
+----com.sun.java.swing.plaf.ComponentUI
|
+----com.sun.java.swing.plaf.TextUI
|
+----com.sun.java.swing.text.DefaultTextUI
|
+----com.sun.java.swing.basic.BasicTextFieldUI
|
+----com.sun.java.swing.basic.BasicPasswordFieldUI
- public class BasicPasswordFieldUI
- extends BasicTextFieldUI
Provides the Windows look and feel for a password field.
The only difference from the standard text field is that
the view of the text is simply a string of the echo
character as specified in JPasswordField, rather than the
real text contained in the field.
-
BasicPasswordFieldUI()
-
-
create(Element)
- If a subclass wishes to directly implement the factory
producing the view(s), it should reimplement this
method.
-
create(Element, int, int)
- If a subclass wishes to directly implement the factory
producing the view(s), it should reimplement this
method.
-
createUI(JComponent)
- Creates a UI for a JPasswordField.
BasicPasswordFieldUI
public BasicPasswordFieldUI()
createUI
public static ComponentUI createUI(JComponent c)
- Creates a UI for a JPasswordField.
- Parameters:
- c - the JPasswordField
- Returns:
- the UI
create
public View create(Element elem)
- If a subclass wishes to directly implement the factory
producing the view(s), it should reimplement this
method.
- Overrides:
- create in class BasicTextFieldUI
create
public View create(Element elem,
int p0,
int p1)
- If a subclass wishes to directly implement the factory
producing the view(s), it should reimplement this
method.
- Overrides:
- create in class BasicTextFieldUI
All Packages Class Hierarchy This Package Previous Next Index