ViewFactory
public class BasicPasswordFieldUI extends BasicTextFieldUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor | Description |
---|---|
BasicPasswordFieldUI() |
Constructs a BasicPasswordFieldUI . |
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. |
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, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
getToolTipText2D, modelToView2D, viewToModel2D
contains, getAccessibleChild, getAccessibleChildrenCount
public BasicPasswordFieldUI()
BasicPasswordFieldUI
.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/basic/BasicPasswordFieldUI.html