|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Binding
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(java.beans.PropertyChangeListener pcl)
|
javax.swing.JComponent |
getComponent()
|
DataModel |
getDataModel()
|
java.lang.String |
getFieldName()
|
java.beans.PropertyChangeListener[] |
getPropertyChangeListeners()
|
java.lang.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(java.beans.PropertyChangeListener pcl)
|
Field Detail |
---|
static final int AUTO_VALIDATE
static final int AUTO_VALIDATE_STRICT
static final int AUTO_VALIDATE_NONE
static final int UNVALIDATED
static final int VALID
static final int INVALID
Method Detail |
---|
javax.swing.JComponent getComponent()
DataModel getDataModel()
java.lang.String getFieldName()
boolean pull()
boolean isModified()
boolean isValid()
int getValidState()
java.lang.String[] getValidationErrors()
boolean push()
void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
java.beans.PropertyChangeListener[] getPropertyChangeListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |