Class FlatScrollPaneBorder

    • Field Detail

      • arc

        protected int arc
      • isArcStyled

        private boolean isArcStyled
      • listArc

        private final int listArc
      • tableArc

        private final int tableArc
      • textComponentArc

        private final int textComponentArc
      • treeArc

        private final int treeArc
    • Constructor Detail

      • FlatScrollPaneBorder

        public FlatScrollPaneBorder()
    • Method Detail

      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c,
                                               java.awt.Insets insets)
        Overrides:
        getBorderInsets in class FlatBorder
      • getArc

        protected int getArc​(java.awt.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​(java.awt.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.