Module java.desktop

Class BorderUIResource.TitledBorderUIResource

    • Constructor Detail

      • TitledBorderUIResource

        public TitledBorderUIResource​(String title)
        Constructs a TitledBorderUIResource.
        Parameters:
        title - the title the border should display
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border)
        Constructs a TitledBorderUIResource.
        Parameters:
        border - the border
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border,
                                      String title)
        Constructs a TitledBorderUIResource.
        Parameters:
        border - the border
        title - the title the border should display
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border,
                                      String title,
                                      int titleJustification,
                                      int titlePosition)
        Constructs a TitledBorderUIResource.
        Parameters:
        border - the border
        title - the title the border should display
        titleJustification - the justification fro the title
        titlePosition - the position for the title
      • TitledBorderUIResource

        public TitledBorderUIResource​(Border border,
                                      String title,
                                      int titleJustification,
                                      int titlePosition,
                                      Font titleFont)
        Constructs a TitledBorderUIResource.
        Parameters:
        border - the border
        title - the title the border should display
        titleJustification - the justification fro the title
        titlePosition - the position for the title
        titleFont - the font for rendering the title
      • TitledBorderUIResource

        @ConstructorProperties({"border","title","titleJustification","titlePosition","titleFont","titleColor"})
        public TitledBorderUIResource​(Border border,
                                      String title,
                                      int titleJustification,
                                      int titlePosition,
                                      Font titleFont,
                                      Color titleColor)
        Constructs a TitledBorderUIResource.
        Parameters:
        border - the border
        title - the title the border should display
        titleJustification - the justification fro the title
        titlePosition - the position for the title
        titleFont - the font for rendering the title
        titleColor - the color of the title