更新 README.md
This commit is contained in:
19
README.md
19
README.md
@@ -379,4 +379,21 @@ public class Student {
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Spring支持(未测试)
|
||||||
|
只需要在在调用Star方法的时候传入重写的getBean方法,这样就可以将bean的产生交给Spring容器管理。
|
||||||
|
|
||||||
|
## EL表达式绑定 (待开发)
|
||||||
|
在JavaFX控件的字段上面添加@FXbind可以绑定属性,简化代码操作
|
||||||
|
例子:
|
||||||
|
|
||||||
|
```java
|
||||||
|
|
||||||
|
@Inject
|
||||||
|
Student student;
|
||||||
|
@FXBind("test=${student.name")
|
||||||
|
Label label;
|
||||||
|
```
|
||||||
|
|
||||||
|
上面代码可以直接将属性和实体字段绑定
|
||||||
Reference in New Issue
Block a user