[ANN] Luxor XUL Standard Widget Toolkit (SWT) Layout Pack Now Live  
Author Message
gerald





PostPosted: 2003-11-6 9:32:00 Top

java-programmer, [ANN] Luxor XUL Standard Widget Toolkit (SWT) Layout Pack Now Live Hi,

I've uploaded the Luxor *Standard* Widget Toolkit (SWT) Layout
package that shows you how to turn SWT layout managers such as
FillLayout, GridLayout and others into easy-to-use XUL tags that you
can use in addition to the built-in XUL box layout system.

This preview includes XUL tags for

* FillLayout
* RowLayout
* GridLayout
* SashForm

Here are some examples to see what's it all about:

FillLayout In Action
--------------------

The FillLayout is mapped to the <fillbox> tag and you can use it like
any other XUL box. Example:

<fillbox>
<label value="Instructions:" />
<label value="1. Fill in your name" />
<label value="2. Fill in your age" />
<label value="3. Fill in your gender" />
<label value="4. Check the box for employment" />
<label value="5. Click on OK" />
</fillbox>


GridLayout In Action
--------------------

The GridLayout is mapped to the <gridbag> tag and the GridData is
mapped to the <griddata> tag. Example:

<gridbag columns="3">
<button label="B1" />
<button label="Wide Button 2" />
<griddata rowspan="2" fill="MAX">
<button label="Button 3" />
</griddata>
<button label="B4" />
<button label="Button 5" />
</gridbag>


SashForm In Action
------------------

The SashForm is mapped to the <splitbox> tag. Example:

<splitbox id="splitbox3">
<button label="One" />
<button label="Two" />
<splitbox orient="vert">
<button label="One" />
<button label="Two" />
<button label="Three" />
</splitbox>
</splitbox>

and so on and so forth


You can grab a copy a the luxor-contrib site @
http://sourceforge.net/project/showfiles.php?group_id=64067 (look for
the swt-layout) package.

Enjoy.

- Gerald

PS: For more info check out the Luxor Website @
http://luxor-xul.sourceforge.net

If you want to discuss the Luxor SWT package please join the
luxor-xul-user mailinglist @
http://lists.sourceforge.net/lists/listinfo/luxor-xul-user

For more info about SWT (Standard Widget Toolkit) check out the
website @ http://www.eclipse.org/swt