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