- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextFieldUI
-
- javax.swing.plaf.synth.SynthTextFieldUI
-
- javax.swing.plaf.synth.SynthPasswordFieldUI
-
- すべての実装されたインタフェース:
SynthConstants
,SynthUI
,ViewFactory
public class SynthPasswordFieldUI extends SynthTextFieldUI
JPasswordField
のSynth L&F UIの委譲を提供します。- 導入されたバージョン:
- 1.7
-
-
ネストされたクラスのサマリー
-
クラス javax.swing.plaf.basic.BasicTextUIから継承されたネストされたクラス/インタフェース
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
-
-
フィールドのサマリー
-
インタフェース javax.swing.plaf.synth.SynthConstantsから継承されたフィールド
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)
ボーダーをペイントします。-
クラス javax.swing.plaf.basic.BasicTextFieldUIから継承されたメソッド
getBaseline, getBaselineResizeBehavior
-
クラス javax.swing.plaf.basic.BasicTextUIから継承されたメソッド
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installListeners, installUI, modelChanged, modelToView, modelToView, modelToView2D, paint, paintSafely, setView, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModel, viewToModel2D
-
クラス javax.swing.plaf.ComponentUIから継承されたメソッド
contains, getAccessibleChild, getAccessibleChildrenCount
-
クラス java.lang.Objectから継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
クラス javax.swing.plaf.synth.SynthTextFieldUIから継承されたメソッド
getContext, installDefaults, paint, paintBackground, propertyChange, uninstallDefaults, update
-
class javax.swing.plaf.TextUIから継承したメソッド
getToolTipText2D
-
-
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent c)
JPasswordFieldのUIを作成します。- パラメータ:
c
- JPasswordField- 戻り値:
- UI
-
getPropertyPrefix
protected String getPropertyPrefix()
UIManagerでプロパティを参照するキーとして使われる名前を取得します。 この名前は、すべての標準テキスト・プロパティの接頭辞として使用されます。- オーバーライド:
getPropertyPrefix
、クラス:BasicTextFieldUI
- 戻り値:
- 名前(PasswordField)
-
create
public View create(Element elem)
要素のビュー(PasswordView)を作成します。- 定義:
create
、インタフェース:ViewFactory
- オーバーライド:
create
、クラス:BasicTextFieldUI
- パラメータ:
elem
- 要素- 戻り値:
- ビュー
- 関連項目:
View
-
paintBorder
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
- ボーダーの高さ
-
installKeyboardActions
protected void installKeyboardActions()
キーボード操作を登録します。- オーバーライド:
installKeyboardActions
、クラス:BasicTextUI
-
-