|
|||||||||
| 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.ClassFieldEditPane
public class ClassFieldEditPane
Represents the pane used to edit a class field.
| Constructor Summary | |
|---|---|
ClassFieldEditPane(String fieldName)
Creates a new instance that can be used to edit the specified class field. |
|
| Method Summary | |
|---|---|
void |
closeConfigPanel()
Closes the field configuration panel. |
ConfirmationBox |
delete()
Clicks on the delete field icon. |
void |
dragTo(org.openqa.selenium.WebElement element,
int xOffset,
int yOffset)
Drag this field over the specified element. |
protected org.openqa.selenium.WebElement |
getContainer()
|
String |
getDefaultValue()
|
protected org.openqa.selenium.WebElement |
getDefaultValueInput()
|
protected String |
getFieldName()
Do not mistaken this with getName(). |
String |
getName()
|
protected org.openqa.selenium.WebElement |
getPropertyInput(String propertyName)
|
void |
openConfigPanel()
Opens the field configuration panel. |
void |
setDefaultValue(String defaultValue)
Sets the field default value |
void |
setName(String fieldName)
Sets the field name |
void |
setPrettyName(String prettyName)
Sets the field pretty name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassFieldEditPane(String fieldName)
fieldName - the field name| Method Detail |
|---|
public void setPrettyName(String prettyName)
prettyName - the new field pretty namepublic void setDefaultValue(String defaultValue)
defaultValue - the new field default valuepublic String getDefaultValue()
protected org.openqa.selenium.WebElement getDefaultValueInput()
public void openConfigPanel()
public void closeConfigPanel()
public void setName(String fieldName)
fieldName - the new field namepublic String getName()
protected org.openqa.selenium.WebElement getPropertyInput(String propertyName)
propertyName - the name of a class field meta property
public ConfirmationBox delete()
public void dragTo(org.openqa.selenium.WebElement element,
int xOffset,
int yOffset)
element - the element to drag this field toxOffset - offset from the top-left corner of the given element; a negative value means coordinates right
from the given elementyOffset - offset from the top-left corner of the given element; a negative value means coordinates above the
given elementprotected org.openqa.selenium.WebElement getContainer()
protected String getFieldName()
getName().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||