meerkat-java/voting-booth-gui/src/main/select_candidate_by_picture/SelectCandidateByPictureCon...

27 lines
737 B
Java
Raw Normal View History

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.
2016-08-27 09:56:53 -04:00
* SelectCandidateNameController handle the behavior of select by picture screen
*/
public class SelectCandidateByPictureController extends TwoWayNode {
@FXML
private void GetToSelectByName(MouseEvent mousePressed){
this.currentStage.close();
this.currentStage.setScene(this.previous);
this.currentStage.show();
}
2016-08-27 09:48:50 -04:00
@FXML
private void GetToBallotSummary(MouseEvent mousePressed){
this.currentStage.close();
this.currentStage.setScene(this.next);
this.currentStage.show();
}
}