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

クラスBorderUIResource.TitledBorderUIResource

    • コンストラクタの詳細

      • TitledBorderUIResource

        public TitledBorderUIResource​(String title)
        TitledBorderUIResourceを構築します。
        パラメータ:
        title - ボーダーに表示するタイトル
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border)
        TitledBorderUIResourceを構築します。
        パラメータ:
        border - ボーダー
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border,
                                      String title)
        TitledBorderUIResourceを構築します。
        パラメータ:
        border - ボーダー
        title - ボーダーに表示するタイトル
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border,
                                      String title,
                                      int titleJustification,
                                      int titlePosition)
        TitledBorderUIResourceを構築します。
        パラメータ:
        border - ボーダー
        title - ボーダーに表示するタイトル
        titleJustification - タイトルの正当性
        titlePosition - タイトルの位置
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border,
                                      String title,
                                      int titleJustification,
                                      int titlePosition,
                                      Font titleFont)
        TitledBorderUIResourceを構築します。
        パラメータ:
        border - ボーダー
        title - ボーダーに表示するタイトル
        titleJustification - タイトルの正当性
        titlePosition - タイトルの位置
        titleFont - タイトルを描画するフォント
      • TitledBorderUIResource

        @ConstructorProperties({"border","title","titleJustification","titlePosition","titleFont","titleColor"})
        public TitledBorderUIResource​(Border border,
                                      String title,
                                      int titleJustification,
                                      int titlePosition,
                                      Font titleFont,
                                      Color titleColor)
        TitledBorderUIResourceを構築します。
        パラメータ:
        border - ボーダー
        title - ボーダーに表示するタイトル
        titleJustification - タイトルの正当性
        titlePosition - タイトルの位置
        titleFont - タイトルを描画するフォント
        titleColor - タイトルのカラー