예제 #1
0
 /**
  * Specifies whether the checkbox should be active and clickable.
  *
  * @param enabled {@code true} for enabled, {@code false} disabled
  */
 public void Enabled(boolean enabled) {
   if (resourceId != -1) {
     TextViewUtil.setEnabled(
         (android.widget.CheckBox) container.$context().findViewById(resourceId), enabled);
   } else {
     TextViewUtil.setEnabled(view, enabled);
   }
 }
예제 #2
0
 /**
  * Specifies whether the textbox should be active and useable.
  *
  * @param enabled {@code true} for enabled, {@code false} disabled
  */
 public void Enabled(boolean enabled) {
   TextViewUtil.setEnabled(view, enabled);
 }