public class SynthPasswordFieldUI extends SynthTextFieldUI
JPasswordField
のSynth L&F UIの委譲を提供します。BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
DEFAULT, 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, update
getBaseline, getBaselineResizeBehavior
create, 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, viewToModel
contains, getAccessibleChild, getAccessibleChildrenCount
public static ComponentUI createUI(JComponent c)
c
- JPasswordFieldprotected String getPropertyPrefix()
getPropertyPrefix
、クラスBasicTextFieldUI
public View create(Element elem)
create
、インタフェースViewFactory
create
、クラスBasicTextFieldUI
elem
- 要素View
public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
paintBorder
、インタフェースSynthUI
paintBorder
、クラスSynthTextFieldUI
context
- コンポーネント・コンテキストg
- ペイントされるGraphics
x
- 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も参照してください。