Package org.apache.pivot.wtk
Class Automation
- java.lang.Object
-
- org.apache.pivot.wtk.Automation
-
public final class Automation extends java.lang.Object
Supports UI automation by providing a means to obtain a reference to a component via an automation ID. Allows Enum values as IDs also.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static <E extends java.lang.Enum<E>>
voidadd(E enumID, Component component)
protected static void
add(java.lang.String automationID, Component component)
static <E extends java.lang.Enum<E>>
Componentget(E enumID)
static Component
get(java.lang.String automationID)
protected static <E extends java.lang.Enum<E>>
voidremove(E enumID)
protected static void
remove(java.lang.String automationID)
-
-
-
Method Detail
-
get
public static Component get(java.lang.String automationID)
-
get
public static <E extends java.lang.Enum<E>> Component get(E enumID)
-
add
protected static void add(java.lang.String automationID, Component component)
-
add
protected static <E extends java.lang.Enum<E>> void add(E enumID, Component component)
-
remove
protected static void remove(java.lang.String automationID)
-
remove
protected static <E extends java.lang.Enum<E>> void remove(E enumID)
-
-