protected abstract static class ToolBarDescription.Init<T extends ToolBarDescription.Init<T>> extends WebElementDescription.Init<T>
Modifier | Constructor and Description |
---|---|
protected |
Init() |
Modifier and Type | Method and Description |
---|---|
ToolBarDescription |
build()
Returns the built description instance (builder pattern).
|
T |
design(ToolBarDesign design)
Initializes the visual design of the toolbar.
|
T |
leftItemsCount(java.lang.Integer leftItemsCount)
Initializes the itme count in the left side of the toolbar.
|
T |
middleItemsCount(java.lang.Integer middleItemsCount)
Initializes the item count in the middle of the toolbar.
|
T |
rightItemsCount(java.lang.Integer rightItemsCount)
Initializes the item count in the right side of the toolbar.
|
T |
standalone(java.lang.Boolean standalone)
Initiates whether the toolbar is standalone.
|
accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath
absoluteLocation, 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, visible
index, self, vri, vri
public ToolBarDescription build()
DescriptionBase.Init
build
in class WebElementDescription.Init<T extends ToolBarDescription.Init<T>>
public T standalone(java.lang.Boolean standalone)
standalone
- whether the toolbar is standalone.public T design(ToolBarDesign design)
design
- the visual design of the toolbar.public T leftItemsCount(java.lang.Integer leftItemsCount)
leftItemsCount
- the item count in the left side of the toolbar.public T middleItemsCount(java.lang.Integer middleItemsCount)
middleItemsCount
- the item count in the middle of the toolbar.public T rightItemsCount(java.lang.Integer rightItemsCount)
rightItemsCount
- the item count in the right side of the toolbar.