Class FlatScrollPaneBorder

    • Field Detail

      • arc

        protected int arc
    • Constructor Detail

      • FlatScrollPaneBorder

        public FlatScrollPaneBorder()
    • Method Detail

      • getArc

        protected int getArc​(Component c)
        Description copied from class: FlatBorder
        Returns the (unscaled) arc diameter of the border corners.
        Overrides:
        getArc in class FlatBorder
      • getLeftRightPadding

        public int getLeftRightPadding​(Component c)
        Returns the scaled left/right padding used when arc is larger than zero.

        This is the distance from the inside of the left border to the left side of the view component. On the right side, this is the distance between the right side of the view component and the vertical scrollbar. Or the inside of the right border if the scrollbar is hidden.