java.lang.Object
com.vaadin.flow.component.spreadsheet.testbench.AddressUtil
All Implemented Interfaces:
Serializable

public class AddressUtil extends Object implements Serializable
An utility class that converts Excel cell addresses to integer coordinates.
Author:
Vaadin Ltd.
See Also:
  • Constructor Details

    • AddressUtil

      public AddressUtil()
  • Method Details

    • addressToPoint

      public static org.openqa.selenium.Point addressToPoint(String address)
      Converts a single cell address to its integer coordinates (Point)
      Parameters:
      address - The address of the cell, e.g. A3
      Returns:
      the coordinates of the cell
    • addressRangeToPoints

      public static Set<org.openqa.selenium.Point> addressRangeToPoints(String addressRange)
      Converts an address range to a set of coordinates (Points)
      Parameters:
      addressRange - The address range, e.g. A1:B3, AA20:AZ98, etc.
      Returns:
      A set of integer coordinates for all cells in the specified range.