-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeartRatesApp.fxml
34 lines (31 loc) · 1.95 KB
/
HeartRatesApp.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="197.0" prefWidth="365.0" style="-fx-background-color: f9f9f9;" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="HeartRatesAppController">
<children>
<Region prefHeight="68.0" prefWidth="365.0" style="-fx-background-color: #ff6e61;" />
<Label graphicTextGap="500.0" layoutX="105.0" layoutY="20.0" text="heart rates app" textFill="WHITE">
<font>
<Font size="26.0" />
</font>
</Label>
<Label layoutX="5.0" layoutY="91.0" text="user's birthday:" textAlignment="CENTER">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
<font>
<Font size="18.0" />
</font>
</Label>
<Line endX="365.0" layoutY="85.0" stroke="#9a433e" strokeMiterLimit="20.0" strokeWidth="1.5" translateY="-17.0" />
<TextField fx:id="birthdayTextField" layoutX="135.0" layoutY="95.0" prefHeight="27.0" prefWidth="140.0" promptText="mm/dd/yyyy " />
<TextField fx:id="ageTextField" editable="false" layoutX="10.0" layoutY="140.0" prefHeight="33.0" prefWidth="110.0" promptText="age" />
<TextField fx:id="mhrTextField" editable="false" layoutX="125.0" layoutY="140.0" prefHeight="33.0" prefWidth="110.0" promptText="max heart rate" />
<TextField fx:id="thrTextField" editable="false" layoutX="240.0" layoutY="140.0" prefHeight="33.0" prefWidth="110.0" promptText="target heart rate" />
<Button fx:id="calculateButton" layoutX="280.0" layoutY="95.0" mnemonicParsing="false" onAction="#onCalculateButtonClicked" prefHeight="27.0" prefWidth="70.0" text="calculate" />
</children>
</Pane>