Class PlasticBorders.ScrollPaneBorder

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

    private static final class PlasticBorders.ScrollPaneBorder
    extends javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder
    Unlike Metal we don't paint the (misplaced) control color edges. Being a subclass of MetalBorders.ScrollPaneBorders ensures that the ScrollPaneUI will update the ScrollbarsFreeStanding property.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ScrollPaneBorder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void paintBorder​(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)  
      • Methods inherited from class javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder

        getBorderInsets
      • Methods inherited from class javax.swing.border.AbstractBorder

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

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

      • ScrollPaneBorder

        private ScrollPaneBorder()
    • Method Detail

      • paintBorder

        public void paintBorder​(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
        Specified by:
        paintBorder in interface javax.swing.border.Border
        Overrides:
        paintBorder in class javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder