45 lines
965 B
Java
45 lines
965 B
Java
package kellerkinder.HomeFlix.application;
|
|
|
|
import com.jfoenix.controls.JFXButton;
|
|
|
|
import javafx.fxml.FXML;
|
|
import javafx.scene.control.Label;
|
|
import javafx.scene.image.Image;
|
|
import javafx.scene.image.ImageView;
|
|
import javafx.scene.layout.AnchorPane;
|
|
import javafx.scene.text.Text;
|
|
|
|
public class FilmDetailView {
|
|
|
|
@FXML private AnchorPane filmDVPane;
|
|
@FXML private Label lblTitle;
|
|
@FXML private Label lblYear;
|
|
@FXML private Label lblScore;
|
|
|
|
@FXML private JFXButton btnWhishlist;
|
|
@FXML private JFXButton btnFavourite;
|
|
|
|
@FXML private Text textPlot;
|
|
|
|
public void initialize() {
|
|
System.out.println("init nested controller");
|
|
filmDVPane.setStyle("-fx-background-color: rgba(89,89,89,0.9);");
|
|
btnWhishlist.setGraphic(new ImageView(new Image("icons/ic_play_arrow_black_18dp_1x.png")));
|
|
}
|
|
|
|
public void foo() {
|
|
System.out.println("test");
|
|
}
|
|
|
|
@FXML
|
|
private void btnWhishlistAction() {
|
|
|
|
}
|
|
|
|
@FXML
|
|
private void btnFavouriteAction() {
|
|
|
|
}
|
|
|
|
}
|