JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf.basic
クラス BasicPasswordFieldUI

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 を使ってプロパティを参照するためのキーとして使われる名前を取得します。
 
クラス javax.swing.plaf.basic.BasicTextFieldUI から継承したメソッド
createCaret, propertyChange
 
クラス javax.swing.plaf.basic.BasicTextUI から継承したメソッド
create, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, getAccessibleChild, getAccessibleChildrenCount
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicPasswordFieldUI

public BasicPasswordFieldUI()
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent c)
JPasswordField の UI を作成します。
パラメータ:
c - JPasswordField
戻り値:
UI

getPropertyPrefix

protected String getPropertyPrefix()
UIManager を使ってプロパティを参照するためのキーとして使われる名前を取得します。この名前は、すべての標準テキストプロパティの接頭辞として使われます。
オーバーライド:
クラス BasicTextFieldUI 内の getPropertyPrefix
戻り値:
名前 (PasswordField)

create

public View create(Element elem)
要素のビュー (PasswordView) を作成します。
オーバーライド:
クラス BasicTextFieldUI 内の create
パラメータ:
elem - 要素
戻り値:
ビュー

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.