解决spring的Bug以及实现了EL表达式绑定基本元素属性
This commit is contained in:
16
src/main/resources/springDemo2.fxml
Normal file
16
src/main/resources/springDemo2.fxml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import cn.edu.scau.biubiusuisui.example.springDemo.SpringController?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
|
||||
<fx:root id="haha" prefHeight="629.0" prefWidth="934.0" type="Pane" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cn.edu.scau.biubiusuisui.example.springDemo2.SpringController2">
|
||||
<children>
|
||||
<SpringController layoutX="20.0" layoutY="129.0" fx:id="springController"/>
|
||||
<Button layoutX="135.0" layoutY="552.0" mnemonicParsing="false" text="Button" onAction="#test"/>
|
||||
<Label layoutX="14.0" layoutY="81.0" text="Controller属性" />
|
||||
<Label layoutX="20.0" layoutY="557.0" text="本控制器属性" />
|
||||
<Label layoutX="385.0" layoutY="25.0" text="两个控制器之间信号传递" />
|
||||
</children>
|
||||
</fx:root>
|
||||
Reference in New Issue
Block a user