Class: TextView

Inherits:
Base
  • Object
show all
Defined in:
lib/calandroid-widget-extension/text_view.rb

Overview

Provides methods for TextView widgets

Class Method Summary collapse

Methods inherited from Base

class_name, flash, help, id, parse_query, property, query, touch

Class Method Details

.text(aIdOrIndex = nil) ⇒ Object



8
9
10
11
# File 'lib/calandroid-widget-extension/text_view.rb', line 8

def text(aIdOrIndex = nil)
  q = parse_query(aIdOrIndex)
  Calabash::Android::Operations.query(q, :text).first
end