public class LabelBinding extends DataBinding<JLabel>
| Constructor and Description |
|---|
LabelBinding(JLabel textField,
DataObject obj,
String property) |
LabelBinding(JLabel textField,
DataObject obj,
String property,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
JLabel |
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 LabelBinding(JLabel textField, DataObject obj, String property, String prefix)
public LabelBinding(JLabel textField, DataObject obj, String property)
public JLabel getComponent()
DataBindinggetComponent in class DataBinding<JLabel>protected void updateView()
DataBindingupdateView in class DataBinding<JLabel>protected void updateModel()
DataBindingupdateModel in class DataBinding<JLabel>Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.