com.jgoodies.looks.plastic
Class PlasticXPPasswordFieldUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.TextUI
          extended byjavax.swing.plaf.basic.BasicTextUI
              extended byjavax.swing.plaf.basic.BasicTextFieldUI
                  extended byjavax.swing.plaf.basic.BasicPasswordFieldUI
                      extended bycom.jgoodies.looks.plastic.PlasticXPPasswordFieldUI
All Implemented Interfaces:
ViewFactory

public final class PlasticXPPasswordFieldUI
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 a dot, not a star ("*") as echo character.

Version:
$Revision: 1.2 $
Author:
Karsten Lentzsch

Nested Class Summary
 
Nested classes inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
 
Constructor Summary
PlasticXPPasswordFieldUI()
           
 
Method Summary
 View create(Element elem)
          Creates and returns a view (an ExtPasswordView) for an element.
static ComponentUI createUI(JComponent c)
          Creates a UI for a JPasswordField.
 
Methods inherited from class javax.swing.plaf.basic.BasicPasswordFieldUI
getPropertyPrefix
 
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
installUI, propertyChange
 
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlasticXPPasswordFieldUI

public PlasticXPPasswordFieldUI()
Method Detail

createUI

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

Parameters:
c - the password field component
Returns:
the UI

create

public View create(Element elem)
Creates and returns a view (an ExtPasswordView) for an element.

Parameters:
elem - the element
Returns:
the view


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