Class BoxShadowValidator


  • public class BoxShadowValidator
    extends java.lang.Object
    The box shadow validator.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      GUnitblur
      The blur, null if not parsed.
      GColorcolor
      The color, null if not parsed.
      java.lang.Stringerror
      Potential error.
      GUnithorz
      The horizontal unit, null if not parsed.
      java.lang.Stringinput
      The input string.
      booleaninset
      If inset or not.
      GUnitspread
      The spread, null if not parsed.
      booleantooManyParams
      Too many params causes this flag to be set, "error" is null.
      GUnitvert
      The vertical unit, null if not parsed.
    • Constructor Summary

      Constructors 
      ConstructorDescription
      BoxShadowValidator​(java.lang.String input)
      Creates the validator for an input.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetCSSValue()
      Gets the parameters that were successfully parsed.
      • Methods inherited from class java.lang.Object

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

      • input

        public final java.lang.String input
        The input string.
      • inset

        public boolean inset
        If inset or not.
      • horz

        public GUnit horz
        The horizontal unit, null if not parsed.
      • vert

        public GUnit vert
        The vertical unit, null if not parsed.
      • blur

        public GUnit blur
        The blur, null if not parsed.
      • spread

        public GUnit spread
        The spread, null if not parsed.
      • color

        public GColor color
        The color, null if not parsed.
      • error

        public java.lang.String error
        Potential error.
      • tooManyParams

        public boolean tooManyParams
        Too many params causes this flag to be set, "error" is null.
    • Constructor Detail

      • BoxShadowValidator

        public BoxShadowValidator​(java.lang.String input)
        Creates the validator for an input.
    • Method Detail

      • getCSSValue

        public java.lang.String getCSSValue()
        Gets the parameters that were successfully parsed.