Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 7 8 package org.jdesktop.swing.binding; 9 10 import org.jdesktop.swing.data.DataModel; 11 12 import java.beans.PropertyChangeListener ; 13 14 import javax.swing.JComponent ; 15 16 30 31 public interface Binding { 32 33 public static final int AUTO_VALIDATE = 0; 34 public static final int AUTO_VALIDATE_STRICT = 1; 35 public static final int AUTO_VALIDATE_NONE = 2; 36 37 public static final int UNVALIDATED = 0; 38 public static final int VALID = 1; 39 public static final int INVALID = 2; 40 41 JComponent getComponent(); 42 43 DataModel getDataModel(); 44 45 String getFieldName(); 46 47 54 boolean pull(); 55 56 62 boolean isModified(); 63 64 68 boolean isValid(); 69 70 int getValidState(); 71 72 79 String [] getValidationErrors(); 80 81 88 boolean push(); 89 90 void addPropertyChangeListener(PropertyChangeListener pcl); 91 92 void removePropertyChangeListener(PropertyChangeListener pcl); 93 94 PropertyChangeListener [] getPropertyChangeListeners(); 95 96 } 97
| Popular Tags
|