Package org.zkoss.stateless.sul
Enum IDropupload.Detection
- java.lang.Object
-
- java.lang.Enum<IDropupload.Detection>
-
- org.zkoss.stateless.sul.IDropupload.Detection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IDropupload.Detection>
- Enclosing interface:
- IDropupload
public static enum IDropupload.Detection extends java.lang.Enum<IDropupload.Detection>
Specifies the detection withIDropupload.withDetection(Detection)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IDropupload.Detection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IDropupload.Detection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BROWSER
public static final IDropupload.Detection BROWSER
Browser area
-
NONE
public static final IDropupload.Detection NONE
Disable detection
-
SELF
public static final IDropupload.Detection SELF
The Dropupload itself
-
-
Method Detail
-
values
public static IDropupload.Detection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IDropupload.Detection c : IDropupload.Detection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IDropupload.Detection valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-