public class BasicPasswordFieldUI extends BasicTextFieldUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter| Constructor and Description |
|---|
BasicPasswordFieldUI() |
| Modifier and Type | Method and Description |
|---|---|
View |
create(Element elem)
为元素创建一个视图(PasswordView)。
|
static ComponentUI |
createUI(JComponent c)
为JPasswordField创建一个UI。
|
protected String |
getPropertyPrefix()
获取用作密钥的名称,通过UIManager查找属性。
|
protected void |
installDefaults()
在JPasswordField上安装必要的属性。
|
getBaseline, getBaselineResizeBehaviorcreate, 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, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUI createUI(JComponent c)
c - JPasswordField
protected String getPropertyPrefix()
getPropertyPrefix在
BasicTextFieldUI
protected void installDefaults()
installDefaults在
BasicTextUI类
BasicTextUI.uninstallDefaults() ,
BasicTextUI.installUI(javax.swing.JComponent)
public View create(Element elem)
create在界面
ViewFactory
create在
BasicTextFieldUI
elem - 元素
View