Package org.zkoss.stateless.sul
Enum Class ITextboxBase.Type
- All Implemented Interfaces:
Serializable,Comparable<ITextboxBase.Type>,Constable
- Enclosing interface:
- ITextboxBase<I extends ITextboxBase>
Specifies the values to the textbox's type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed for textbox that should contain an email.Used for textbox that should contain a password.Used for textbox that should contain a telephone number.Used for textbox that should contain a text.Used for textbox that should contain an url. -
Method Summary
Modifier and TypeMethodDescriptionstatic ITextboxBase.TypeReturns the enum constant of this class with the specified name.static ITextboxBase.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT
Used for textbox that should contain a text. -
PASSWORD
Used for textbox that should contain a password. -
TELEPHONE
Used for textbox that should contain a telephone number. -
EMAIL
Used for textbox that should contain an email. -
URL
Used for textbox that should contain an url.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-