public enum TourInputValidationMode extends java.lang.Enum<TourInputValidationMode> implements ValueEnum
inputValidation
is performed for
actionType
:"change". When users enter incorrect values,
they are informed via the Notify
system, and the specific message displayed
is controlled by inputValidationNotifyMessage
. The notification can be disabled for the step by setting TourStep.showInputValidationMessage
to
false
.
Enum Constant and Description |
---|
NOTIFY
When there is a brief pause in typing, notify the user that they have typed something wrong.
|
ONEXIT
text entry is only validated on field exit or click on
afterInputTarget . |
STRICT
Prevent the user from typing any characters that don't match the
expectedValue , and tell them immediately when they have typed
something wrong. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static TourInputValidationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TourInputValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TourInputValidationMode NOTIFY
inputValidationNotifyDelay
.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "notify".
public static final TourInputValidationMode STRICT
expectedValue
, and tell them immediately when they have typed
something wrong.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "strict".
public static final TourInputValidationMode ONEXIT
afterInputTarget
.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "onExit".
public static TourInputValidationMode[] values()
for (TourInputValidationMode c : TourInputValidationMode.values()) System.out.println(c);
public static TourInputValidationMode 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 namejava.lang.NullPointerException
- if the argument is null