public static final class SignApi.Pdf.TextField extends SignApi.Pdf.Field
Modifier and Type | Method and Description |
---|---|
String |
getFieldType()
Gets the field type, see PDF-32000, section 12.7.3.1.
|
Optional<Integer> |
getMaxLen()
The maximum length of text, in characters.
|
Optional<String> |
getText()
Gets the text.
|
Optional<SignApi.Pdf.TextAppearance> |
getTextAppearance()
Gets the text appearance.
|
Optional<Boolean> |
isDoNotScroll()
True if the field shall not scroll.
|
Optional<Boolean> |
isDoNotSpellCheck()
True if entered text shall not be spell checked.
|
Optional<Boolean> |
isFileSelect()
True if the field is intended for entering path to files else false.
|
Optional<Boolean> |
isMultiLine()
True if the text may span multiple lines else false.
|
Optional<Boolean> |
isPassword()
True if the field is intended for entering passwords else false.
|
boolean |
setText(String text)
Sets the text.
|
getFieldName, getIsReadOnly, getName, getPosition, setReadOnly
public String getFieldType()
SignApi.Pdf.Field
getFieldType
in class SignApi.Pdf.Field
public Optional<SignApi.Pdf.TextAppearance> getTextAppearance()
public boolean setText(String text)
text
- The text to set.public Optional<Boolean> isDoNotScroll()
public Optional<Boolean> isDoNotSpellCheck()
public Optional<Boolean> isFileSelect()
public Optional<Boolean> isMultiLine()
public Optional<Boolean> isPassword()
Copyright © 2024. All rights reserved.