模块  java.desktop
软件包  javax.swing.plaf

Class 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 - 标题的颜色