Share this page

com.hp.lft.sdk.stdwin

## Class MenuDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.stdwin.MenuDescription

- All Implemented Interfaces:
    CloneableObject, Description, java.lang.Cloneable

      public class MenuDescription
      extends PropertiesDescription

  The description of a standard Windows Menu test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `MenuDescription.Builder` This class can be used to construct an instance of the MenuDescription class using the builder pattern.
    `protected static class` | `MenuDescription.Init<T extends MenuDescription.Init<T>>` Helper class for MenuDescription.Builder.

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `MenuDescription()` Initializes a new instance of the MenuDescription class.
    `protected` | `MenuDescription(MenuDescription.Init<?> init)` Initializes a new instance of the MenuDescription class using the Builder pattern.
    `` | `MenuDescription(MenuType type)` Initializes a new instance of MenuDescription with the given `MenuType` item.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `MenuType` | `getType()` Returns the Menu type.
    `void` | `setType(MenuType type)` Set the Menu type.

    - ### Methods inherited from class com.hp.lft.sdk.PropertiesDescription

      `clone`

    - ### Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `cloneTo, getValueAs, getValueAsStringProperty, insertValue`

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

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

- - ### Constructor Detail

    - #### MenuDescription

          public MenuDescription()

      Initializes a new instance of the MenuDescription class.

    - #### MenuDescription

          public MenuDescription(MenuType type)

      Initializes a new instance of MenuDescription with the given `MenuType` item.
      Parameters:
        `type` - the Menu type.

    - #### MenuDescription

          protected MenuDescription(MenuDescription.Init<?> init)

      Initializes a new instance of the MenuDescription class using the Builder pattern.
      Parameters:
        `init` - the Builder pattern.

  - ### Method Detail

    - #### getType

          public MenuType getType()

      Returns the Menu type.
      Returns:
        the Menu type.

    - #### setType

          public void setType(MenuType type)

      Set the Menu type.
      Parameters:
        `type` - the Menu type.

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: