Enum Class ICropper.Crossorigin

java.lang.Object
java.lang.Enum<ICropper.Crossorigin>
org.zkoss.stateless.sul.ICropper.Crossorigin
All Implemented Interfaces:
Serializable, Comparable<ICropper.Crossorigin>, Constable
Enclosing interface:
ICropper

public static enum ICropper.Crossorigin extends Enum<ICropper.Crossorigin>
Specifies the crossorigin setting with ICropper.withCrossorigin(Crossorigin)
  • Enum Constant Details

    • ANONYMOUS

      public static final ICropper.Crossorigin ANONYMOUS
      CORS requests for this element will have the credentials flag set to 'same-origin'.
    • USE_CREDENTIALS

      public static final ICropper.Crossorigin USE_CREDENTIALS
      CORS requests for this element will have the credentials flag set to 'include'.
  • Method Details

    • values

      public static ICropper.Crossorigin[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ICropper.Crossorigin valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null