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

クラスSynthFormattedTextFieldUI

    • コンストラクタの詳細

      • SynthFormattedTextFieldUI

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

      • createUI

        public static ComponentUI createUI​(JComponent c)
        JFormattedTextFieldのUIを作成します。
        パラメータ:
        c - フォーマットされたテキスト・フィールド
        戻り値:
        UI
      • getPropertyPrefix

        protected String getPropertyPrefix​()
        UIManagerでプロパティを参照するキーとして使われる名前を取得します。 この名前は、すべての標準テキスト・プロパティの接頭辞として使用されます。
        オーバーライド:
        getPropertyPrefix、クラス: BasicTextFieldUI
        戻り値:
        名前FormattedTextField
      • 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 - ボーダーの高さ