Esempio n. 1
0
 public void reset() {
   if (settingsForm != null) {
     settingsForm.loadState(JFlexSettings.getInstance());
   }
 }
Esempio n. 2
0
 public boolean isModified() {
   return settingsForm != null && settingsForm.isModified(JFlexSettings.getInstance());
 }
Esempio n. 3
0
 public void apply() throws ConfigurationException {
   if (settingsForm != null) {
     JFlexSettings.getInstance().loadState(settingsForm.getState());
   }
 }
Esempio n. 4
0
 public JComponent createComponent() {
   if (settingsForm == null) {
     settingsForm = new JFlexSettingsForm(JFlexSettings.getInstance());
   }
   return settingsForm.getFormComponent();
 }