Package com.hp.lft.sdk.web
Class ImageDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.web.WebBaseDescription
com.hp.lft.sdk.web.WebElementDescription
com.hp.lft.sdk.web.ImageDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
The description of a Web Image test object.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ImageDescription class using the builder pattern.protected static classImageDescription.Init<T extends ImageDescription.Init<T>>Helper class for ImageDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the Image class.protectedImageDescription(ImageDescription.Init<?> init) Initializes a new instance of the ImageDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptiongetAlt()Returns the image's tooltip text..getHref()Returns the location to which the browser navigates when the image is clicked.getSrc()Returns the image source in URL format.Returns the name of the target frame of the navigation.getType()Returns the image type.voidsetAlt(StringProperty alt) Sets the image's tooltip text.voidSets the image's tooltip text.voidsetHref(StringProperty href) Sets the location to which the browser navigates when the image is clicked.voidSets the location to which the browser navigates when the image is clicked.voidsetSrc(StringProperty src) Sets the image source in URL format.voidSets the image source in URL format.voidsetTarget(StringProperty target) Sets the name of the frame that will be navigated when user clicks on the frame.voidSets the name of the frame that will be navigated when user clicks on the frame.voidSets the image type.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- 
ImageDescriptionpublic ImageDescription()Initializes a new instance of the Image class.
- 
ImageDescriptionInitializes a new instance of the ImageDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setAltSets the image's tooltip text.- Parameters:
- alt- a StringProperty(or RegExpProperty) representing the image's tooltip text.
 
- 
setAltSets the image's tooltip text.- Parameters:
- alt- the image's tooltip text.
 
- 
getAltReturns the image's tooltip text..- Returns:
- the image's tooltip text..
 
- 
setSrcSets the image source in URL format.- Parameters:
- src- a StringProperty(or RegExpProperty) representing the image source in URL format.
 
- 
setSrcSets the image source in URL format.- Parameters:
- src- the image source in URL format.
 
- 
getSrcReturns the image source in URL format.- Returns:
- the image source in URL format.
 
- 
setTargetSets the name of the frame that will be navigated when user clicks on the frame.- Parameters:
- target- a StringProperty(or RegExpProperty) representing the name of the frame that will be navigated when user clicks on the frame.
 
- 
setTargetSets the name of the frame that will be navigated when user clicks on the frame.- Parameters:
- target- the name of the frame that will be navigated when user clicks on the frame.
 
- 
getTargetReturns the name of the target frame of the navigation.- Returns:
- the name of the target frame of the navigation. Possible values: Possible values: Any valid HTML target attribute value, for example, framename, _blank, or _self.
 
- 
setHrefSets the location to which the browser navigates when the image is clicked.- Parameters:
- href- a StringProperty(or RegExpProperty) representing the location to which the browser navigates when the image is clicked.
 
- 
setHrefSets the location to which the browser navigates when the image is clicked.- Parameters:
- href- the location to which the browser navigates when the image is clicked.
 
- 
getHrefReturns the location to which the browser navigates when the image is clicked.- Returns:
- the location to which the browser navigates when the image is clicked.
 
- 
setTypeSets the image type.- Parameters:
- type- the image type.
 
- 
getTypeReturns the image type.- Returns:
- the image type.
 
 
-