5 changed files with 36 additions and 0 deletions
@ -0,0 +1,18 @@
|
||||
package kellerkinder.HomeFlix.application; |
||||
|
||||
import javafx.fxml.FXML; |
||||
import javafx.scene.control.Label; |
||||
|
||||
public class FilmDetailView { |
||||
|
||||
@FXML private Label lblFilm; |
||||
|
||||
public void initialize() { |
||||
System.out.println("init nested controller"); |
||||
} |
||||
|
||||
public void foo() { |
||||
System.out.println("test"); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<?import javafx.scene.control.Label?> |
||||
<?import javafx.scene.layout.AnchorPane?> |
||||
|
||||
<AnchorPane prefHeight="568.0" prefWidth="980.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="kellerkinder.HomeFlix.application.FilmDetailView"> |
||||
<children> |
||||
<Label fx:id="lblFilm" layoutX="461.0" layoutY="277.0" text="Test Pane" /> |
||||
</children> |
||||
</AnchorPane> |
Loading…
Reference in new issue