Luxor Network: Luxor - Luxilla - Petra - Installer DeLux - Luxor Contrib - Luxor Forum - The Memphis Sun
The Memphis Sun Logo
The Luxor News Blog
« Luxor XUL SWT Beta 9 Pre Live | Main | Design Challenge: Easy-To-Use XML Format for FormLayout Wanted »
Design Challenge: Easy-To-Use XML Format for GridLayout Wanted
posted by Gerald Bauer on October 24, 2003

I'm currently adding a new tag library to the Luxor XUL toolkit that supports all Standard Widget Toolkit (SWT) layout managers.

Now the challenge is to design an easy-to-use XML format for GridLayout.

Here's my first shot:

  <gridbag colums="3" margin="10,10" />
    <jlabel text="label0" />
    <griddata colspan="2" fill="HORZ"> <jtext text="text1" /> </griddata>

    <griddata colspan="3" halign="MAX"> 
          <jtableitem text="item1" />
          <jtableitem text="item2" />

    <jbutton text="button3" />
    <jbutton text="button4" />    
    <griddata halign="CENTER"> <jbutton text="button5" /> </griddata>   

For comparision check out the plain old Java spaghetti code in the Javalobby discussion thread. Can you do better? Help shape the future of rich UIs using XML and post your own XML format contender today.

Hosted by SourceForge SourceForge Logo For questions related to the use of Luxor, please consult our web pages. If that fails, the luxor-xul-user mailinglist might help.
Please send comments on our web pages and the development of Luxor to our public luxor-xul-develop mailinglist.
Maintained by Luxor Team
Copyright © 2001, 2002, 2003, 2004, 2005 Luxor Foundation