com.jgoodies.looks.windows
Class WindowsXPPasswordFieldUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TextUI
          extended by javax.swing.plaf.basic.BasicTextUI
              extended by javax.swing.plaf.basic.BasicTextFieldUI
                  extended by javax.swing.plaf.basic.BasicPasswordFieldUI
                      extended by com.sun.java.swing.plaf.windows.WindowsPasswordFieldUI
                          extended by com.jgoodies.looks.windows.WindowsXPPasswordFieldUI
All Implemented Interfaces:
javax.swing.text.ViewFactory

public final class WindowsXPPasswordFieldUI
extends com.sun.java.swing.plaf.windows.WindowsPasswordFieldUI

The JGoodies Windows Look&Feel implementation of a password field UI delegate. It differs from its superclass in that it utilizes a password view that renders a circle, not a star ("*") as echo character.

Version:
$Revision: 1.4 $
Author:
Karsten Lentzsch

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter
 
Constructor Summary
WindowsXPPasswordFieldUI()
           
 
Method Summary
 javax.swing.text.View create(javax.swing.text.Element elem)
          Creates and returns a view (a ExtPasswordView) for an element.
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates a UI for a JPasswordField.
 
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsPasswordFieldUI
createCaret
 
Methods inherited from class javax.swing.plaf.basic.BasicPasswordFieldUI
getPropertyPrefix, installDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
getBaseline, getBaselineResizeBehavior
 
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, 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

WindowsXPPasswordFieldUI

public WindowsXPPasswordFieldUI()
Method Detail

createUI

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

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

create

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

Specified by:
create in interface javax.swing.text.ViewFactory
Overrides:
create in class javax.swing.plaf.basic.BasicPasswordFieldUI
Parameters:
elem - the element
Returns:
the view


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