Package com.hp.lft.sdk.web
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 TypeMethodDescriptionint
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.getValue()
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
Enters the specified text in the field.- Parameters:
text
- the value to set in the field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getValue
Returns the current text in the field.- Returns:
- the current text in the field.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getPlaceholder
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
Indicates whether this field is read-only.- Returns:
- True, if this field is read-only.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isRequired
Indicates whether this field is mandatory.- Returns:
- True, if this field is mandatory.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getMaxCharsInLine
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
-