update:调整项目结构,将example独立抽离module
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
|
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0"
|
||||
prefWidth="400.0" type="Pane" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Text layoutX="165.0" layoutY="192.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%dialog">
|
||||
<font>
|
||||
<Font size="35.0"/>
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</fx:root>
|
||||
@@ -0,0 +1 @@
|
||||
dialog=Dialog
|
||||
@@ -0,0 +1 @@
|
||||
dialog=\u5f39\u7a97
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import cn.edu.scau.biubiusuisui.example.lifeDemo.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
|
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0"
|
||||
prefWidth="600.0" style="-fx-background-color: #905a3d;" type="Pane"
|
||||
xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="cn.edu.scau.biubiusuisui.example.lifeDemo.MainController">
|
||||
<children>
|
||||
<SubController/>
|
||||
<Text layoutY="221.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%parentController" textAlignment="CENTER"
|
||||
wrappingWidth="600.0">
|
||||
<font>
|
||||
<Font size="34.0"/>
|
||||
</font>
|
||||
</Text>
|
||||
<Button layoutX="147.0" layoutY="338.0" mnemonicParsing="false" onAction="#go" prefHeight="29.0"
|
||||
prefWidth="142.0" text="%button.go">
|
||||
<font>
|
||||
<Font size="15.0"/>
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="318.0" layoutY="338.0" mnemonicParsing="false" onAction="#goAndClose"
|
||||
text="%button.goAndClose">
|
||||
<font>
|
||||
<Font size="15.0"/>
|
||||
</font>
|
||||
</Button>
|
||||
</children>
|
||||
</fx:root>
|
||||
@@ -0,0 +1,3 @@
|
||||
button.goAndClose=goto Dialog and close this window
|
||||
button.go=goto Dialog
|
||||
parentController=Parent Component
|
||||
@@ -0,0 +1,3 @@
|
||||
button.goAndClose=\u8df3\u8f6c\u5e76\u5173\u95ed\u6b64\u7a97\u53e3
|
||||
button.go=\u5f39\u7a97
|
||||
parentController=\u7236\u7ec4\u4ef6
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
|
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="90.0"
|
||||
prefWidth="600.0" style="-fx-background-color: #fedcbd;" type="Pane" xmlns="http://javafx.com/javafx/8.0.171"
|
||||
xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Text layoutY="57.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%childrenController" textAlignment="CENTER"
|
||||
wrappingWidth="600.0">
|
||||
<font>
|
||||
<Font size="34.0"/>
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</fx:root>
|
||||
@@ -0,0 +1 @@
|
||||
childrenController=Children Component
|
||||
@@ -0,0 +1 @@
|
||||
childrenController=\u5b50\u7ec4\u4ef6
|
||||
Reference in New Issue
Block a user