The CursorX Class contains the following method:
getType retrieves the current CursorX object's type.