Class DashedBorder

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

    public class DashedBorder
    extends javax.swing.border.LineBorder
    See Also:
    Serialized Form
    • Field Summary

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

        lineColor, roundedCorners, thickness
    • Constructor Summary

      Constructors 
      Constructor Description
      DashedBorder​(java.awt.Color color)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void paintBorder​(java.awt.Component comp, java.awt.Graphics g, int x1, int x2, int y1, int y2)  
      • Methods inherited from class javax.swing.border.LineBorder

        createBlackLineBorder, createGrayLineBorder, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque
      • 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

      • DashedBorder

        public DashedBorder​(java.awt.Color color)
    • Method Detail

      • paintBorder

        public void paintBorder​(java.awt.Component comp,
                                java.awt.Graphics g,
                                int x1,
                                int x2,
                                int y1,
                                int y2)
        Specified by:
        paintBorder in interface javax.swing.border.Border
        Overrides:
        paintBorder in class javax.swing.border.LineBorder