Class Position

java.lang.Object
com.microfocus.zfe.haapi.ps.Position

public class Position extends Object
Represents a screenRows, column location
  • Constructor Details

    • Position

      public Position(int row, int col)
      Constructs a new Position instance
      Parameters:
      row - the position row
      col - the position column
  • Method Details

    • getRow

      public int getRow()
      Returns the row of this position instance
      Returns:
      the row of this position instance
    • getCol

      public int getCol()
      Returns the column of this position instance
      Returns:
      the column of this position instance
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object