iText 8.0.5 API
iText.Forms.Form.Element.TextArea Class Reference

Extension of the FormField class representing a button so that a iText.Forms.Form.Renderer.TextAreaRenderer is used instead of the default renderer for fields. More...

Inheritance diagram for iText.Forms.Form.Element.TextArea:
iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.TextArea > iText.Forms.Form.Element.IPlaceholderable

Public Member Functions

  TextArea (String id)
  Creates a new TextArea instance. More...
 
virtual iText.Forms.Form.Element.TextArea  UseAsPassword (bool isPassword)
  Determines, whether the input field will be password. More...
 
override T1  GetDefaultProperty< T1 > (int property)
 
virtual Paragraph  GetPlaceholder ()
  Gets the placeholder paragraph. More...
 
virtual void  SetPlaceholder (Paragraph placeholder)
  Sets the placeholder paragraph. More...
 
override AccessibilityProperties  GetAccessibilityProperties ()
  Gets the accessibility properties. More...
 
- Public Member Functions inherited from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.TextArea >
virtual T  SetSize (float size)
  Sets the form field's width and height. More...
 
virtual IFormField  SetWidth (float width)
 
virtual IFormField  SetHeight (float height)
 
virtual IFormField  SetValue (String value)
 
virtual String  GetId ()
 
override T1  GetDefaultProperty< T1 > (int property)
 
virtual IFormField  SetInteractive (bool interactive)
 

Protected Member Functions

override IRenderer  MakeNewRenderer ()
 

Additional Inherited Members

- Package Attributes inherited from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.TextArea >
DefaultAccessibilityProperties  tagProperties
  The tag properties. More...
 

Detailed Description

Extension of the FormField class representing a button so that a iText.Forms.Form.Renderer.TextAreaRenderer is used instead of the default renderer for fields.

Constructor & Destructor Documentation

◆ TextArea()

iText.Forms.Form.Element.TextArea.TextArea ( String  id )
inline

Creates a new TextArea instance.

Parameters
id the id

Member Function Documentation

◆ GetAccessibilityProperties()

override AccessibilityProperties iText.Forms.Form.Element.TextArea.GetAccessibilityProperties ( )
inlinevirtual

◆ GetPlaceholder()

virtual Paragraph iText.Forms.Form.Element.TextArea.GetPlaceholder ( )
inlinevirtual

Gets the placeholder paragraph.

Implements iText.Forms.Form.Element.IPlaceholderable.

◆ SetPlaceholder()

virtual void iText.Forms.Form.Element.TextArea.SetPlaceholder ( Paragraph  placeholder )
inlinevirtual

Sets the placeholder paragraph.

Implements iText.Forms.Form.Element.IPlaceholderable.

◆ UseAsPassword()

virtual iText.Forms.Form.Element.TextArea iText.Forms.Form.Element.TextArea.UseAsPassword ( bool  isPassword )
inlinevirtual

Determines, whether the input field will be password.

Determines, whether the input field will be password.

Usually means that instead of glyphs '*' will be shown in case of flatten field.

If the field is not flatten, value will be ignored.

Parameters
isPassword

true is this field shall be considered as password, false otherwise

Returns
this input field