Class BoxShadowValidator

java.lang.Object
com.iizigo.prop.editor.BoxShadowValidator

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

    • input

      public final 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 String error
      Potential error.
    • tooManyParams

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

    • BoxShadowValidator

      public BoxShadowValidator(String input)
      Creates the validator for an input.
  • Method Details

    • getCSSValue

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