- All Known Implementing Classes:
- SAbstractListModel, SCheckBox, SComboBox, SList, SListSelectionModel, SPanel, SPasswordField, SRadioButton, SSlider, STable, STextArea, STextField
- public interface Refreshable
For Swing widgets that can be manually forced to
update themselves with the current state of their
bound model.
- Version:
- $Revision: 1.2 $ $Date: 2002/01/12 09:35:42 $
|
Method Summary |
void |
refresh()
Update the widget with the current state of the bound model. |
refresh
public void refresh()
- Update the widget with the current state of the bound model.
Probably something like this:
Object propertyValue = boundModel.getPropertyValue();
boolean propertyReadOnly = boundModel.getPropertyReadOnly();
updateFromProperty(propertyValue, propertyReadOnly);