meerkat-java/voting-booth-gui/src/main/ballot_summary/BallotSummaryController.java

26 lines
704 B
Java

package main.ballot_summary;
import javafx.fxml.FXML;
import javafx.scene.input.MouseEvent;
import main.TwoWayNode;
/**
* Created by Vladimir Eliezer Tokarev on 8/27/2016.
* BallotSummaryController handle the behavior of ballot summary screen
*/
public class BallotSummaryController extends TwoWayNode {
@FXML
private void GetToSelectByPicture(MouseEvent mousePressed){
this.currentStage.close();
this.currentStage.setScene(this.previous);
this.currentStage.show();
}
@FXML
private void GetToCastOrAudit(MouseEvent mousePressed){
this.currentStage.close();
this.currentStage.setScene(this.next);
this.currentStage.show();
}
}