Package com.hp.lft.sdk.web
Class NumericFieldDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- SliderDescription
The description of a Web NumericField test object.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the NumericFieldDescription class using the builder pattern.protected static classHelper class for NumericFieldDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the NumericFieldDescription class.protectedInitializes a new instance of the NumericFieldDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the initial value of the object, which is set when the object is reset.getMax()Returns the maximum value that can be entered in the field.getMin()Returns the minimum value that can be entered in the field.Returns the current value in the number field.voidsetDefaultNumericValue(Double defaultNumericValue) Sets the default value that will be presented in the number field.voidSets the maximum value that can be entered in the field.voidSets the minimum value that can be entered in the field.voidsetNumericValue(Double numericValue) Sets the current value in the number field.Methods inherited from class com.hp.lft.sdk.web.EditFieldDescriptiongetDefaultValue, getMaxLength, getPattern, getRowsCount, setDefaultValue, setDefaultValue, setMaxLength, setPattern, setPattern, setRowsCountMethods inherited from class com.hp.lft.sdk.web.EditFieldBaseDescriptiongetMaxCharsInLine, getPlaceholder, getValue, isEnabled, isReadOnly, isRequired, setEnabled, setMaxCharsInLine, setPlaceholder, setPlaceholder, setReadOnly, setRequired, setValue, setValueMethods inherited from class com.hp.lft.sdk.web.FormFieldDescriptiongetType, setType, setTypeMethods inherited from class com.hp.lft.sdk.web.WebElementDescriptiongetAccessibilityName, getCSSSelector, getRole, getXPath, setAccessibilityName, setAccessibilityName, setCSSSelector, setCSSSelector, setRole, setRole, setXPath, setXPathMethods inherited from class com.hp.lft.sdk.web.WebBaseDescriptioncloneTo, getAbsoluteLocation, getAttributes, getClassName, getId, getInnerHTML, getInnerText, getLocation, getName, getOuterHTML, getOuterText, getSize, getStyles, getTagName, getTitle, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttributes, setClassName, setClassName, setId, setId, setInnerHTML, setInnerHTML, setInnerText, setInnerText, setLocation, setLocation, setLocation, setName, setName, setOuterHTML, setOuterHTML, setOuterText, setOuterText, setSize, setSize, setSize, setStyles, setTagName, setTagName, setTitle, setTitle, setVisibleMethods inherited from class com.hp.lft.sdk.DescriptionBasegetIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
NumericFieldDescriptionpublic NumericFieldDescription()Initializes a new instance of the NumericFieldDescription class.
- 
NumericFieldDescriptionInitializes a new instance of the NumericFieldDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setNumericValueSets the current value in the number field.- Parameters:
- numericValue- the current value in the number field.
 
- 
getNumericValueReturns the current value in the number field.- Returns:
- the current value in the number field.
 
- 
setDefaultNumericValueSets the default value that will be presented in the number field.- Parameters:
- defaultNumericValue- the default value that will be presented in the number field.
 
- 
getDefaultNumericValueReturns the initial value of the object, which is set when the object is reset.- Returns:
- the initial value of the object, which is set when the object is reset.
 
- 
setMinSets the minimum value that can be entered in the field.- Parameters:
- min- the minimum value that can be entered in the field.
 
- 
getMinReturns the minimum value that can be entered in the field.- Returns:
- the minimum value that can be entered in the field.
 
- 
setMaxSets the maximum value that can be entered in the field.- Parameters:
- max- the maximum value that can be entered in the field.
 
- 
getMaxReturns the maximum value that can be entered in the field.- Returns:
- the maximum value that can be entered in the field.
 
 
-