public class TextFieldBinding extends DataBinding<JTextField>
| Constructor and Description |
|---|
TextFieldBinding(JTextField textField,
DataObject obj,
String property) |
| Modifier and Type | Method and Description |
|---|---|
JTextField |
getComponent()
Returns the JComponent which is involved in the binding process.
|
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, getValue, propertyChange, setValuepublic TextFieldBinding(JTextField textField, DataObject obj, String property)
public JTextField getComponent()
DataBindinggetComponent in class DataBinding<JTextField>protected void updateView()
DataBindingupdateView in class DataBinding<JTextField>protected void updateModel()
DataBindingupdateModel in class DataBinding<JTextField>Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.