public class SynthPasswordFieldUI extends SynthTextFieldUI
JPasswordFieldのSynth L&F UIの委譲を提供します。BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighterDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| コンストラクタ | 説明 |
|---|---|
SynthPasswordFieldUI() |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
View |
create(Element elem) |
要素のビュー(PasswordView)を作成します。
|
static ComponentUI |
createUI(JComponent c) |
JPasswordFieldのUIを作成します。
|
protected String |
getPropertyPrefix() |
UIManagerでプロパティを参照するキーとして使われる名前を取得します。
|
protected void |
installKeyboardActions() |
|
void |
paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) |
ボーダーをペイントします。
|
getContext, installDefaults, paint, paintBackground, propertyChange, uninstallDefaults, updategetBaseline, getBaselineResizeBehaviorcreate, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintSafely, setView, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUI createUI(JComponent c)
c - JPasswordFieldprotected String getPropertyPrefix()
getPropertyPrefix、クラスBasicTextFieldUIpublic View create(Element elem)
create、インタフェースViewFactorycreate、クラスBasicTextFieldUIelem - 要素Viewpublic void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
paintBorder、インタフェースSynthUIpaintBorder、クラスSynthTextFieldUIcontext - コンポーネント・コンテキストg - ペイントされるGraphicsx - X座標y - Y座標w - ボーダーの幅h - ボーダーの高さprotected void installKeyboardActions()
installKeyboardActions、クラスBasicTextUI バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。