com.jgoodies.looks.plastic

Class PlasticPasswordFieldUI


public final class PlasticPasswordFieldUI
extends BasicPasswordFieldUI

The JGoodies PlasticXP Look&Feel implementation of a password field UI delegate. It differs from its superclass in that it utilizes a password view that renders the UIManager's echo char, not a star ("*"). In addition it uses a custom caret if enabled by the L&f.
Version:
$Revision: 1.6 $
Author:
Karsten Lentzsch

Method Summary

View
create(Element elem)
Creates and returns a view (an ExtPasswordView) for an element.
protected Caret
createCaret()
Creates the caret for a field.
static ComponentUI
createUI(JComponent c)
Creates a UI for a JPasswordField.

Method Details

create

public View create(Element elem)
Creates and returns a view (an ExtPasswordView) for an element.
Parameters:
elem - the element
Returns:
the view

createCaret

protected Caret createCaret()
Creates the caret for a field.
Returns:
the caret

createUI

public static ComponentUI createUI(JComponent c)
Creates a UI for a JPasswordField.
Parameters:
c - the password field component
Returns:
the UI

Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.