Class LongTextClassFieldEditPane
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.appwithinminutes.test.po.ClassFieldEditPane
-
- org.xwiki.appwithinminutes.test.po.LongTextClassFieldEditPane
-
public class LongTextClassFieldEditPane extends ClassFieldEditPane
Represents the pane used to edit a 'Long Text' class field.- Since:
- 4.2M1
- Version:
- $Id: 2a8ccad00f1d31eaa6a8f2e5decc218a853f4c87 $
-
-
Constructor Summary
Constructors Constructor Description LongTextClassFieldEditPane(String fieldName)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPreviewRows()
void
setEditor(String editor)
Sets the editor to be used to edit the value of the long text field.void
setRows(int rows)
Sets the number of rows.-
Methods inherited from class org.xwiki.appwithinminutes.test.po.ClassFieldEditPane
closeConfigPanel, delete, dragTo, getContainer, getDefaultValue, getDefaultValueInput, getFieldName, getName, getPropertyInput, openConfigPanel, setDefaultValue, setName, setPrettyName
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Constructor Detail
-
LongTextClassFieldEditPane
public LongTextClassFieldEditPane(String fieldName)
Creates a new instance.- Parameters:
fieldName
- the name of the long text field
-
-
Method Detail
-
setRows
public void setRows(int rows)
Sets the number of rows.- Parameters:
rows
- the new number of rows
-
setEditor
public void setEditor(String editor)
Sets the editor to be used to edit the value of the long text field.- Parameters:
editor
- the editor to be used to edit the value of this field
-
getPreviewRows
public int getPreviewRows()
- Returns:
- the value of the "rows" attribute on the text area used to input the default field value
-
-