Use of ListView - UI Control

A simple example how ListView works in JavaFX 1.2. I guess it need more feature in next release. But it do basic stuff like providing scrollbar if list is long, selected item actions.Something like this :


Here is the simple code, in which I am adding text array into a ListView(10-15 lines of code). Hmm, image is currently not supported in ListView but soon it will be.

  

package listviewexample; import javafx.scene.control.ListView; import javafx.scene.Scene; import javafx.scene.text.Font; import javafx.scene.text.Text; import javafx.stage.Stage; import javafx.stage.StageStyle;  var te:Text[];  for(i in [0..20]) {      var tt = Text {      font : Font {          size: 24      }      x: 10, y: 30      content: "HelloWorld{i}"  } insert tt into te;  }  var simpleList : ListView = ListView {         translateX: 0         translateY: 0         height: 330         width: 240         };  for(i in [0..20])     insert te[i].content into simpleList.items; Stage {     title: "Simple List"     width: 240     height: 325     style: StageStyle.TRANSPARENT     scene: Scene {         content: [             simpleList         ]     } }


For some fancy use of ListView, you can see Rakesh Tweeter application on /samples page. Or Josh "A custom virtual list" on jfxstudio.org. Some UI control make life easy.

Comments:

Just added my own blog this month. I need some inspiration. Thx.

Posted by Niels on November 07, 2009 at 09:42 AM IST #

thanks you very very much.thanks you very very much.

Posted by mp3 indir on November 25, 2009 at 08:36 AM IST #

aa
[urltp://www.kissnfl.com/nfl-jerseys-c-631.html][b]authentic football jerseys[/b][/url]
[url=http://www.kissnfl.com][b]authentic jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]authentic nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]authentic nhl jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]buy nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]cheap football jerseys[/b][/url]
[url=http://www.kissnfl.com][b]cheap jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]cheap nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]cheap nhl jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]chicago blackhawks nhl[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]custom football jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]custom nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]customized nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]discount nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]discount nhl jerseys[/b][/url]
[url=http://www.kissnfl.com][b]hockey jerseys[/b][/url]
[url=http://www.kissnfl.com][b]jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl authentic[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl football jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl jersey[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl memorabilia[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl replica jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl store[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl stores[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]nfl youth[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl apparel[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl hockey[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl hockey apparel[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl hockey jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl jersey[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl new jersey devils[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl player[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl shop[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl store[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl team[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl teams[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]nhl vintage[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]penguins jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]red wings nhl[/b][/url]
[url=http://www.kissnlf.com][b]replica jerseys[/b][/url]
[url=http://www.kissnfl.com/][b]saints jerseys[/b][/url]
[url=http://www.kissnfl.com/][b]sports apparel[/b][/url]
[url=http://www.kissnfl.com/][b]sports jerseys[/b][/url]
[url=http://www.kissnfl.com/][b]steeler jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]stitched nfl jerseys[/b][/url]
[url=http://www.kissnfl.com/][b]team jerseys[/b][/url]
[url=http://www.kissnfl.com/nhl-jerseys-c-659.html][b]vintage nhl jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]wholesale nfl[/b][/url]
[url=http://www.kissnfl.com][b]youth jerseys[/b][/url]
[url=http://www.kissnfl.com/nfl-jerseys-c-631.html][b]youth nfl jerseys[/b][/url]

Posted by kissnfl on January 14, 2010 at 02:03 AM IST #

[url=http://www.vip-boots.com/]timberland logo[/url]
[url=http://www.vip-boots.com/]timberland company[/url]
[url=http://www.vip-boots.com/]Timberland Womens Shoes[/url]
[url=http://www.vip-boots.com/]timberland official site[/url]
[url=http://www.vip-boots.com/]official timberland[/url]
[url=http://www.vip-boots.com/]timberland official website[/url]
[url=http://www.vip-boots.com/]timberland classic[/url]
[url=http://www.vip-boots.com/]timberland outdoor[/url]
[url=http://www.vip-boots.com/]timberland on line[/url]
[url=http://www.vip-boots.com/]timberland history[/url]
[url=http://www.vip-boots.com/]timberland usa[/url]
[url=http://www.vip-boots.com/]timberland euro hiker[/url]
[url=http://www.vip-boots.com/]timberland mukluk[/url]
[url=http://www.vip-boots.com/]timberland online store[/url]
[url=http://www.vip-boots.com/]timberland site[/url]
[url=http://www.vip-boots.com/]pink timberland[/url]
[url=http://www.vip-boots.com/]timberland splitrock[/url]
[url=http://www.vip-boots.com/]timberland nellie[/url]
[url=http://www.vip-boots.com/]timberland shoes[/url]
[url=http://www.vip-boots.com/mens-chukka-boots-c-15.html]timberland chukka[/url]
[url=http://www.vip-boots.com/mens-rolltop-boots-c-12.html]timberland roll top[/url]
[url=http://www.vip-boots.com/]Timberland knee high boots[/url]
[url=http://www.vip-boots.com/]work boot Timberland[/url]
[url=http://www.vip-boots.com/]timberland boots for women[/url]
[url=http://www.vip-boots.com/]timberland boots men[/url]
[url=http://www.vip-boots.com/]timberland boots for men[/url]
[url=http://www.vip-boots.com/]Timberland Hiking Boot[/url]
[url=http://www.vip-boots.com/]timberland womens boots[/url]
[url=http://www.vip-boots.com/]timberland work boots[/url]
[url=http://www.vip-boots.com/]timberland mens boots[/url]
[url=http://www.vip-boots.com/kids-timberland-boots-c-14.html]timberland kids boots[/url]

Posted by vip-boots on January 14, 2010 at 02:04 AM IST #

The state's <a href=http://www.mynikeairmax.com/>Nike Air Max</a> decision in October to shrink the school <a href=http://www.mynikeairmax.com/>Air Max </a> year by 10 percent, giving it the fewest number <a href=http://www.mynikeairmax.com/>Air Max 90</a>of instructional days in the nation at 163<a href=http://www.mynikeairmax.com/>Air Max 95</a>, is adding to the already dismal reputation Hawaii's<a href=http://www.mynikeairmax.com/>nike Air Max 95</a> public schools have among<a href=http://www.mynikeairmax.com/>nike Air Max 90</a> servicemen and womenCol. Mike Davino, the director of<a href=http://www.mynikeairmax.com/>Air max ltd </a> manpower, personnel and administration<a href=http://www.mynikeairmax.com/>Air Max shoes </a> for the U.S. Pacific Command, said the truncated school year is yet another concern for officials who have long heard about servicemen and women avoiding Hawaii assignments because of the state's public education system.

Posted by air max on February 01, 2010 at 04:45 AM IST #

Christian Louboutin http://www.christianlouboutinmarts.com
Christian Louboutin Shoes http://www.christianlouboutinmarts.com
christian louboutin sale http://www.christianlouboutinmarts.com
Christian Louboutin Boots http://www.christianlouboutinmarts.com
Christian Louboutin Pumps http://www.christianlouboutinmarts.com
Christian Louboutin Sandals http://www.christianlouboutinmarts.com

tiffany wholesale http://www.toptiffanylinks.com
tiffany stores http://www.toptiffanylinks.com
replica tiffany http://www.toptiffanylinks.com
cheap jewelry http://www.toptiffanylinks.com
replica tiffany retail http://www.toptiffanylinks.com
pandora jewelry http://www.toptiffanylinks.com
replica pandora jewelry http://www.toptiffanylinks.com

ed hardy http://www.ed-onlineshop.com
ed hardy clothing http://www.ed-onlineshop.com
ed hardy t shirt http://www.ed-onlineshop.com
ed hardy jeans http://www.ed-onlineshop.com
wholesale ed hardy http://www.ed-onlineshop.com
ed hardy shirt http://www.ed-onlineshop.com
ed hardy boots http://www.ed-onlineshop.com

ed hardy swimwear http://www.edhardydream.com
ed hardy clothing http://www.edhardydream.com
ed hardy clothes http://www.edhardydream.com
ed hardy t shirts http://www.edhardydream.com
ed hardy jeans http://www.edhardydream.com
ed hardy sunglasses http://www.edhardydream.com
ed hardy sunglass http://www.edhardydream.com

nike shox http://www.nikesshox.com
ghd http://www.ghddhair.com
mbt http://www.us-mbt.com

Posted by china wholesale on March 07, 2010 at 01:44 AM IST #

I would like to introduce a very good company, electronic products dealer.
I have bought some products from company,the price was very cheap,and the products are very good quality!They accept paypal, credit card transactions,bank transfers,and more.Just have a look at this web page : http://www.nike-airyeezy.com
I am sure you will could save a lot of money!
Best regards!
web: http://www.victoriawear.com
http://www.homybuy.com

Posted by wwwnice on March 09, 2010 at 06:05 AM IST #

Post a Comment:
Comments are closed for this entry.
About

Hi, I am Vaibhav Choudhary working in Sun. This blog is all about simple concept of Java and JavaFX.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today