Class SettingsController


  • public class SettingsController
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      javafx.scene.control.Button cancelButton
      Button to cancel the settings changes.
      javafx.scene.control.Button saveButton
      Button to save the altered settings.
      javafx.scene.layout.VBox settingsList
      List of setting boxes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      Cancel action.
      javafx.beans.binding.BooleanBinding getSomethingChanged()
      Binding for when a setting has changed.
      void initialize()
      Setup of the settings window.
      void save()
      Save action overrides the settings.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • settingsList

        public javafx.scene.layout.VBox settingsList
        List of setting boxes.
      • cancelButton

        public javafx.scene.control.Button cancelButton
        Button to cancel the settings changes.
      • saveButton

        public javafx.scene.control.Button saveButton
        Button to save the altered settings.
    • Constructor Detail

      • SettingsController

        public SettingsController()
    • Method Detail

      • initialize

        public void initialize()
        Setup of the settings window. Binds the field converters.
      • cancel

        public void cancel()
        Cancel action. Closes the settings window.
      • save

        public void save()
        Save action overrides the settings. Thus invalidating the "something-changed" bindings.
      • getSomethingChanged

        public javafx.beans.binding.BooleanBinding getSomethingChanged()
        Binding for when a setting has changed.