Class PlasticBorders.RolloverMarginBorder

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

    static final class PlasticBorders.RolloverMarginBorder
    extends javax.swing.border.EmptyBorder
    A border which is like a Margin border but it will only honor the margin if the margin has been explicitly set by the developer.
    • Field Summary

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

        bottom, left, right, top
    • Method Summary

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

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

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

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

      • RolloverMarginBorder

        RolloverMarginBorder()
    • Method Detail

      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c)
        Specified by:
        getBorderInsets in interface javax.swing.border.Border
        Overrides:
        getBorderInsets in class javax.swing.border.AbstractBorder
      • getBorderInsets

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