Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.view.swing
Interface Refreshable  view Refreshable download Refreshable.java

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.
 

Method Detail

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);