モジュール java.desktop
パッケージ javax.swing.plaf.synth

クラスSynthPasswordFieldUI

    • コンストラクタの詳細

      • SynthPasswordFieldUI

        public SynthPasswordFieldUI​()
    • メソッドの詳細

      • 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