Open topic with navigation

com.hp.lft.sdk.web

## Interface EditFieldCommon

- All Superinterfaces:
    EditFieldBase
  All Known Subinterfaces:
    EditField, EditField, NumericField, Password, Slider

      public interface EditFieldCommon
      extends EditFieldBase

  Properties and methods for Web edit field types (edit, number, and range).

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getDefaultValue()` Returns the default value in the edit field.
    `int` | `getMaxLength()` Returns the max number of characters that can be entered in the input field.
    `java.lang.String` | `getPattern()` Returns the input pattern, for example, a phone number.
    `int` | `getRowsCount()` Returns the number of rows in a multi-line edit field.
    `java.lang.String` | `getType()` Returns the type of object as defined in the HTML input tag.

    - ### Methods inherited from interface com.hp.lft.sdk.web.EditFieldBase

      `getMaxCharsInLine, getPlaceholder, getValue, isReadOnly, isRequired, setValue`

- - ### Method Detail

    - #### getDefaultValue

          java.lang.String getDefaultValue()
                                    throws GeneralLeanFtException

      Returns the default value in the edit field.
      Returns:
        the default value in the edit field.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getMaxLength

          int getMaxLength()
                    throws GeneralLeanFtException

      Returns the max number of characters that can be entered in the input field.
      Returns:
        the max number of characters that can be entered in the input field.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getPattern

          java.lang.String getPattern()
                               throws GeneralLeanFtException

      Returns the input pattern, for example, a phone number.
      Returns:
        the input pattern, for example, a phone number.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getRowsCount

          int getRowsCount()
                    throws GeneralLeanFtException

      Returns the number of rows in a multi-line edit field.
      Returns:
        the number of rows in a multi-line edit field.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getType

          java.lang.String getType()
                            throws GeneralLeanFtException

      Returns the type of object as defined in the HTML input tag.
      Returns:
        the type of object as defined in the HTML input tag.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.