- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextFieldUI
-
- javax.swing.plaf.basic.BasicPasswordFieldUI
-
- すべての実装されたインタフェース:
ViewFactory
public class BasicPasswordFieldUI extends BasicTextFieldUI
パスワード・フィールドのWindows Look & Feelを提供します。 標準テキスト・フィールドとの違いは、テキストの表示が、フィールドに含まれる実際のテキストではなく、JPasswordFieldに指定されるエコー文字の単純な文字列であることだけです。
-
-
ネストされたクラスのサマリー
-
クラス javax.swing.plaf.basic.BasicTextUIから継承されたネストされたクラス/インタフェース
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 BasicPasswordFieldUI()
-
メソッドのサマリー
すべてのメソッド 静的メソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 View
create(Element elem)
要素のビュー(PasswordView)を作成します。static ComponentUI
createUI(JComponent c)
JPasswordFieldのUIを作成します。protected String
getPropertyPrefix()
UIManagerでプロパティを参照するキーとして使われる名前を取得します。protected void
installDefaults()
JPasswordFieldに必要なプロパティをインストールします。-
クラス 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, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, modelToView2D, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
-
クラス javax.swing.plaf.ComponentUIから継承されたメソッド
contains, getAccessibleChild, getAccessibleChildrenCount
-
クラス java.lang.Objectから継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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)
-
installDefaults
protected void installDefaults()
JPasswordFieldに必要なプロパティをインストールします。- オーバーライド:
installDefaults
、クラス:BasicTextUI
- 導入されたバージョン:
- 1.6
- 関連項目:
BasicTextUI.uninstallDefaults()
,BasicTextUI.installUI(javax.swing.JComponent)
-
create
public View create(Element elem)
要素のビュー(PasswordView)を作成します。- 定義:
create
、インタフェース:ViewFactory
- オーバーライド:
create
、クラス:BasicTextFieldUI
- パラメータ:
elem
- 要素- 戻り値:
- ビュー
- 関連項目:
View
-
-