public class AndroidSeLionElementList extends AbstractSeLionElementList
Modifier and Type | Field and Description |
---|---|
static AndroidSeLionElementList |
BASE_CLASS |
static String |
UIAUTOMATION_ELEMENT_CLASS |
static AndroidSeLionElementList |
UiButton |
static AndroidSeLionElementList |
UiList |
static AndroidSeLionElementList |
UiObject |
static AndroidSeLionElementList |
UiSlider |
static AndroidSeLionElementList |
UiSwitch |
static AndroidSeLionElementList |
UiTextView |
Modifier | Constructor and Description |
---|---|
protected |
AndroidSeLionElementList(String elementPackage,
String element,
boolean uiElement) |
Modifier and Type | Method and Description |
---|---|
static AndroidSeLionElementList |
findMatch(String rawType) |
static List<GUIObjectDetails> |
getGUIObjectList(List<String> keys) |
static boolean |
isExactMatch(String element) |
static boolean |
isValidUIElement(String element) |
static void |
registerElement(String element)
By providing the qualified name of a custom element we can register it to the element array.
|
getElementPackage, isUIElement, looksLike, stringify, toString
public static final String UIAUTOMATION_ELEMENT_CLASS
public static final AndroidSeLionElementList UiButton
public static final AndroidSeLionElementList UiList
public static final AndroidSeLionElementList UiSlider
public static final AndroidSeLionElementList UiSwitch
public static final AndroidSeLionElementList UiTextView
public static final AndroidSeLionElementList UiObject
public static final AndroidSeLionElementList BASE_CLASS
public static void registerElement(String element)
element
- string of the qualified classpublic static AndroidSeLionElementList findMatch(String rawType)
rawType
- The String using which an attempt to find a matching AndroidSeLionElementList
is to be
performed.AndroidSeLionElementList
if the type ends with one of the values of
AndroidSeLionElementList
that were passed as android elements (or) null
if there
were no matches.public static boolean isExactMatch(String element)
element
- The element that needs to be searched.true
if the element was found in the set of elements provided.public static boolean isValidUIElement(String element)
element
- The element that needs to be tested for being a valid AndroidSeLionElementList
and whose
AbstractSeLionElementList.isUIElement()
returns true.true
if there was a match and false
otherwise.public static List<GUIObjectDetails> getGUIObjectList(List<String> keys)
Copyright © 2016 PayPal Open Source. All rights reserved.