Package net.moewes.cloudui.ui5
Class Ui5TextArea
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5InputBase
-
- net.moewes.cloudui.ui5.Ui5InputFieldBase
-
- net.moewes.cloudui.ui5.Ui5TextArea
-
public class Ui5TextArea extends Ui5InputFieldBase
Java wrapper for UI5 web component ui5-textarea
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.moewes.cloudui.ui5.Ui5InputBase
Ui5InputBase.ValueState
-
-
Field Summary
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
required
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputBase
disabled, readOnly
-
-
Constructor Summary
Constructors Constructor Description Ui5TextArea()
default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.moewes.cloudui.UiElement
render()
void
setGrowing(boolean growing)
Enables the ui5-textarea to automatically grow and shrink dynamically with its content.void
setGrowingMaxLines(int maxLines)
sets the number of rows up to it can grow in totalvoid
setMaxLength(int maxLength)
Defines the maximum number of characters that the value can have.void
setRows(int numberRows)
Defines the number of visible text lines for the component.void
showExceededText(boolean showExceededText)
Determines whether the characters exceeding the maximum allowed character count are visible in the ui5-textarea.-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
addValueStateMessage, addValueStateMessage, setPlaceholder, setRequired
-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputBase
setDisabled, setReadOnly, setValueState
-
-
-
-
Method Detail
-
showExceededText
public void showExceededText(boolean showExceededText)
Determines whether the characters exceeding the maximum allowed character count are visible in the ui5-textarea.If set to false, the user is not allowed to enter more characters than what is set in the maxlength property. If set to true the characters exceeding the maxlength value are selected on paste and the counter below the ui5-textarea displays their number.
- Parameters:
showExceededText
- flag
-
setGrowing
public void setGrowing(boolean growing)
Enables the ui5-textarea to automatically grow and shrink dynamically with its content.- Parameters:
growing
- flag
-
setGrowingMaxLines
public void setGrowingMaxLines(int maxLines)
sets the number of rows up to it can grow in total- Parameters:
maxLines
- numbers of rows in total
-
setMaxLength
public void setMaxLength(int maxLength)
Defines the maximum number of characters that the value can have.- Parameters:
maxLength
- number of charcters
-
setRows
public void setRows(int numberRows)
Defines the number of visible text lines for the component.- Parameters:
numberRows
- number of rows
-
render
public net.moewes.cloudui.UiElement render()
- Overrides:
render
in classUi5InputFieldBase
-
-