Share this page

com.hp.lft.sdk.sap.gui

## Class MenubarDescription.Init<T extends MenubarDescription.Init<T>>

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.sap.gui.ElementDescription.Init<T>
    - - com.hp.lft.sdk.sap.gui.MenubarDescription.Init<T>

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

      protected abstract static class MenubarDescription.Init<T extends MenubarDescription.Init<T>>
      extends ElementDescription.Init<T>

  Helper class for MenubarDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `MenubarDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `items(java.lang.String[] items)` Initializes the list of items in the menu bar.
    `T` | `itemsCount(java.lang.Integer itemsCount)` Initializes the number of items contained in the menu bar.

    - ### Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, id, id, location, location, location, name, name, size, size, size, type`

    - ### 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 MenubarDescription build()

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

    - #### items

          public T items(java.lang.String[] items)

      Initializes the list of items in the menu bar.
      Parameters:
        `items` - the list of items.
      Returns:
        the description instance with the update state (builder pattern).

    - #### itemsCount

          public T itemsCount(java.lang.Integer itemsCount)

      Initializes the number of items contained in the menu bar.
      Parameters:
        `itemsCount` - the number of items.
      Returns:
        the description instance with the update 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: