Package com.hp.lft.sdk.web
Class CheckBoxDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- CheckBoxDescription
The description of a Web CheckBox test object.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the CheckBoxDescription class using the builder pattern.protected static classCheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>>Helper class for CheckBoxDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the CheckBoxDescription class.protectedInitializes a new instance of the CheckBoxDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptiongetType()Returns the type of object as defined in the HTML input tag.Indicates whether the check box is checked.Indicates whether the check box is enabled.voidsetChecked(Boolean isChecked) Sets whether the check box is checked.voidsetEnabled(Boolean isEnabled) Sets whether the check box is enabled.voidsetType(StringProperty type) Sets the type of object as defined in the HTML input tag.voidSets the type of object as defined in the HTML input tag.Methods 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- 
CheckBoxDescriptionpublic CheckBoxDescription()Initializes a new instance of the CheckBoxDescription class.
- 
CheckBoxDescriptionInitializes a new instance of the CheckBoxDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setCheckedSets whether the check box is checked.- Parameters:
- isChecked- true, if the check box is checked.
 
- 
isCheckedIndicates whether the check box is checked.- Returns:
- true, if the check box is checked.
 
- 
setEnabledSets whether the check box is enabled.- Parameters:
- isEnabled- true if enabled.
 
- 
isEnabledIndicates whether the check box is enabled.- Returns:
- true if enabled.
 
- 
setTypeSets the type of object as defined in the HTML input tag.- Overrides:
- setTypein class- FormFieldDescription
- Parameters:
- type- a StringProperty(or RegExpProperty) representing the type of object as defined in the HTML input tag.
 
- 
setTypeSets the type of object as defined in the HTML input tag.- Overrides:
- setTypein class- FormFieldDescription
- Parameters:
- type- the type of object as defined in the HTML input tag.
 
- 
getTypeReturns the type of object as defined in the HTML input tag.- Overrides:
- getTypein class- FormFieldDescription
- Returns:
- the type of object as defined in the HTML input tag.
 
 
-