< prev index next >
core/JemmyCore/src/org/jemmy/input/StringMenuOwner.java
Print this page
@@ -44,34 +44,34 @@
}
/**
* Pushes the menu using one string for one level of the menu. Comparison
* is done according to the policy.
- * @param texts
+ * @param texts todo document
* @see #getPolicy()
*/
public void push(String... texts) {
if(texts.length == 0) {
throw new IllegalArgumentException(MENU_PATH_LENGTH_ERROR);
}
menu().push(createCriteriaList(texts));
}
/**
- * A shortcut to <code>menu().push(LookupCriteria<T> ...)</code>
+ * A shortcut to <code>menu().push(LookupCriteria ...)</code>
* @see #menu()
- * @see Menu#push(org.jemmy.lookup.LookupCriteria<T>[])
- * @param criteria
+ * @see Menu#push(LookupCriteria[])
+ * @param criteria the lookup criteria
*/
public void push(LookupCriteria<T>... criteria) {
menu().push(criteria);
}
/**
* Select a menu item using one string for one level of the menu. Comparison
* is done according to the policy.
- * @param texts
+ * @param texts todo document
* @return wrap for the last selected item
* @see #getPolicy()
*/
public Wrap<? extends T> select(String... texts) {
if(texts.length == 0) {
@@ -79,14 +79,15 @@
}
return menu().select(createCriteriaList(texts));
}
/**
- * A shortcut to <code>menu().select(LookupCriteria<T> ...)</code>
+ * A shortcut to <code>menu().select(LookupCriteria ...)</code>
* @see #menu()
- * @see Menu#select(org.jemmy.lookup.LookupCriteria<T>[])
- * @param criteria
+ * @see Menu#select(LookupCriteria[])
+ * @param criteria the lookup criteria
+ * @return todo document
*/
public Wrap<? extends T> select(LookupCriteria<T>... criteria) {
return menu().select(criteria);
}
< prev index next >