Class EditFieldDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable
Direct Known Subclasses:
EditFieldDescription, NumericFieldDescription

public class EditFieldDescription extends EditFieldBaseDescription
The description of the base interface for Web edit fields, such as, edit, number, and file fields.
  • Constructor Details

    • EditFieldDescription

      public EditFieldDescription()
      Initializes a new instance of the EditFieldDescription class.
    • EditFieldDescription

      protected EditFieldDescription(EditFieldDescription.Init<?> init)
      Initializes a new instance of the EditFieldDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setDefaultValue

      public void setDefaultValue(StringProperty defaultValue)
      Sets the default value that will be presented in the edit field.
      Parameters:
      defaultValue - a StringProperty (or RegExpProperty) representing the default value that will be presented in the edit field.
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Sets the default value that will be presented in the edit field.
      Parameters:
      defaultValue - the default value that will be presented in the edit field.
    • getDefaultValue

      public StringProperty getDefaultValue()
      Returns the default value that will be displayed in the edit field.
      Returns:
      the default value that will be displayed in the edit field.
    • setMaxLength

      public void setMaxLength(Integer maxLength)
      Sets the maximum number of characters that can be entered in the input field.
      Parameters:
      maxLength - the maximum number of characters that can be entered in the input field.
    • getMaxLength

      public Integer getMaxLength()
      Returns the maximum number of characters that can be entered in the input field.
      Returns:
      the maximum number of characters that can be entered in the input field.
    • setPattern

      public void setPattern(StringProperty pattern)
      Sets the input pattern, for example, a phone number.
      Parameters:
      pattern - a StringProperty (or RegExpProperty) representing the pattern of the input.
    • setPattern

      public void setPattern(String pattern)
      Sets the input pattern, for example, a phone number.
      Parameters:
      pattern - the pattern of the input.
    • getPattern

      public StringProperty getPattern()
      Returns the input pattern, for example, a phone number.
      Returns:
      the input pattern.
    • setRowsCount

      public void setRowsCount(Integer rowsCount)
      Sets the number of rows for multi-line objects.
      Parameters:
      rowsCount - the number of rows for multi-line objects.
    • getRowsCount

      public Integer getRowsCount()
      Returns the number of rows for multi-line objects.
      Returns:
      the number of rows for multi-line objects.