|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IppTextBox.Constraint>
pl.mbdev.openstage.IppTextBox.Constraint
public static enum IppTextBox.Constraint
Defines kinds of IppTextBox
input.
Enum Constant Summary | |
---|---|
ANY
No constraints, any character may be entered. |
|
NUMERIC
Only numbers may be entered. |
|
PASSWORD
Any character may be entered, but they are all covered with asterisks. |
Method Summary | |
---|---|
static IppTextBox.Constraint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IppTextBox.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 IppTextBox.Constraint ANY
public static final IppTextBox.Constraint NUMERIC
public static final IppTextBox.Constraint PASSWORD
Method Detail |
---|
public static IppTextBox.Constraint[] values()
for (IppTextBox.Constraint c : IppTextBox.Constraint.values()) System.out.println(c);
public static IppTextBox.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 |