Interface GridItemPattern


public interface GridItemPattern
The methods and properties used to interact with items in a grid.
  • Method Details

    • getRowIndex

      int getRowIndex() throws GeneralLeanFtException
      Returns:
      The zero-based index of the row that contains the grid item.
      Throws:
      GeneralLeanFtException - if error occurs during execution.
    • getColumnIndex

      int getColumnIndex() throws GeneralLeanFtException
      Returns:
      The zero-based index of the column that contains the grid item.
      Throws:
      GeneralLeanFtException - if error occurs during execution.
    • getSpannedRows

      int getSpannedRows() throws GeneralLeanFtException
      Returns:
      The number of rows spanned by a cell or item.
      Throws:
      GeneralLeanFtException - if error occurs during execution.
    • getSpannedColumns

      int getSpannedColumns() throws GeneralLeanFtException
      Returns:
      The number of columns spanned by a cell or item.
      Throws:
      GeneralLeanFtException - if error occurs during execution.
    • getContainingGridAsUIObject

      UiObject getContainingGridAsUIObject() throws GeneralLeanFtException
      Retrieves a UI Automation object that supports GridPattern and represents the container of the cell or item.
      Note: This method is not supported when you enable the legacy UIA Pro Add-in
      Returns:
      A UI Automation object that supports IGridPattern and represents the container of the cell or item.
      Throws:
      GeneralLeanFtException - if error occurs during execution.
    • getContainingGrid

      @Deprecated Object getContainingGrid() throws GeneralLeanFtException
      Deprecated.
      Retrieves a UI Automation object that supports GridPattern and represents the container of the cell or item.
      Note: This method is only supported when you enable the legacy UIA Pro Add-in
      Returns:
      A UI Automation object that supports IGridPattern and represents the container of the cell or item.
      Throws:
      GeneralLeanFtException - if error occurs during execution.