Class ScaledEmptyBorder

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.border.Border

    public class ScaledEmptyBorder
    extends javax.swing.border.EmptyBorder
    Empty border that scales insets.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.border.EmptyBorder

        bottom, left, right, top
    • Constructor Summary

      Constructors 
      Constructor Description
      ScaledEmptyBorder​(int top, int left, int bottom, int right)  
      ScaledEmptyBorder​(java.awt.Insets insets)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Insets getBorderInsets()  
      java.awt.Insets getBorderInsets​(java.awt.Component c, java.awt.Insets insets)  
      • Methods inherited from class javax.swing.border.EmptyBorder

        isBorderOpaque, paintBorder
      • Methods inherited from class javax.swing.border.AbstractBorder

        getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScaledEmptyBorder

        public ScaledEmptyBorder​(int top,
                                 int left,
                                 int bottom,
                                 int right)
      • ScaledEmptyBorder

        public ScaledEmptyBorder​(java.awt.Insets insets)
    • Method Detail

      • getBorderInsets

        public java.awt.Insets getBorderInsets()
        Overrides:
        getBorderInsets in class javax.swing.border.EmptyBorder
      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c,
                                               java.awt.Insets insets)
        Overrides:
        getBorderInsets in class javax.swing.border.EmptyBorder