Building widgets for GWT Mosaic 2g

22 views
Skip to first unread message

georgopoul...@gmail.com

unread,
Oct 9, 2010, 10:35:49 AM10/9/10
to gwt-mosaic
Hi,

this is an example that shows how easy is to create widgets for GWT
Mosaic 2g.

The widget is a progress bar widget (control for GWT Mosaic 2g). The
progress bar control is a combination of two Box controls (the Box,
Text and Image controls are primitive controls).

The demo:

http://mosaic.arkasoft.com/progress-bar/

The ProgressBar control code:

http://code.google.com/p/gwt-mosaic/source/browse/trunk/src/org/gwt/mosaic2g/client/scene/control/ProgressBar.java

and the code for the demo (it uses a scaling model too, so that to
test scaling):

http://pastebin.com/H7uJEJ8u

The css for the progress bar:

http://code.google.com/p/gwt-mosaic/source/browse/trunk/src/org/gwt/mosaic2g/client/

Please send feedback. In case you want to try it the code is in SVN
trunk.

Kind Regards,
George.



Reply all
Reply to author
Forward
0 new messages