Package com.pspdfkit.forms
Class TextFormConfiguration
-
- All Implemented Interfaces:
public class TextFormConfiguration extends FormElementConfiguration<T, K>
Configuration class of com.pspdfkit.forms.TextFormElement for the creation of a using addFormElementToPage.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
TextFormConfiguration.Builder
Builder used to construct TextFormConfiguration instance.
-
Method Summary
Modifier and Type Method Description String
getText()
String
getRichText()
int
getMaxLength()
Maximum length of text allowed in the text field. boolean
isMultiLine()
Returns whether text is allowed to have multiple lines or not. boolean
isPassword()
Returns whether text is intended for entering a secure password that should not be visible on the screen. boolean
isSpellCheckEnabled()
Returns whether text entered in the field shall be spell-checked. -
-
Method Detail
-
getRichText
@Nullable() String getRichText()
-
getMaxLength
@IntRange(from = 0) int getMaxLength()
Maximum length of text allowed in the text field.
- Returns:
Maximum length of text allowed or 0 if length is unlimited.
-
isMultiLine
boolean isMultiLine()
Returns whether text is allowed to have multiple lines or not.
- Returns:
true
when text is allowed to span multiple lines.
-
isPassword
boolean isPassword()
Returns whether text is intended for entering a secure password that should not be visible on the screen.
- Returns:
true
when text should be not echoed on screen.
-
isSpellCheckEnabled
boolean isSpellCheckEnabled()
Returns whether text entered in the field shall be spell-checked.
- Returns:
true
when text content can be spell checked.
-
-
-
-