/** * 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); } }
/** * Specifies the textbox contents. * * @param text new text in text box */ public void Text(String text) { TextViewUtil.setText(view, text); }