private void setUIFromSettings() {
   skipDefaultCheck.setChecked(settings.skipDefaultValues);
   minimalOutputCheck.setChecked(settings.useMinimalOutputType);
   packageSeparateAtlasForEachSceneCheck.setChecked(settings.packageSeparateAtlasForEachScene);
   migFilterSelectBox.setSelectedEnum(settings.migTextureFilter);
   magFilterSelectBox.setSelectedEnum(settings.magTextureFilter);
 }
 private void setToSettings() {
   settings.skipDefaultValues = skipDefaultCheck.isChecked();
   settings.useMinimalOutputType = minimalOutputCheck.isChecked();
   settings.packageSeparateAtlasForEachScene = packageSeparateAtlasForEachSceneCheck.isChecked();
   settings.migTextureFilter = migFilterSelectBox.getSelectedEnum();
   settings.magTextureFilter = magFilterSelectBox.getSelectedEnum();
   settingsIO.save(settings, DefaultExporter.SETTINGS_FILE_NAME);
 }
  private void setListeners() {
    physicsEnabledCheckBox.addListener(new CheckBoxChangeListener(getUpdateEventName()));
    gravityXTextField.addListener(new KeyboardListener(getUpdateEventName()));
    gravityYTextField.addListener(new KeyboardListener(getUpdateEventName()));
    sleepVelocityTextField.addListener(new KeyboardListener(getUpdateEventName()));
    enableLightsCheckBox.addListener(new CheckBoxChangeListener(getUpdateEventName()));
    diffuseCheckBox.addListener(new CheckBoxChangeListener(getUpdateEventName()));

    ambientColorComponent.addListener(
        new ClickListener() {
          public void touchUp(InputEvent event, float x, float y, int pointer, int button) {
            super.touchUp(event, x, y, pointer, button);
            facade.sendNotification(AMBIENT_COLOR_BUTTON_CLICKED);
          }
        });
  }
 public boolean isDiffuse() {
   return diffuseCheckBox.isChecked();
 }
 public boolean isLightsEnabled() {
   return enableLightsCheckBox.isChecked();
 }
 public boolean isPhysicsEnabled() {
   return physicsEnabledCheckBox.isChecked();
 }