Class BoxShadowValidator


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

      Fields 
      Modifier and Type Field Description
      GUnit blur
      The blur, null if not parsed.
      GColor color
      The color, null if not parsed.
      java.lang.String error
      Potential error.
      GUnit horz
      The horizontal unit, null if not parsed.
      java.lang.String input
      The input string.
      boolean inset
      If inset or not.
      GUnit spread
      The spread, null if not parsed.
      boolean tooManyParams
      Too many params causes this flag to be set, "error" is null.
      GUnit vert
      The vertical unit, null if not parsed.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCSSValue()
      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.