public static class ManagerUtility.WindowCapabilityUtility extends Object
| Constructor and Description |
|---|
WindowCapabilityUtility() |
| Modifier and Type | Method and Description |
|---|---|
static List<ImageField> |
getAllImageFields()
Method to get a list of all available Image fields
|
static List<TextField> |
getAllTextFields()
Method to get a list of all available text fields
|
static int |
getMaxNumberOfAlertFieldLines(WindowCapability windowCapability)
Method to get number of alert textFields allowed to be set according to WindowCapability
|
static int |
getMaxNumberOfMainFieldLines(WindowCapability windowCapability)
Method to get number of textFields allowed to be set according to WindowCapability
|
static boolean |
hasImageFieldOfName(WindowCapability windowCapability,
ImageFieldName name)
Check to see if WindowCapability has an ImageFieldName of a given name.
|
static boolean |
hasTextFieldOfName(WindowCapability windowCapability,
TextFieldName name)
Check to see if WindowCapability has a textField of a given name.
|
public static boolean hasImageFieldOfName(WindowCapability windowCapability, ImageFieldName name)
windowCapability - WindowCapability representing the capabilities of the desired windowname - ImageFieldName representing a name of a given Image field that would be stored in WindowCapabilitypublic static boolean hasTextFieldOfName(WindowCapability windowCapability, TextFieldName name)
windowCapability - WindowCapability representing the capabilities of the desired windowname - TextFieldName representing a name of a given text field that would be stored in WindowCapabilitypublic static int getMaxNumberOfMainFieldLines(WindowCapability windowCapability)
windowCapability - WindowCapability representing the capabilities of the desired windowpublic static int getMaxNumberOfAlertFieldLines(WindowCapability windowCapability)
windowCapability - WindowCapability representing the capabilities of the desired windowpublic static List<TextField> getAllTextFields()
public static List<ImageField> getAllImageFields()