public enum DemoComponents extends Enum<DemoComponents> implements com.cognifide.qa.bb.aem.Components
| Enum Constant and Description |
|---|
RADIO_GROUP |
TEXT_FIELD_COMPONENT |
TITLE |
| Modifier and Type | Method and Description |
|---|---|
static DemoComponents |
fromString(String componentName) |
Class<?> |
getComponentClass() |
static DemoComponents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DemoComponents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DemoComponents TEXT_FIELD_COMPONENT
public static final DemoComponents TITLE
public static final DemoComponents RADIO_GROUP
public static DemoComponents[] values()
for (DemoComponents c : DemoComponents.values()) System.out.println(c);
public static DemoComponents valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DemoComponents fromString(String componentName)
public Class<?> getComponentClass()
getComponentClass in interface com.cognifide.qa.bb.aem.ComponentsCopyright © 2016–2017 Cognifide Ltd.. All rights reserved.