Module java.desktop

Class BasicBorders.MarginBorder

    • Constructor Detail

      • MarginBorder

        public MarginBorder​()
    • Method Detail

      • getBorderInsets

        public Insets getBorderInsets​(Component c,
                                      Insets insets)
        Description copied from class: AbstractBorder
        Reinitializes the insets parameter with this Border's current Insets.
        Overrides:
        getBorderInsets in class AbstractBorder
        Parameters:
        c - the component for which this border insets value applies
        insets - the object to be reinitialized
        Returns:
        the insets object