com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class FormField



  • public class FormField
    extends Object

    Describe one field of form.

    • Constructor Detail

      • FormField

        public FormField()

        Create instance of form field.

      • FormField

        public FormField(String label)

        Create instance of form field.

        Parameters:
        label - label of field
      • FormField

        public FormField(String label,
                 String inputType)

        Create instance of form field.

        Parameters:
        label - label of field
        inputType - input type of field
    • Method Detail

      • getLabel

        public final String getLabel()

        Get or set label of field.

      • setLabel

        public final void setLabel(String value)

        Get or set label of field.

      • getInputType

        public final String getInputType()

        Get or set input type of field.

      • setInputType

        public final void setInputType(String value)

        Get or set input type of field.

      • getName

        public final String getName()

        Get or set name of field.

      • setName

        public final void setName(String value)

        Get or set name of field.

      • getId

        public final String getId()

        Get or set Id of field.

      • setId

        public final void setId(String value)

        Get or set Id of field.

      • getPlaceholder

        public final String getPlaceholder()

        Get or set placeholder of field.

      • setPlaceholder

        public final void setPlaceholder(String value)

        Get or set placeholder of field.

      • getValue

        public final String getValue()

        Get or set value of field.

      • setValue

        public final void setValue(String value)

        Get or set value of field.

      • isRequired

        public final boolean isRequired()

        Get or set value that define field as required.

      • setRequired

        public final void setRequired(boolean value)

        Get or set value that define field as required.

      • toAmpHtml

        public String toAmpHtml()

        Represents amp html version of field.

        Returns:
      • toHtml

        public String toHtml()

        Represents html version of field.

        Returns: