public class ConstraintTextFieldBinding extends DataBinding<JTextField>
| Constructor and Description |
|---|
ConstraintTextFieldBinding(JTextField textField,
Constraint constraint,
String property) |
| Modifier and Type | Method and Description |
|---|---|
JTextField |
getComponent()
Returns the JComponent which is involved in the binding process.
|
protected String |
getValue()
Read a value from the data object
|
protected void |
setValue(Object value)
Set a value in the dataobject
|
protected void |
updateModel()
This method provides functionality to update the model.
|
protected void |
updateView()
This method provides functionality to update the view in case of model
changes.
|
focusGained, focusLost, getObject, getProperty, propertyChangepublic ConstraintTextFieldBinding(JTextField textField, Constraint constraint, String property)
dataObject - property - public JTextField getComponent()
DataBindinggetComponent in class DataBinding<JTextField>protected void updateModel()
DataBindingupdateModel in class DataBinding<JTextField>protected void updateView()
DataBindingupdateView in class DataBinding<JTextField>protected String getValue()
DataBindinggetValue in class DataBinding<JTextField>protected void setValue(Object value)
DataBindingsetValue in class DataBinding<JTextField>Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.