diff --git a/estraba.iml b/estraba.iml index 36f1fcf..4bfb802 100644 --- a/estraba.iml +++ b/estraba.iml @@ -15,7 +15,13 @@ + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 76c21cc..95fd914 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,17 @@ estraba 0.1 + + + jitpack.io + https://jitpack.io + + + Maven Snapshots + https://oss.sonatype.org/content/groups/public + + + com.sun.istack @@ -51,6 +62,11 @@ jfreechart 1.0.13 + + com.github.rterp + GMapsFX + GMapsFX-2.0.5 + jgpx jgpx @@ -62,6 +78,31 @@ commons-lang3 3.4 + + org.jfxtras + jfxtras-common + 8.0-r4 + + + org.jfxtras + jfxtras-controls + 8.0-r4 + + + org.jfxtras + jfxtras-fxml + 8.0-r4 + + + org.jfxtras + jfxtras-roboto + 8.0-r4 + + + com.jfoenix + jfoenix + 0.0.0-SNAPSHOT + diff --git a/src/main/java/es/kauron/estraba/controller/DashboardController.java b/src/main/java/es/kauron/estraba/controller/DashboardController.java new file mode 100644 index 0000000..b96e2ec --- /dev/null +++ b/src/main/java/es/kauron/estraba/controller/DashboardController.java @@ -0,0 +1,55 @@ +package es.kauron.estraba.controller; +import com.jfoenix.controls.JFXListView; +import com.lynden.gmapsfx.GoogleMapView; +import javafx.fxml.FXML; +import javafx.fxml.Initializable; +import javafx.scene.chart.AreaChart; +import javafx.scene.chart.LineChart; +import javafx.scene.control.Tab; + +import java.net.URL; +import java.util.ResourceBundle; + +/** + * es.kauron.estraba (estraba) + * Created by baudlord on 5/17/16. + */ + +public class DashboardController implements Initializable { + + @FXML + private Tab tabDashboard; + + @FXML + private Tab tabMap; + + @FXML + private GoogleMapView mapView; + + @FXML + private JFXListView mapSummary; + + @FXML + private Tab tabGraph; + + @FXML + private AreaChart elevationChart; + + @FXML + private LineChart speedChart; + + @FXML + private LineChart hrChart; + + @FXML + private LineChart cadenceChart; + + @FXML + private Tab tabSettings; + + @Override + public void initialize(URL location, ResourceBundle resources) { + + } +} + diff --git a/src/main/resources/fxml/Dashboard.fxml b/src/main/resources/fxml/Dashboard.fxml new file mode 100644 index 0000000..8e5a0a1 --- /dev/null +++ b/src/main/resources/fxml/Dashboard.fxml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/general.properties b/src/main/resources/general.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/general_ca.properties b/src/main/resources/general_ca.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/general_es.properties b/src/main/resources/general_es.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/img/cadence.png b/src/main/resources/img/cadence.png new file mode 100644 index 0000000..6476f18 Binary files /dev/null and b/src/main/resources/img/cadence.png differ diff --git a/src/main/resources/img/climb.png b/src/main/resources/img/climb.png new file mode 100644 index 0000000..d024beb Binary files /dev/null and b/src/main/resources/img/climb.png differ diff --git a/src/main/resources/img/date.png b/src/main/resources/img/date.png new file mode 100644 index 0000000..13690b3 Binary files /dev/null and b/src/main/resources/img/date.png differ diff --git a/src/main/resources/img/distance.png b/src/main/resources/img/distance.png new file mode 100644 index 0000000..2226d06 Binary files /dev/null and b/src/main/resources/img/distance.png differ diff --git a/src/main/resources/img/downclimb.png b/src/main/resources/img/downclimb.png new file mode 100644 index 0000000..09d4efe Binary files /dev/null and b/src/main/resources/img/downclimb.png differ diff --git a/src/main/resources/img/elevation.png b/src/main/resources/img/elevation.png new file mode 100644 index 0000000..36a02e9 Binary files /dev/null and b/src/main/resources/img/elevation.png differ diff --git a/src/main/resources/img/hr.png b/src/main/resources/img/hr.png new file mode 100644 index 0000000..cbab962 Binary files /dev/null and b/src/main/resources/img/hr.png differ diff --git a/src/main/resources/img/icon.png b/src/main/resources/img/icon.png new file mode 100644 index 0000000..21e3eac Binary files /dev/null and b/src/main/resources/img/icon.png differ diff --git a/src/main/resources/img/speed.png b/src/main/resources/img/speed.png new file mode 100644 index 0000000..c4d8b9a Binary files /dev/null and b/src/main/resources/img/speed.png differ diff --git a/src/main/resources/img/speedmax.png b/src/main/resources/img/speedmax.png new file mode 100644 index 0000000..e29502e Binary files /dev/null and b/src/main/resources/img/speedmax.png differ diff --git a/src/main/resources/img/timeexercise.png b/src/main/resources/img/timeexercise.png new file mode 100644 index 0000000..5db58bc Binary files /dev/null and b/src/main/resources/img/timeexercise.png differ diff --git a/src/main/resources/img/timespan.png b/src/main/resources/img/timespan.png new file mode 100644 index 0000000..5fef11f Binary files /dev/null and b/src/main/resources/img/timespan.png differ