|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.appwithinminutes.test.po.StaticListItemsEditor
public class StaticListItemsEditor
Represents the static list items editor present on the configuration pane of a static list field.
| Constructor Summary | |
|---|---|
StaticListItemsEditor(org.openqa.selenium.WebElement container)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
add(String value,
String label)
Adds a new item with the specified value and label. |
org.openqa.selenium.WebElement |
getItem(String valueOrLabel)
|
org.openqa.selenium.WebElement |
getLabelInput()
|
org.openqa.selenium.WebElement |
getValueInput()
|
void |
moveBefore(String valueToMove,
String beforeValue)
Reorders list items. |
void |
remove(String value)
Removes the item with the specified value. |
void |
setLabel(String value,
String newLabel)
Changes item label. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticListItemsEditor(org.openqa.selenium.WebElement container)
container - the element that wraps the editor| Method Detail |
|---|
public void remove(String value)
value - the value of the item to be removed
public void add(String value,
String label)
value - item valuelabel - item labelpublic org.openqa.selenium.WebElement getValueInput()
public org.openqa.selenium.WebElement getLabelInput()
public void setLabel(String value,
String newLabel)
value - item valuenewLabel - the new item label
public void moveBefore(String valueToMove,
String beforeValue)
valueToMove - the value of the item to be movedbeforeValue - the value of the reference itempublic org.openqa.selenium.WebElement getItem(String valueOrLabel)
valueOrLabel - the value of the label of a list item
public int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||