Open topic with navigation

com.hp.lft.sdk.sap.gui

## Class GridDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.sap.gui.ElementDescription
        - - com.hp.lft.sdk.sap.gui.TableBaseDescription
          - - com.hp.lft.sdk.sap.gui.GridDescription

- All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, java.lang.Cloneable

      public class GridDescription
      extends TableBaseDescription

  Description of a SAP GUI for Windows grid.

- - ### Nested Class Summary

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

  - ### Field Summary

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

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `GridDescription()` Initializes a new instance of the GridDescription class.
    `protected` | `GridDescription(GridDescription.Init<?> init)` Initializes a new instance of the GridDescription class using the Builder pattern.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `GridSelectionMode` | `getSelectionMode()` Indicates which selections can be made in the grid.
    `void` | `setSelectionMode(GridSelectionMode selectionMode)` Sets which selections can be made in the grid.

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

      `getTitle, isEnabled, setEnabled, setTitle, setTitle`

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

      `getAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setType`

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

      `cloneTo, getIndex, getIndexType, getVRI, setIndex, setIndexType, setVRI, setVRI`

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

      `clone`

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

      `getValueAs, getValueAsStringProperty, insertValue`

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

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

    - ### Methods inherited from interface com.hp.lft.sdk.CloneableObject

      `clone`

- - ### Constructor Detail

    - #### GridDescription

          public GridDescription()

      Initializes a new instance of the GridDescription class.

    - #### GridDescription

          protected GridDescription(GridDescription.Init<?> init)

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

  - ### Method Detail

    - #### setSelectionMode

          public void setSelectionMode(GridSelectionMode selectionMode)

      Sets which selections can be made in the grid.
      Parameters:
        `selectionMode` - the selection mode.

    - #### getSelectionMode

          public GridSelectionMode getSelectionMode()

      Indicates which selections can be made in the grid.
      Returns:
        the selection mode.