Exemple #1
0
 /**
  * Returns the text displayed by the checkbox.
  *
  * @return checkbox caption
  */
 public String Text() {
   if (resourceId != -1) {
     return TextViewUtil.getText(
         (android.widget.CheckBox) container.$context().findViewById(resourceId));
   } else {
     return TextViewUtil.getText(view);
   }
 }
Exemple #2
0
 /**
  * Returns the textbox contents.
  *
  * @return text box contents
  */
 public String Text() {
   return TextViewUtil.getText(view);
 }