Share this page

com.hp.lft.sdk.oracle

# Interface MenuItem

-     public interface MenuItem

  An Oracle menu item.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<MenuItem>` | `getMenuSubItems()` Returns a list of all submenus for the specified menu item.
    `String` | `getPath()` Returns the path of the menu item.
    `boolean` | `isChecked()` Indicates whether this menu item is currently checked.
    `boolean` | `isDisabled()` Indicates whether this menu item is currently disabled.
    `boolean` | `isEnabled()` Indicates whether this menu item is currently enabled.
    `boolean` | `isShowing()` Indicates whether this menu item is currently showing.
    `boolean` | `isVisible()` Indicates whether this menu item is currently visible.

- - ### Method Detail

    - #### getPath

          String getPath()
                  throws GeneralLeanFtException

      Returns the path of the menu item. Menu items are separated with -> character.
      Returns:
        the path of the menu item.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### isChecked

          boolean isChecked()
                     throws GeneralLeanFtException

      Indicates whether this menu item is currently checked.
      Returns:
        true, if this menu item is currently checked.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### isEnabled

          boolean isEnabled()
                     throws GeneralLeanFtException

      Indicates whether this menu item is currently enabled.
      Returns:
        true, if this menu item is currently enabled.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### isDisabled

          boolean isDisabled()
                      throws GeneralLeanFtException

      Indicates whether this menu item is currently disabled.
      Returns:
        true, if this menu item is currently disabled.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### isVisible

          boolean isVisible()
                     throws GeneralLeanFtException

      Indicates whether this menu item is currently visible.
      Returns:
        true if this menu item is currently visible.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### isShowing

          boolean isShowing()
                     throws GeneralLeanFtException

      Indicates whether this menu item is currently showing.
      Returns:
        true if this menu item is currently showing.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getMenuSubItems

          List<MenuItem> getMenuSubItems()
                                  throws GeneralLeanFtException

      Returns a list of all submenus for the specified menu item.
      Returns:
        The list of all submenus for the specified menu item.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

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: