Open topic with navigation

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.