package main.select_candidate_by_picture; import javafx.fxml.FXML; import javafx.scene.input.MouseEvent; import main.TwoWayNode; /** * Created by Vladimir Eliezer Tokarev on 8/27/2016. * SelectCandidateNameController handle the behavior of welcome splash class */ public class SelectCandidateByPictureController extends TwoWayNode { @FXML private void GetToSelectByName(MouseEvent mousePressed){ this.currentStage.close(); this.currentStage.setScene(this.previous); this.currentStage.show(); } @FXML private void GetToBallotSummary(MouseEvent mousePressed){ this.currentStage.close(); this.currentStage.setScene(this.next); this.currentStage.show(); } }