My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
JFrame(name=frame,title=Binding Frame,size=packed):
content:
- JLabel(name=fnLbl, text="First name:",labelFor=fName)
- JTextField(name=fName)
- JLabel(name=lnLbl, text="Last name:", labelFor=lName)
- JTextField(name=lName)
- JButton(name=ok, text=OK, onAction=(validateInput,save,cancel))
- JButton(name=cancel, text=Cancel, onAction=cancel)
- JTextField(name=fullName, editable=false)
- JTextField(name=nestedBindTest, editable=false)
layout: |
[] [grow,200px]
>fnLbl fName
>lnLbl lName
fullName+*
nestedBindTest+*
>ok+*=1,cancel=1 [grow,bottom]
bind:
- firstName: fName.text
- lastName: lName.text
- fullName.text: "Hi there, ${this.firstName} ${lastName}"
- nestedBindTest.text: "${lnLbl.text} = ${lnLbl.labelFor.text}"
Show details Hide details

Change log

r157 by jacek99 on May 15, 2008   Diff
Some major internal changes: added the
Java virtual constructor flow to YAML to
reduce the verbosity and size of the file.
major hack to make YAML even more compact.

Also, added SceneGraph to the build path
in preparation for FX integration
Go to: 
Project members, sign in to write a code review

Older revisions

r155 by jacek99 on May 13, 2008   Diff
Some minor fixes for the samples...
r150 by jacek99 on May 12, 2008   Diff
Improved bean binding syntax
validation by using lots of
regex...also improved processing of
root nodes to ensure everything works
as expected
r149 by jacek99 on May 12, 2008   Diff
Removed dependency on Log4J, switched
to regular Java logging...saved half
MB in dependencies, good for download
size
All revisions of this file

File info

Size: 883 bytes, 22 lines
Hosted by Google Code