from __future__ import annotations
from typing import Any, Protocol, runtime_checkable

@runtime_checkable
class XGridControl(Protocol):
    def getColumnAtPoint(self, X: int, Y: int) -> int: ...
    def getRowAtPoint(self, X: int, Y: int) -> int: ...
    def getCurrentColumn(self) -> int: ...
    def getCurrentRow(self) -> int: ...
