Class Border.Builder.BuilderView

  • Enclosing class:
    Border.Builder

    public class Border.Builder.BuilderView
    extends Object
    Provides a view of the builder that has a specific edge selected for configuration.
    • Method Detail

      • getTop

        public Border.Builder.BuilderView getTop()
        Gets the top edge view of the builder.
        Returns:
        returns the top edge view for configuration
      • getLeft

        public Border.Builder.BuilderView getLeft()
        Gets the left edge view of the builder.
        Returns:
        returns the left edge view for configuration
      • getRight

        public Border.Builder.BuilderView getRight()
        Gets the right edge view of the builder.
        Returns:
        returns the right edge view for configuration
      • getBottom

        public Border.Builder.BuilderView getBottom()
        Gets the bottom edge view of the builder.
        Returns:
        returns the bottom edge view for configuration
      • getDefault

        public Border.Builder.BuilderView getDefault()
        Gets the default edge view of the builder. The default edge is used whenever a named edge hasn't been configured.
        Returns:
        returns the default edge view for configuration
      • width

        public Border.Builder.BuilderView width​(Integer value)
        Sets the border width for the active edge.
        Parameters:
        value - the width
        Returns:
        returns this builder view
      • build

        public Border build()
        Creates a new border using the current state of the builder.
        Returns:
        returns a new border