com.frinika.gui
Interface OptionsEditor

All Known Subinterfaces:
OptionsBinder
All Known Implementing Classes:
DefaultOptionsBinder, MidiInsertControllersActionEditor, MidiPart.MidiPartPropertiesPanel, MidiStepRecordActionDialog, Part.PropertiesPanel, TextPart.TextPartPropertiesPanel

public interface OptionsEditor

This interface is intended to be used in combination with JPanels that get set as content of a dialog and contain user-editable GUI elements. If a Dialog's content panel is an OptionsEditor, then refresh() will be called every time the dialog is shown, and update() will be called if the user has pressed OK.

Author:
Jens Gulden

Method Summary
 void refresh()
          Refreshes the GUI so that it reflects the model's current state.
 void update()
          Updates the model so that it contains the values set by the user
 

Method Detail

refresh

void refresh()
Refreshes the GUI so that it reflects the model's current state.


update

void update()
Updates the model so that it contains the values set by the user