/** * 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); } }
/** * Returns the textbox contents. * * @return text box contents */ public String Text() { return TextViewUtil.getText(view); }