Java プラットフォーム 1.2

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

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
 
クラス 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, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModel
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
クラス 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 でプロパティを参照するためのキーとして使われる名前を取得します。この名前は、すべての標準テキストプロパティの接頭辞として使われます。
戻り値:
名前 ("PasswordField")
オーバーライド:
クラス BasicTextFieldUI 内の getPropertyPrefix

create

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

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.