1 16 package javax.faces.component; 17 18 import javax.faces.el.MethodBinding; 19 import javax.faces.event.ValueChangeListener; 20 import javax.faces.validator.Validator; 21 22 26 public interface EditableValueHolder 27 extends ValueHolder 28 { 29 public Object getSubmittedValue(); 30 31 public void setSubmittedValue(Object submittedValue); 32 33 public boolean isLocalValueSet(); 34 35 public void setLocalValueSet(boolean localValueSet); 36 37 public boolean isValid(); 38 39 public void setValid(boolean valid); 40 41 public boolean isRequired(); 42 43 public void setRequired(boolean required); 44 45 public boolean isImmediate(); 46 47 public void setImmediate(boolean immediate); 48 49 public MethodBinding getValidator(); 50 51 public void setValidator(javax.faces.el.MethodBinding validatorBinding); 52 53 public MethodBinding getValueChangeListener(); 54 55 public void setValueChangeListener(MethodBinding valueChangeMethod); 56 57 public void addValidator(Validator validator); 58 59 public Validator[] getValidators(); 60 61 public void removeValidator(Validator validator); 62 63 public void addValueChangeListener(ValueChangeListener listener); 64 65 public ValueChangeListener[] getValueChangeListeners(); 66 67 public void removeValueChangeListener(ValueChangeListener listener); 68 } 69 | Popular Tags |