Share this page

com.hp.lft.sdk.sap.ui5

## Class ToolBarDescription.Init<T extends ToolBarDescription.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.sap.ui5.ToolBarDescription.Init<T>

- Direct Known Subclasses:
    ToolBarDescription.Builder
  Enclosing class:
    ToolBarDescription

      protected abstract static class ToolBarDescription.Init<T extends ToolBarDescription.Init<T>>
      extends WebElementDescription.Init<T>

  Helper class for ToolBarDescription.Builder.

- - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    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.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `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`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### build

          public ToolBarDescription build()

      Description copied from class: `DescriptionBase.Init`
      Returns the built description instance (builder pattern).
      Overrides:
        `build` in class `WebElementDescription.Init<T extends ToolBarDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### standalone

          public T standalone(java.lang.Boolean standalone)

      Initiates whether the toolbar is standalone.
      Parameters:
        `standalone` - whether the toolbar is standalone.
      Returns:
        the description instance with updated state (builder pattern).

    - #### design

          public T design(ToolBarDesign design)

      Initializes the visual design of the toolbar.
      Parameters:
        `design` - the visual design of the toolbar.
      Returns:
        The description instance with updated state (builder pattern).

    - #### leftItemsCount

          public T leftItemsCount(java.lang.Integer leftItemsCount)

      Initializes the itme count in the left side of the toolbar.
      Parameters:
        `leftItemsCount` - the item count in the left side of the toolbar.
      Returns:
        The description instance with updated state (builder pattern).

    - #### middleItemsCount

          public T middleItemsCount(java.lang.Integer middleItemsCount)

      Initializes the item count in the middle of the toolbar.
      Parameters:
        `middleItemsCount` - the item count in the middle of the toolbar.
      Returns:
        The description instance with updated state (builder pattern).

    - #### rightItemsCount

          public T rightItemsCount(java.lang.Integer rightItemsCount)

      Initializes the item count in the right side of the toolbar.
      Parameters:
        `rightItemsCount` - the item count in the right side of the toolbar.
      Returns:
        the description instance with updated state (builder pattern).

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: