com.jgoodies.looks.plastic
Class PlasticPasswordFieldUI

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.jgoodies.looks.plastic.PlasticPasswordFieldUI
All Implemented Interfaces:
javax.swing.text.ViewFactory

public final class PlasticPasswordFieldUI
extends javax.swing.plaf.basic.BasicPasswordFieldUI

The JGoodies PlasticXP Look&Feel implementation of a password field UI delegate. It differs from its superclass in that it utilizes a custom caret.

Version:
$Revision: 1.10 $
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
PlasticPasswordFieldUI()
           
 
Method Summary
protected  javax.swing.text.Caret createCaret()
          Creates the caret for a field.
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates a UI for a JPasswordField.
 
Methods inherited from class javax.swing.plaf.basic.BasicPasswordFieldUI
create, 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

PlasticPasswordFieldUI

public PlasticPasswordFieldUI()
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

createCaret

protected javax.swing.text.Caret createCaret()
Creates the caret for a field.

Overrides:
createCaret in class javax.swing.plaf.basic.BasicTextUI
Returns:
the caret


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