Package com.applitools.eyes
Enum AccessibilityRegionType
- java.lang.Object
-
- java.lang.Enum<AccessibilityRegionType>
-
- com.applitools.eyes.AccessibilityRegionType
-
- All Implemented Interfaces:
Serializable,Comparable<AccessibilityRegionType>
public enum AccessibilityRegionType extends Enum<AccessibilityRegionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BoldTextGraphicalObjectIgnoreContrastLargeTextRegularText
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessibilityRegionTypefromName(String value)StringgetName()StringtoString()static AccessibilityRegionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AccessibilityRegionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IgnoreContrast
public static final AccessibilityRegionType IgnoreContrast
-
RegularText
public static final AccessibilityRegionType RegularText
-
LargeText
public static final AccessibilityRegionType LargeText
-
BoldText
public static final AccessibilityRegionType BoldText
-
GraphicalObject
public static final AccessibilityRegionType GraphicalObject
-
-
Method Detail
-
values
public static AccessibilityRegionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessibilityRegionType c : AccessibilityRegionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessibilityRegionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AccessibilityRegionType>
-
fromName
public static AccessibilityRegionType fromName(String value) throws IllegalArgumentException
- Returns:
- the Enum representation for the given string.
- Throws:
IllegalArgumentException- if unknown string.
-
-