|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Class which binds a user-interface component to a specific element in a data model. A Binding instance implements the following tasks:
| Field Summary | |
static int |
AUTO_VALIDATE
|
static int |
AUTO_VALIDATE_NONE
|
static int |
AUTO_VALIDATE_STRICT
|
static int |
INVALID
|
static int |
UNVALIDATED
|
static int |
VALID
|
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener pcl)
|
JComponent |
getComponent()
|
DataModel |
getDataModel()
|
String |
getFieldName()
|
PropertyChangeListener[] |
getPropertyChangeListeners()
|
String[] |
getValidationErrors()
Returns validation error messages generated from the most recent element-level validation pass. |
int |
getValidState()
|
boolean |
isModified()
|
boolean |
isValid()
|
boolean |
pull()
Pulls the value of this binding's data model element into its UI component. |
boolean |
push()
Pushes the current value contained in this binding's UI component to this binding's data model element. |
void |
removePropertyChangeListener(PropertyChangeListener pcl)
|
| Field Detail |
public static final int AUTO_VALIDATE
public static final int AUTO_VALIDATE_STRICT
public static final int AUTO_VALIDATE_NONE
public static final int UNVALIDATED
public static final int VALID
public static final int INVALID
| Method Detail |
public JComponent getComponent()
public DataModel getDataModel()
public String getFieldName()
public boolean pull()
public boolean isModified()
public boolean isValid()
public int getValidState()
public String[] getValidationErrors()
public boolean push()
public void addPropertyChangeListener(PropertyChangeListener pcl)
public void removePropertyChangeListener(PropertyChangeListener pcl)
public PropertyChangeListener[] getPropertyChangeListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||