Class ValidatorBorder

  • All Implemented Interfaces:
    Serializable, Border

    public class ValidatorBorder
    extends CompoundBorder
    A CompoundBorder that draws an inner border that contains the validation icon to the right of the input being validated. The outer border is the original border of the component this border is attached to.
    Author:
    Randall Wood
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidatorBorder

        public ValidatorBorder​(@Nonnull
                               Validation validation,
                               Border originalBorder)
        Create a ValidatorBorder.
        Parameters:
        validation - the validation to use in the border
        originalBorder - the original border of the component being validated