diff --git a/src/main/java/kellerkinder/HomeFlix/application/SettingsView.java b/src/main/java/kellerkinder/HomeFlix/application/SettingsView.java new file mode 100644 index 0000000..d5e35bc --- /dev/null +++ b/src/main/java/kellerkinder/HomeFlix/application/SettingsView.java @@ -0,0 +1,83 @@ +package kellerkinder.HomeFlix.application; + +import com.jfoenix.controls.JFXButton; +import com.jfoenix.controls.JFXColorPicker; +import com.jfoenix.controls.JFXSlider; +import com.jfoenix.controls.JFXToggleButton; + +import javafx.event.ActionEvent; +import javafx.fxml.FXML; +import javafx.scene.control.ChoiceBox; +import javafx.scene.control.Label; +import javafx.scene.control.ScrollPane; +import javafx.scene.control.TableColumn; +import javafx.scene.control.TableView; +import javafx.scene.layout.AnchorPane; +import kellerkinder.HomeFlix.datatypes.SourceDataType; + +public class SettingsView { + + @FXML private ScrollPane settingsScrollPane; + @FXML private AnchorPane settingsAnchorPane; + + @FXML private Label homeflixSettingsLbl; + @FXML private Label mainColorLbl; + @FXML private Label fontsizeLbl; + @FXML private Label languageLbl; + @FXML private Label updateLbl; + @FXML private Label branchLbl; + @FXML private Label versionLbl; + @FXML private Label PlayerLbl; + @FXML private Label sourcesLbl; + + @FXML private JFXColorPicker colorPicker; + @FXML private JFXSlider fontsizeSlider; + + @FXML private ChoiceBox languageChoisBox; + @FXML private ChoiceBox branchChoisBox; + + @FXML private JFXButton updateBtn; + @FXML private JFXButton addStreamSourceBtn; + @FXML private JFXButton addDirectoryBtn; + + @FXML private JFXToggleButton autoUpdateToggleBtn; + @FXML private JFXToggleButton autoplayToggleBtn; + + @FXML private TableView sourcesTable; + @FXML private TableColumn sourceColumn; + @FXML private TableColumn modeColumn; + + public void initialize() { + System.out.println("geht"); + } + + @FXML void addDirectoryBtnAction(ActionEvent event) { + + } + + @FXML + void addStreamSourceBtnAction(ActionEvent event) { + + } + + @FXML + void autoUpdateToggleBtnAction(ActionEvent event) { + + } + + @FXML + void autoplayToggleBtnAction(ActionEvent event) { + + } + + @FXML + void colorPickerAction(ActionEvent event) { + + } + + @FXML + void updateBtnAction(ActionEvent event) { + + } + +} diff --git a/src/main/resources/fxml/SettingsView.fxml b/src/main/resources/fxml/SettingsView.fxml new file mode 100644 index 0000000..d5d8790 --- /dev/null +++ b/src/main/resources/fxml/SettingsView.fxml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +