/** * Returns true if the checkbox is active and clickable. * * @return {@code true} indicates enabled, {@code false} disabled */ public boolean Enabled() { if (resourceId != -1) { return container.$context().findViewById(resourceId).isEnabled(); } else { return view.isEnabled(); } }
@Override public CheckBoxBean dehydrate(final CheckBox checkBox) { CheckBoxBean bean = new CheckBoxBean( checkBox.getText().toString(), checkBox.isEnabled(), checkBox.getVisibility()); return bean; }