Package com.hp.lft.sdk.web
Class PageDescription.Init<T extends PageDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.web.PageDescription.Init<T>
- Direct Known Subclasses:
- PageDescription.Builder
- Enclosing class:
- PageDescription
protected abstract static class PageDescription.Init<T extends PageDescription.Init<T>>
extends DescriptionBase.Init<T>
Helper class for PageDescription.Builder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabsoluteLocation(LocationProperty absLocation) Initializes the page's absolute coordinates relative to the screen (in pixels).absoluteLocation(Point absLocation) Initializes the page's absolute coordinates relative to the screen (in pixels).absoluteLocation(Integer absX, Integer absY) Initializes the page's absolute coordinates relative to the screen (in pixels).build()Returns the built description instance (builder pattern).size(SizeProperty size) Initializes the page's size (in pixels).Initializes the page's size (in pixels).Initializes the page's size (in pixels).text(StringProperty text) Initializes the inner text of the body element.Initializes the inner text of the body element.title(StringProperty title) Initializes the page's title attribute.Initializes the page's title attribute.url(StringProperty url) Initializes the URL of the page.Initializes the URL of the page.Methods 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- DescriptionBase.Init<T extends PageDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
 
- 
urlInitializes the URL of the page.- Parameters:
- url- the URL of the page.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
urlInitializes the URL of the page.- Parameters:
- url- a StringProperty(or RegExpProperty) representing the URL of the page.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
textInitializes the inner text of the body element.- Parameters:
- text- the inner text of the body element.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
textInitializes the inner text of the body element.- Parameters:
- text- a StringProperty(or RegExpProperty) representing the inner text of the body element.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
titleInitializes the page's title attribute.- Parameters:
- title- the page's title attribute.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
titleInitializes the page's title attribute.- Parameters:
- title- a StringProperty(or RegExpProperty) representing the page's title attribute.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
absoluteLocationInitializes the page's absolute coordinates relative to the screen (in pixels).
 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
- absX- the absolute X coordinate of the test object location.
- absY- the absolute Y coordinate of the test object location.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
absoluteLocationInitializes the page's absolute coordinates relative to the screen (in pixels).
 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
- absLocation- a LocationProperty representing the object's absolute coordinates relative to the screen (in pixels).
- Returns:
- the description instance with the update state (builder pattern).
 
- 
absoluteLocationInitializes the page's absolute coordinates relative to the screen (in pixels).
 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
- absLocation- a point representing the object's absolute coordinates relative to the screen (in pixels).
- Returns:
- the description instance with the update state (builder pattern).
 
- 
sizeInitializes the page's size (in pixels).- Parameters:
- size- the page's size (in pixels).
- Returns:
- the description instance with the update state (builder pattern).
 
- 
sizeInitializes the page's size (in pixels).- Parameters:
- width- the width of the test object (in pixels).
- height- the height of the test object (in pixels).
- Returns:
- the description instance with the update state (builder pattern).
 
- 
sizeInitializes the page's size (in pixels).- Parameters:
- size- the test object's size (in pixels).
- Returns:
- the description instance with the update state (builder pattern).
 
 
-