Package com.jgoodies.looks.plastic
Class PlasticPasswordFieldUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
javax.swing.plaf.basic.BasicPasswordFieldUI
com.jgoodies.looks.plastic.PlasticPasswordFieldUI
- All Implemented Interfaces:
ViewFactory
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 $
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Caret
Creates the caret for a field.static ComponentUI
Creates a UI for aJPasswordField
.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, modelToView2D, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
Methods inherited from class javax.swing.plaf.TextUI
getToolTipText2D
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Constructor Details
-
PlasticPasswordFieldUI
public PlasticPasswordFieldUI()
-
-
Method Details
-
createUI
Creates a UI for aJPasswordField
.- Parameters:
c
- the password field component- Returns:
- the UI
-
createCaret
Creates the caret for a field.- Overrides:
createCaret
in classBasicTextUI
- Returns:
- the caret
-