This repository has been archived by the owner on Jun 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#42 Tweak the 'demo with all files'.
- Loading branch information
Showing
6 changed files
with
190 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 4 additions & 72 deletions
76
src/test/resources/com/github/naoghuman/lib/fxml/core/demowithallfiles.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/test/resources/com/github/naoghuman/lib/fxml/core/demowithoutpropertiesfile.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
Copyright (C) 2018 - 2019 Naoghuman's dream | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
/* | ||
Created on : 19.12.2018, 10:33:35 | ||
Author : Naoghuman | ||
*/ | ||
|
87 changes: 87 additions & 0 deletions
87
src/test/resources/com/github/naoghuman/lib/fxml/core/demowithoutpropertiesfile.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.ColumnConstraints?> | ||
<?import javafx.scene.layout.GridPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.RowConstraints?> | ||
<?import javafx.scene.layout.VBox?> | ||
<?import javafx.scene.text.Font?> | ||
|
||
<AnchorPane id="AnchorPane" prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: LIGHTGREEN;" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1"> | ||
<children> | ||
<VBox layoutX="14.0" layoutY="14.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0"> | ||
<children> | ||
<Label text="ResourceBundle"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Label> | ||
<HBox> | ||
<children> | ||
<GridPane maxWidth="1.7976931348623157E308" prefHeight="50.0" HBox.hgrow="ALWAYS"> | ||
<columnConstraints> | ||
<ColumnConstraints hgrow="NEVER" maxWidth="128.0" minWidth="128.0" prefWidth="128.0" /> | ||
<ColumnConstraints hgrow="NEVER" maxWidth="7.0" minWidth="7.0" prefWidth="7.0" /> | ||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="445.0" /> | ||
</columnConstraints> | ||
<rowConstraints> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="NEVER" /> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="NEVER" /> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="NEVER" /> | ||
</rowConstraints> | ||
<children> | ||
<Label text=" - URL Location" /> | ||
<Label text=" - ResourceBundle" GridPane.rowIndex="1" /> | ||
<Label text=" - key.hello.libfxml" GridPane.rowIndex="2" /> | ||
<Label text=":" GridPane.columnIndex="1" /> | ||
<Label text=":" GridPane.columnIndex="1" GridPane.rowIndex="1" /> | ||
<Label text=":" GridPane.columnIndex="1" GridPane.rowIndex="2" /> | ||
<Label fx:id="lLocation" text="<text>" GridPane.columnIndex="2" /> | ||
<Label fx:id="lResourceBundle" text="<text>" GridPane.columnIndex="2" GridPane.rowIndex="1" /> | ||
<Label fx:id="lHelloLibFXML" text="<text>" GridPane.columnIndex="2" GridPane.rowIndex="2" /> | ||
</children> | ||
</GridPane> | ||
</children> | ||
</HBox> | ||
<Label text="FXMLModel"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
<padding> | ||
<Insets top="14.0" /> | ||
</padding> | ||
</Label> | ||
<HBox> | ||
<children> | ||
<GridPane maxWidth="1.7976931348623157E308" prefHeight="50.0" HBox.hgrow="ALWAYS"> | ||
<columnConstraints> | ||
<ColumnConstraints hgrow="NEVER" maxWidth="128.0" minWidth="128.0" prefWidth="128.0" /> | ||
<ColumnConstraints hgrow="NEVER" maxWidth="7.0" minWidth="7.0" prefWidth="7.0" /> | ||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="445.0" /> | ||
</columnConstraints> | ||
<rowConstraints> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="NEVER" /> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="NEVER" /> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="NEVER" /> | ||
</rowConstraints> | ||
<children> | ||
<Label text=" - my.int" /> | ||
<Label text=" - my.double" GridPane.rowIndex="1" /> | ||
<Label text=" - my.string" GridPane.rowIndex="2" /> | ||
<Label text=":" GridPane.columnIndex="1" /> | ||
<Label text=":" GridPane.columnIndex="1" GridPane.rowIndex="1" /> | ||
<Label text=":" GridPane.columnIndex="1" GridPane.rowIndex="2" /> | ||
<Label fx:id="lMyInt" text="<text>" GridPane.columnIndex="2" /> | ||
<Label fx:id="lMyDouble" text="<text>" GridPane.columnIndex="2" GridPane.rowIndex="1" /> | ||
<Label fx:id="lMyString" text="<text>" GridPane.columnIndex="2" GridPane.rowIndex="2" /> | ||
</children> | ||
</GridPane> | ||
</children> | ||
</HBox> | ||
</children> | ||
</VBox> | ||
</children> | ||
</AnchorPane> |