Class JPlaceholderTextField.RecolorLineBorder

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

    protected static class JPlaceholderTextField.RecolorLineBorder
    extends javax.swing.border.LineBorder
    Line border with changeable color
    See Also:
    Serialized Form
    • Field Summary

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

        lineColor, roundedCorners, thickness
    • Constructor Summary

      Constructors 
      Constructor Description
      RecolorLineBorder​(java.awt.Color color, int thickness)
      Create.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setColor​(java.awt.Color color)
      Sets the color.
      • Methods inherited from class javax.swing.border.LineBorder

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

      • RecolorLineBorder

        public RecolorLineBorder​(java.awt.Color color,
                                 int thickness)
        Create.
    • Method Detail

      • setColor

        public void setColor​(java.awt.Color color)
        Sets the color.
        Parameters:
        color - The color.