|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.componentlocator.LocatorUtil
public class LocatorUtil
Common String manipulator utilities used in VaadinFinderLocatorStrategy and SelectorPredicates.
| Constructor Summary | |
|---|---|
LocatorUtil()
|
|
| Method Summary | |
|---|---|
protected static int |
indexOfIgnoringQuoted(java.lang.String str,
char find)
Find first occurrence of character that's not inside quotes starting from the beginning of string. |
protected static int |
indexOfIgnoringQuoted(java.lang.String str,
char find,
int startingAt)
Find first occurrence of character that's not inside quotes starting from specified index. |
static boolean |
isNotificationElement(java.lang.String path)
Checks if path refers to vaadin Notification element com.vaadin.ui.Notification. |
static boolean |
isUIElement(java.lang.String path)
Checks if path refers to vaadin UI element com.vaadin.ui.UI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocatorUtil()
| Method Detail |
|---|
protected static int indexOfIgnoringQuoted(java.lang.String str,
char find,
int startingAt)
str - Full string for searchingfind - Character we want to findstartingAt - Index where we start
protected static int indexOfIgnoringQuoted(java.lang.String str,
char find)
str - Full string for searchingfind - Character we want to find
public static boolean isUIElement(java.lang.String path)
path - to vaadin element
public static boolean isNotificationElement(java.lang.String path)
path - to vaadin element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||