public enum LocatorTypeStrategy extends java.lang.Enum<LocatorTypeStrategy> implements ValueEnum
here
, if we are unable to find a unique match by name or title, we will use
the recorded "type" of the component to verify an apparent match. By default we check the following properties in order:
role
match?LocatorStrategy
,
if we are unable to match using the specified type strategy we continue to test against the remaining strategies in
order - so if a type strategy of "scClass" was specified but we were unable to find a match with the appropriate core
superclass, we will attempt to match by role. Possible values are:Enum Constant and Description |
---|
CLASS
Match by class if possible
|
NONE
Don't attempt to compare type in any way
|
ROLE
Ignore class altogether and attempt to match by role
|
SCCLASS
Ignore specific class and match by the Smart GWT framework superclass.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static LocatorTypeStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocatorTypeStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocatorTypeStrategy CLASS
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Class".
public static final LocatorTypeStrategy SCCLASS
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "scClass".
public static final LocatorTypeStrategy ROLE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "role".
public static final LocatorTypeStrategy NONE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static LocatorTypeStrategy[] values()
for (LocatorTypeStrategy c : LocatorTypeStrategy.values()) System.out.println(c);
public static LocatorTypeStrategy 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