Esempio n. 1
0
 /**
  * Specifies the text displayed by the checkbox.
  *
  * @param text new caption for checkbox
  */
 public void Text(String text) {
   if (resourceId != -1) {
     TextViewUtil.setText(
         (android.widget.CheckBox) container.$context().findViewById(resourceId), text);
   } else {
     TextViewUtil.setText(view, text);
   }
 }
Esempio n. 2
0
 /**
  * Specifies the textbox contents.
  *
  * @param text new text in text box
  */
 public void Text(String text) {
   TextViewUtil.setText(view, text);
 }