# Enum Validator.HighlightMode

java.lang.Object
java.lang.Enum<Validator.HighlightMode>
com.codename1.ui.validation.Validator.HighlightMode

All Implemented Interfaces:
  `Comparable<Validator.HighlightMode>`

Enclosing class:
  `Validator`

public static enum Validator.HighlightMode extends Enum<Validator.HighlightMode>
Indicates the validation failure modes

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `EMBLEM`
  `NONE`
  `UIID`
  `UIID_AND_EMBLEM`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Validator.HighlightMode`
  `valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static Validator.HighlightMode[]`
  `values()`
  Returns an array containing the constants of this enum type, in the order they are declared.

  ### Methods inherited from class Enum

  `clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### UIID

    public static final Validator.HighlightMode UIID

  - ### EMBLEM

    public static final Validator.HighlightMode EMBLEM

  - ### UIID_AND_EMBLEM

    public static final Validator.HighlightMode UIID_AND_EMBLEM

  - ### NONE

    public static final Validator.HighlightMode NONE

- ## Method Details

  - ### values

    public static Validator.HighlightMode[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.
    Returns:
      an array containing the constants of this enum type, in the order they are declared

  - ### valueOf

    public static Validator.HighlightMode valueOf(String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    Parameters:
      `name` - the name of the enum constant to be returned.
    Returns:
      the enum constant with the specified name
    Throws:
      `IllegalArgumentException` - if this enum type has no constant with the specified name
      `NullPointerException` - if the argument is null