Package com.hp.lft.sdk.web
Interface EditFieldCommon
- All Superinterfaces:
EditFieldBase
- All Known Subinterfaces:
EditField,EditField,NumericField,Password,Slider
Properties and methods for Web edit field types (edit, number, and range).
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default value in the edit field.intReturns the max number of characters that can be entered in the input field.Returns the input pattern, for example, a phone number.intReturns the number of rows in a multi-line edit field.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 Details
-
getDefaultValue
Returns the default value in the edit field.- Returns:
- the default value in the edit field.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getMaxLength
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 error occurs during execution
-
getPattern
Returns the input pattern, for example, a phone number.- Returns:
- the input pattern, for example, a phone number.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getRowsCount
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 error occurs during execution
-
getType
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 error occurs during execution
-