public class TextArea extends FormField<TextArea> implements IPlaceholderable
FormField class representing a button so that
a TextAreaRenderer is used instead of the default renderer for fields.childElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
TextArea(String id)
Creates a new
TextArea instance. |
| Modifier and Type | Method and Description |
|---|---|
<T1> T1 |
getDefaultProperty(int property) |
Paragraph |
getPlaceholder()
Gets the placeholder paragraph.
|
protected IRenderer |
makeNewRenderer() |
void |
setPlaceholder(Paragraph placeholder)
Sets the placeholder paragraph.
|
TextArea |
useAsPassword(boolean isPassword)
Determines, whether the input field will be password.
|
getId, setHeight, setInteractive, setSize, setValue, setWidthaddStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildrencreateRendererSubTree, getRenderer, setNextRendererdeleteOwnProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setPropertypublic TextArea useAsPassword(boolean isPassword)
Usually means that instead of glyphs '*' will be shown in case of flatten field.
If the field is not flatten, value will be ignored.
isPassword - true is this field shall be considered as password, false otherwisepublic <T1> T1 getDefaultProperty(int property)
FormFieldgetDefaultProperty in interface IPropertyContainergetDefaultProperty in class FormField<TextArea>property - public Paragraph getPlaceholder()
getPlaceholder in interface IPlaceholderablepublic void setPlaceholder(Paragraph placeholder)
setPlaceholder in interface IPlaceholderableplaceholder - the paragraph to be used as placeholderprotected IRenderer makeNewRenderer()
makeNewRenderer in class AbstractElement<TextArea>Copyright © 1998–2024 Apryse Group NV. All rights reserved.