Interface EditFieldBase

All Known Subinterfaces:
EditField, EditField, EditFieldCommon, FileField, NumericField, Password, Slider

public interface EditFieldBase
Base interface for Web edit fields (EditField, NumericField, and FileField).
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum number of characters allowed per line in this edit field.
    Returns the hint text that is displayed in the edit box until a value is entered into it.
    Returns the current text in the field.
    boolean
    Indicates whether this field is read-only.
    boolean
    Indicates whether this field is mandatory.
    void
    Enters the specified text in the field.
  • Method Details

    • setValue

      void setValue(String text) throws GeneralLeanFtException
      Enters the specified text in the field.
      Parameters:
      text - the value to set in the field.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getValue

      String getValue() throws GeneralLeanFtException
      Returns the current text in the field.
      Returns:
      the current text in the field.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getPlaceholder

      String getPlaceholder() throws GeneralLeanFtException
      Returns the hint text that is displayed in the edit box until a value is entered into it.
      Returns:
      the hint text that is displayed in the edit box until a value is entered into it.
      Throws:
      GeneralLeanFtException - if an error occurs during execution.
    • isReadOnly

      boolean isReadOnly() throws GeneralLeanFtException
      Indicates whether this field is read-only.
      Returns:
      True, if this field is read-only.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • isRequired

      boolean isRequired() throws GeneralLeanFtException
      Indicates whether this field is mandatory.
      Returns:
      True, if this field is mandatory.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getMaxCharsInLine

      int getMaxCharsInLine() throws GeneralLeanFtException
      Returns the maximum number of characters allowed per line in this edit field.
      Returns:
      The maximum number of characters allowed per line in this edit field.
      Throws:
      GeneralLeanFtException - if error occurs during execution