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

クラスBorderUIResource.TitledBorderUIResource

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.TitledBorder
javax.swing.plaf.BorderUIResource.TitledBorderUIResource
すべての実装されたインタフェース:
Serializable, Border, UIResource
含まれているクラス:
BorderUIResource

public static class BorderUIResource.TitledBorderUIResource extends TitledBorder implements UIResource
タイトル付きボーダーUIリソース。
  • コンストラクタの詳細

    • 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 - タイトルのカラー