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.


Constructor Index

 o BasicPasswordFieldUI()

Method Index

 o create(Element)
If a subclass wishes to directly implement the factory producing the view(s), it should reimplement this method.
 o create(Element, int, int)
If a subclass wishes to directly implement the factory producing the view(s), it should reimplement this method.
 o createUI(JComponent)
Creates a UI for a JPasswordField.

Constructors

 o BasicPasswordFieldUI
 public BasicPasswordFieldUI()

Methods

 o createUI
 public static ComponentUI createUI(JComponent c)
Creates a UI for a JPasswordField.

Parameters:
c - the JPasswordField
Returns:
the UI
 o 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
 o 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