diff --git a/classes/production/voting-booth-gui/main/ballot_summary_no_picture/ballot_summary_no_picture.fxml b/classes/production/voting-booth-gui/main/ballot_summary_no_picture/ballot_summary_no_picture.fxml new file mode 100644 index 0000000..90425c4 --- /dev/null +++ b/classes/production/voting-booth-gui/main/ballot_summary_no_picture/ballot_summary_no_picture.fxml @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + +
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
+ +
+
+
+ + + + + + +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/cast_or_audit/cast_or_audit.fxml b/classes/production/voting-booth-gui/main/cast_or_audit/cast_or_audit.fxml new file mode 100644 index 0000000..881f8ad --- /dev/null +++ b/classes/production/voting-booth-gui/main/cast_or_audit/cast_or_audit.fxml @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/printing_commitment_barcode/printing_commitment_barcode.fxml b/classes/production/voting-booth-gui/main/printing_commitment_barcode/printing_commitment_barcode.fxml new file mode 100644 index 0000000..1139084 --- /dev/null +++ b/classes/production/voting-booth-gui/main/printing_commitment_barcode/printing_commitment_barcode.fxml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + +
+ + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+ + + + + + +
+ + + + + +
+
+ +
+ + + + + +
+
+
+
+
+ + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/select_candidate_by_picture/select_candidate_by_picture.fxml b/classes/production/voting-booth-gui/main/select_candidate_by_picture/select_candidate_by_picture.fxml new file mode 100644 index 0000000..83cc30b --- /dev/null +++ b/classes/production/voting-booth-gui/main/select_candidate_by_picture/select_candidate_by_picture.fxml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+ + + + +
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + +
+
+ +
+ + + + + +
+
+ +
+ + + + + +
+
+ + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/select_candidate_name/selest_candidate_name.fxml b/classes/production/voting-booth-gui/main/select_candidate_name/selest_candidate_name.fxml new file mode 100644 index 0000000..9e1eec7 --- /dev/null +++ b/classes/production/voting-booth-gui/main/select_candidate_name/selest_candidate_name.fxml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + +
+
+
+
+ + + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/straight_channel_section/straight_channel_section.fxml b/classes/production/voting-booth-gui/main/straight_channel_section/straight_channel_section.fxml new file mode 100644 index 0000000..86e2418 --- /dev/null +++ b/classes/production/voting-booth-gui/main/straight_channel_section/straight_channel_section.fxml @@ -0,0 +1,322 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + +
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
+ + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+
+ + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
+ + + + + + + + + + + + +
+ +
+
+ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + +
+ +
+
+
+
+
+
diff --git a/classes/production/voting-booth-gui/main/thank_for_auditing/thank_for_auditing.fxml b/classes/production/voting-booth-gui/main/thank_for_auditing/thank_for_auditing.fxml new file mode 100644 index 0000000..c0a4df6 --- /dev/null +++ b/classes/production/voting-booth-gui/main/thank_for_auditing/thank_for_auditing.fxml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + +
+ +
+
+
+
+
+
+ + + + + +
+
+
+ + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/vote_have_been_cast/vote_have_been_cast.fxml b/classes/production/voting-booth-gui/main/vote_have_been_cast/vote_have_been_cast.fxml new file mode 100644 index 0000000..37b4ef3 --- /dev/null +++ b/classes/production/voting-booth-gui/main/vote_have_been_cast/vote_have_been_cast.fxml @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + +
+ +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + +
+
+ + + + + + + + + + +
+ +
+
+ + + + + +
+
+ + + + + + + + + + +
+ +
+
+ + + + + +
+
+ + + + + + + + + + +
+ + + + + +
+
+ +
+ + + + + +
+
+
+
+
+
+
+
+
+ + + + + + + + +
diff --git a/classes/production/voting-booth-gui/main/welcome_splash/Main.class b/classes/production/voting-booth-gui/main/welcome_splash/Main.class new file mode 100644 index 0000000..f782c79 Binary files /dev/null and b/classes/production/voting-booth-gui/main/welcome_splash/Main.class differ diff --git a/classes/production/voting-booth-gui/main/welcome_splash/WelcomeSplashLoader.class b/classes/production/voting-booth-gui/main/welcome_splash/WelcomeSplashLoader.class new file mode 100644 index 0000000..ae33b2f Binary files /dev/null and b/classes/production/voting-booth-gui/main/welcome_splash/WelcomeSplashLoader.class differ diff --git a/classes/production/voting-booth-gui/main/welcome_splash/welcome_splash_screen.fxml b/classes/production/voting-booth-gui/main/welcome_splash/welcome_splash_screen.fxml new file mode 100644 index 0000000..8490224 --- /dev/null +++ b/classes/production/voting-booth-gui/main/welcome_splash/welcome_splash_screen.fxml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + +
+ +
+
+ + + + +
+
+
+
+
+
diff --git a/classes/production/voting-booth-gui/main/write_candidate_name/write_candidate_name.fxml b/classes/production/voting-booth-gui/main/write_candidate_name/write_candidate_name.fxml new file mode 100644 index 0000000..94610fc --- /dev/null +++ b/classes/production/voting-booth-gui/main/write_candidate_name/write_candidate_name.fxml @@ -0,0 +1,565 @@ + + + + + + + + + + + + + +
+
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + +
+ + + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+ + + + + + + + + + + + + + +
+ + + +
+ +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + +
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
diff --git a/voting-booth-gui/src/main/ChainBuilder.java b/voting-booth-gui/src/main/ChainBuilder.java new file mode 100644 index 0000000..76677bb --- /dev/null +++ b/voting-booth-gui/src/main/ChainBuilder.java @@ -0,0 +1,17 @@ +package main; + +/** + * Created by Vladimir Eliezer Tokarev on 8/27/2016. + * ChainBuilder builds all the two way nodes that are in current project (voting-booth-gui) + * and connects between all of them so they can keep their flow + */ +public class ChainBuilder { + + /** + * Creates all the twoWayNodes and connects between them + */ + public static void Build() { + + + } +} diff --git a/voting-booth-gui/src/main/TwoWayNode.java b/voting-booth-gui/src/main/TwoWayNode.java new file mode 100644 index 0000000..a247f69 --- /dev/null +++ b/voting-booth-gui/src/main/TwoWayNode.java @@ -0,0 +1,14 @@ +package main; + +import javafx.stage.Stage; + +/** + * Created by Vladimir Eliezer Tokarev on 8/27/2016. + * Two Way node gives the ability to set next and previous objects + */ +public interface TwoWayNode { + + void SetNext(TwoWayNode nextObject); + void SetPrevious(TwoWayNode previousObject); + void SetStage(Stage primaryStage); +} diff --git a/voting-booth-gui/src/main/welcome_splash/Main.java b/voting-booth-gui/src/main/welcome_splash/Main.java new file mode 100644 index 0000000..d9c6213 --- /dev/null +++ b/voting-booth-gui/src/main/welcome_splash/Main.java @@ -0,0 +1,23 @@ +package main.welcome_splash; + +import javafx.application.Application; +import javafx.stage.Stage; + +/** + * Created by Vladimir Eliezer Tokarev on 8/27/2016. + */ +public class Main extends Application { + + @Override + public void start(Stage primaryStage) throws Exception{ + new WelcomeSplashLoader(primaryStage); + primaryStage.setTitle("Meerkat Polling Station"); + primaryStage.show(); + } + + public static void main(String[] args) throws InterruptedException { + launch(args); + } + +} + diff --git a/voting-booth-gui/src/main/welcome_splash/WelcomeSplashController.java b/voting-booth-gui/src/main/welcome_splash/WelcomeSplashController.java new file mode 100644 index 0000000..2a10185 --- /dev/null +++ b/voting-booth-gui/src/main/welcome_splash/WelcomeSplashController.java @@ -0,0 +1,31 @@ +package main.welcome_splash; + +import javafx.scene.Parent; +import javafx.stage.Stage; +import main.TwoWayNode; + +/** + * Created by Vladimir Eliezer Tokarev on 8/27/2016. + * WelcomeSplashController handle the behavior of welcome splash class + */ +public class WelcomeSplashController implements TwoWayNode { + + private Parent Next; + private Parent Previous; + private Stage currentSrage; + + @Override + public void SetNext(TwoWayNode nextObject) { + + } + + @Override + public void SetPrevious(TwoWayNode previousObject) { + + } + + @Override + public void SetStage(Stage primaryStage) { + + } +} diff --git a/voting-booth-gui/src/main/welcome_splash/WelcomeSplashLoader.java b/voting-booth-gui/src/main/welcome_splash/WelcomeSplashLoader.java new file mode 100644 index 0000000..9560175 --- /dev/null +++ b/voting-booth-gui/src/main/welcome_splash/WelcomeSplashLoader.java @@ -0,0 +1,25 @@ +package main.welcome_splash; + +import javafx.concurrent.Task; +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.stage.Stage; + +import java.io.IOException; + +/** + * Created by Vladimir Eliezer Tokarev on 8/27/2016. + */ +public class WelcomeSplashLoader { + private static final String SPLASH_SCREEN_ON_BOOT_FXML_PATH = "welcome_splash_screen.fxml"; + + private Stage currentStage; + + public WelcomeSplashLoader(Stage primaryStage) throws IOException + { + Parent splashScreenOnBootRoot = FXMLLoader.load(getClass().getResource(SPLASH_SCREEN_ON_BOOT_FXML_PATH)); + currentStage = primaryStage; + currentStage.setScene(new Scene(splashScreenOnBootRoot, 565, 365)); + } +} diff --git a/voting-booth-gui/src/main/welcome_splash/welcome_splash_screen.fxml b/voting-booth-gui/src/main/welcome_splash/welcome_splash_screen.fxml index 8490224..33e001c 100644 --- a/voting-booth-gui/src/main/welcome_splash/welcome_splash_screen.fxml +++ b/voting-booth-gui/src/main/welcome_splash/welcome_splash_screen.fxml @@ -5,7 +5,7 @@ - +