1 7 8 package org.jdesktop.swing.data; 9 10 import java.util.List ; 11 12 45 public interface DataModel extends MetaDataProvider { 46 47 49 70 75 Object getValue(String fieldName); 76 77 82 void setValue(String fieldName, Object value); 83 84 97 public void addValidator(Validator validator); 98 99 105 public void removeValidator(Validator validator); 106 107 111 Validator[] getValidators(); 112 113 119 void addValueChangeListener(ValueChangeListener valueChangeListener); 120 121 126 void removeValueChangeListener(ValueChangeListener valueChangeListener); 127 128 133 ValueChangeListener[] getValueChangeListeners(); 134 135 136 } 137 | Popular Tags |