Пример #1
0
 /**
  * @see
  *     com.yuep.core.client.component.validate.editor.DefaultXEditor#setValidator(com.yuep.core.client.component.validate.validator.Validator)
  */
 @Override
 public void setValidator(Validator validator) {
   super.setValidator(validator);
   t1.setValidator(validator);
   t2.setValidator(validator);
   t3.setValidator(validator);
   t4.setValidator(validator);
 }
Пример #2
0
 /** @see com.yuep.core.client.component.validate.editor.DefaultXEditor#setRequire(boolean) */
 @Override
 public void setRequire(boolean isRequire) {
   super.setRequire(isRequire);
   t1.setRequire(isRequire);
   t2.setRequire(isRequire);
   t3.setRequire(isRequire);
   t4.setRequire(isRequire);
 }
Пример #3
0
 /**
  * @see
  *     com.yuep.core.client.component.validate.editor.DefaultXEditor#setPropertyName(java.lang.String)
  */
 @Override
 public void setPropertyName(String propertyName) {
   super.setPropertyName(propertyName);
   t1.setPropertyName(propertyName);
   t2.setPropertyName(propertyName);
   t3.setPropertyName(propertyName);
   t4.setPropertyName(propertyName);
 }
Пример #4
0
  public void setEnabled(boolean enabled) {
    super.setEnabled(enabled);

    t1.setEnabled(enabled);
    t2.setEnabled(enabled);
    t3.setEnabled(enabled);
    t4.setEnabled(enabled);
  }
Пример #5
0
  public void setTextFieldBackground(Color c) {
    super.setBackground(c);

    t1.setBackground(c);
    t2.setBackground(c);
    t3.setBackground(c);
    t4.setBackground(c);
  }
Пример #6
0
  /** 输入框不能编辑 */
  public void setTextFieldEditable(boolean b) {
    super.setEditable(b);

    t1.setEditable(b);
    t2.setEditable(b);
    t3.setEditable(b);
    t4.setEditable(b);
  }