Package com.hp.lft.sdk.web
Class AreaDescription.Init<T extends AreaDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.web.WebBaseDescription.Init<T>
com.hp.lft.sdk.web.WebElementDescription.Init<T>
com.hp.lft.sdk.web.AreaDescription.Init<T>
- Direct Known Subclasses:
- AreaDescription.Builder
- Enclosing class:
- AreaDescription
protected abstract static class AreaDescription.Init<T extends AreaDescription.Init<T>>
extends WebElementDescription.Init<T>
Helper class for AreaDescription.Builder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionalt(StringProperty alt) Initializes the alternative text that will be displayed instead of the image.Initializes the alternative text that will be displayed instead of the image.build()Returns the built description instance (builder pattern).coords(int[] coords) Initializes the coordinates of an area in an image-map.href(StringProperty href) Initializes the link's target without the last /.Initializes the link's target without the last /.mapName(StringProperty mapName) Initializes the name of the map element the image uses to define the area inside the image.Initializes the name of the map element the image uses to define the area inside the image.src(StringProperty src) Initializes the image source in URL format.Initializes the image source in URL format.target(StringProperty target) Initializes the name of the frame that will be navigated when user clicks on the frame.Initializes the name of the frame that will be navigated when user clicks on the frame.Initializes the image type.Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.InitaccessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpathMethods inherited from class com.hp.lft.sdk.web.WebBaseDescription.InitabsoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visibleMethods inherited from class com.hp.lft.sdk.DescriptionBase.Initindex, objectProperties, self, vri, vri
- 
Constructor Details- 
Initprotected Init()
 
- 
- 
Method Details- 
buildDescription copied from class:DescriptionBase.InitReturns the built description instance (builder pattern).- Overrides:
- buildin class- WebElementDescription.Init<T extends AreaDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
 
- 
altInitializes the alternative text that will be displayed instead of the image.- Parameters:
- alt- the alternative text that will be displayed instead of the image.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
altInitializes the alternative text that will be displayed instead of the image.- Parameters:
- alt- a StringProperty(or RegExpProperty) representing the alternative text that will be displayed instead of the image.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
srcInitializes the image source in URL format.- Parameters:
- src- the image source in URL format.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
srcInitializes the image source in URL format.- Parameters:
- src- a StringProperty(or RegExpProperty) representing the image source in URL format.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
targetInitializes 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.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
targetInitializes 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.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
hrefInitializes the link's target without the last /.- Parameters:
- href- the link's target without the last /.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
hrefInitializes the link's target without the last /.- Parameters:
- href- a StringProperty(or RegExpProperty) representing the link's target without the last /.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
typeInitializes the image type.- Parameters:
- type- the image type.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
mapNameInitializes the name of the map element the image uses to define the area inside the image.- Parameters:
- mapName- the name of the map element the image uses to define the area inside the image.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
mapNameInitializes the name of the map element the image uses to define the area inside the image.- Parameters:
- mapName- a StringProperty(or RegExpProperty) representing the name of the map element the image uses to define the area inside the image.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
coordsInitializes the coordinates of an area in an image-map. The coordinates format is determined by the shape of the area, in the following manner:
 shape="rect" - x1,y1,x2,y2.
 shape="circle" - x,y,radius
 shape="poly" - x1,y1,x2,y2,..,xn,yn- Parameters:
- coords- the coordinates of an area in an image-map.
- Returns:
- the description instance with the update state (builder pattern).
 
 
-