⾕谷	      	    ‣‣     ⽇日
⼦子            	                            ⾔言     	            	  
⾔言     ⽣生⽂文     ⽂文
// Hello.javapublic class Hello {    public static void main(String[] args) {        System.out.println("Hello, World!"); ...
// Hello.groovypublic class Hello {    public static void main(String[] args) {        System.out.println("Hello, World!")...
// Hello.groovyprintln "Hello, World!"
‣          	            	            	  ‣   	            	            	            	     	     	  
⽤用	  
    	                	  
⽤用‣‣
‣    ⾔言        ⽤用⾔言          ⽂文
builder = new MarkupBuilder()builder.html {  head { title "Sample HTML" }  body {    h1 "MarkupBuilder"    p "            ...
⼒力力<html>  <head>    <title>Sample HTML</title>  </head>  <body>    <h1>MarkupBuilder</h1>    <p>               </p>  </bo...
⽣生⾏行行
⽤用‣‣
⾔言                                       ⽤用‣                  	            	               	     	  ‣    	                ...
 ‣                  	  ‣    	     	  ‣
     	                        ⾏行行	                	                              	  
⼀一   ⾏行行‣   	  ‣   	  ‣
⾃自⼰己
⽣生
KeyFrame  myCirclelayoutX = 100                     layoutX = 500  timeline {    at(2.s) {      change(myCircle, layoutX) ...
⼤大    ⾒見見ff         ⾵風
 ⽇日     	  
                                	                          	  ‣                        	                                 ⻘...
GroovyFX
GroovyFX
Upcoming SlideShare
Loading in …5
×

GroovyFX

3,408 views

Published on

第6回JavaFX勉強会(2011/11/10)で使った資料

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,408
On SlideShare
0
From Embeds
0
Number of Embeds
792
Actions
Shares
0
Downloads
11
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

GroovyFX

  1. 1.      
  2. 2.       ⾕谷      ‣‣ ⽇日
  3. 3. ⼦子   ⾔言    
  4. 4. ⾔言 ⽣生⽂文 ⽂文
  5. 5. // Hello.javapublic class Hello { public static void main(String[] args) { System.out.println("Hello, World!"); }}
  6. 6. // Hello.groovypublic class Hello { public static void main(String[] args) { System.out.println("Hello, World!"); }}
  7. 7. // Hello.groovyprintln "Hello, World!"
  8. 8. ‣      ‣            
  9. 9. ⽤用  
  10. 10.      
  11. 11. ⽤用‣‣
  12. 12. ‣ ⾔言 ⽤用⾔言 ⽂文
  13. 13. builder = new MarkupBuilder()builder.html { head { title "Sample HTML" } body { h1 "MarkupBuilder" p " " }}
  14. 14. ⼒力力<html>  <head>    <title>Sample HTML</title>  </head>  <body>    <h1>MarkupBuilder</h1>    <p> </p>  </body></html>
  15. 15. ⽣生⾏行行
  16. 16. ⽤用‣‣
  17. 17. ⾔言 ⽤用‣        ‣        ‣ ⾃自      
  18. 18.  ‣  ‣    ‣
  19. 19.     ⾏行行      
  20. 20. ⼀一 ⾏行行‣  ‣  ‣
  21. 21. ⾃自⼰己
  22. 22. ⽣生
  23. 23. KeyFrame myCirclelayoutX = 100 layoutX = 500 timeline { at(2.s) { change(myCircle, layoutX) { to 500 } } }
  24. 24. ⼤大 ⾒見見ff ⾵風
  25. 25.  ⽇日  
  26. 26.      ‣   ⻘青⼭山‣        ‣    ‣

×