|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IppTextField.Constraint>
pl.mbdev.openstage.IppTextField.Constraint
public static enum IppTextField.Constraint
Narrows the set of possible characters of the IppTextField
, and sometimes
changes the method by which they are entered.
Enum Constant Summary | |
---|---|
ANY
No constraints, any character may be entered. |
|
EMAILADDR
Email address can be entered. |
|
NUMERIC
Only numbers may be entered. |
|
PASSWORD
Any character may be entered, but they are all covered with asterisks. |
|
PHONENUMBER
Phone number can be entered. |
|
URL
URL can be entered. |
Method Summary | |
---|---|
static IppTextField.Constraint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IppTextField.Constraint[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IppTextField.Constraint ANY
public static final IppTextField.Constraint NUMERIC
public static final IppTextField.Constraint PASSWORD
public static final IppTextField.Constraint PHONENUMBER
public static final IppTextField.Constraint URL
public static final IppTextField.Constraint EMAILADDR
Method Detail |
---|
public static IppTextField.Constraint[] values()
for (IppTextField.Constraint c : IppTextField.Constraint.values()) System.out.println(c);
public static IppTextField.Constraint valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |