update ui view
This commit is contained in:
@@ -39,7 +39,6 @@ public class TestMainFxView {
|
||||
|
||||
List<TableColumn<Address, String>> columns = new ArrayList<>();
|
||||
|
||||
|
||||
tcStreet.setPrefWidth(100.0d);
|
||||
tcStreet.setMinWidth(100.0d);
|
||||
tcCity.setPrefWidth(100.0d);
|
||||
@@ -65,7 +64,7 @@ public class TestMainFxView {
|
||||
|
||||
TestMainFxCommandDialog accomodationDialog = new TestMainFxCommandDialog();
|
||||
|
||||
Optional result = accomodationDialog.showAndWait();
|
||||
Optional<Address> result = accomodationDialog.showAndWait();
|
||||
|
||||
if (result.isPresent()) {
|
||||
System.out.println("result is present.");
|
||||
|
||||
@@ -1 +1,41 @@
|
||||
{ "Account":{"account_number": "A07421233","phone_number": "301-356-3890","mailing_address": { "Address":{"street": "30 Amstadam ave","city": "New York","state": "NY","zip": "12010"}},"email_address": { "EmailAddress":{"email": "newbee952@aol.com"}},"reservations":[{"HotelReservation":{"reservation_number":"R0123087344"}},{"CabinReservation":{"reservation_number":"R2042828431"}},{"CabinReservation":{"reservation_number":"R0535276622"}},{"HouseReservation":{"reservation_number":"R0499811708"}}]}}
|
||||
{
|
||||
"Account": {
|
||||
"account_number": "A07421233",
|
||||
"phone_number": "301-356-3890",
|
||||
"mailing_address": {
|
||||
"Address": {
|
||||
"street": "30 Amstadam ave",
|
||||
"city": "New York",
|
||||
"state": "NY",
|
||||
"zip": "12010"
|
||||
}
|
||||
},
|
||||
"email_address": {
|
||||
"EmailAddress": {
|
||||
"email": "newbee952@aol.com"
|
||||
}
|
||||
},
|
||||
"reservations": [
|
||||
{
|
||||
"HotelReservation": {
|
||||
"reservation_number": "R0123087344"
|
||||
}
|
||||
},
|
||||
{
|
||||
"CabinReservation": {
|
||||
"reservation_number": "R2042828431"
|
||||
}
|
||||
},
|
||||
{
|
||||
"CabinReservation": {
|
||||
"reservation_number": "R0535276622"
|
||||
}
|
||||
},
|
||||
{
|
||||
"HouseReservation": {
|
||||
"reservation_number": "R0499811708"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="364.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/24.0.1">
|
||||
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="364.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/25.0.1">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="294.0" minWidth="-Infinity" prefWidth="168.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="477.0" minWidth="10.0" prefWidth="432.0" />
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<VBox prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/24.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="lodge.TestMainFxView">
|
||||
<VBox prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/25.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="lodge.TestMainFxView">
|
||||
<children>
|
||||
<SplitPane dividerPositions="0.31469933184855237" focusTraversable="true" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS">
|
||||
<items>
|
||||
|
||||
Reference in New Issue
Block a user