SynthConstants
, SynthUI
, ViewFactory
public class SynthPasswordFieldUI extends SynthTextFieldUI
JPasswordField
.BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
Constructor | Description |
---|---|
SynthPasswordFieldUI() |
Constructs a SynthPasswordFieldUI . |
Modifier and Type | Method | Description |
---|---|---|
View |
create |
Creates a view (PasswordView) for an element. |
static ComponentUI |
createUI |
Creates a UI for a JPasswordField. |
protected String |
getPropertyPrefix() |
Fetches the name used as a key to look up properties through the UIManager. |
protected void |
installDefaults() |
Installs the necessary properties on the JPasswordField. |
getContext, paint, paintBackground, paintBorder, propertyChange, update
getBaseline, getBaselineResizeBehavior
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModel
getToolTipText2D, modelToView2D, viewToModel2D
contains, getAccessibleChild, getAccessibleChildrenCount
public SynthPasswordFieldUI()
SynthPasswordFieldUI
.public static ComponentUI createUI(JComponent c)
c
- the JPasswordFieldprotected String getPropertyPrefix()
getPropertyPrefix
in class BasicTextFieldUI
protected void installDefaults()
installDefaults
in class BasicTextUI
public View create(Element elem)
create
in interface ViewFactory
create
in class BasicTextFieldUI
elem
- the element
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/synth/SynthPasswordFieldUI.html