[Buix-commits] r902 - in lutinjaxx/trunk: jaxx-core jaxx-core/src/site/fr/rst jaxx-core/src/site/fr/rst/examples maven-jaxx-plugin maven-jaxx-plugin/src/site maven-jaxx-plugin/src/site/resources src/site src/site/resources
Author: tchemit Date: 2008-10-11 15:38:04 +0000 (Sat, 11 Oct 2008) New Revision: 902 Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyle-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/exemples.rst lutinjaxx/trunk/maven-jaxx-plugin/src/site/resources/ lutinjaxx/trunk/maven-jaxx-plugin/src/site/resources/jaxx.png lutinjaxx/trunk/src/site/resources/ lutinjaxx/trunk/src/site/resources/jaxx.png Modified: lutinjaxx/trunk/jaxx-core/changelog lutinjaxx/trunk/maven-jaxx-plugin/changelog Log: improve site (begin only...) Modified: lutinjaxx/trunk/jaxx-core/changelog =================================================================== --- lutinjaxx/trunk/jaxx-core/changelog 2008-10-11 14:12:42 UTC (rev 901) +++ lutinjaxx/trunk/jaxx-core/changelog 2008-10-11 15:38:04 UTC (rev 902) @@ -1,4 +1,5 @@ ver-0-5 chemit 20081002 + * 20081011 [chemit] improve site * 20081011 [chemit] fix bug on JavaFileParser : works again * 20081002 [chemit] Using lutinproject 3.0, changing groupId to org.codelutin * 20081002 [chemit] use a single module jaxx-core (no more core, runtime and jaxx-swing modules) Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator-screenshot.gif =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator-screenshot.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components-screenshot.gif =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components-screenshot.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst (rev 0) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst 2008-10-11 15:38:04 UTC (rev 902) @@ -0,0 +1,39 @@ +=================== +Examples/Components +=================== + +The Components demo displays many different Swing components being used in a variety of ways; it is JAXX's equivalent +of the SwingSet demo. Various pages use advanced features such as data binding, scripting, event handling, and +CSS stylesheets. + +Screen shot +----------- + +.. image:: Components-screenshot.gif + +Set it in action +---------------- + +To run this example in Java Web Start, click the following link: webstart.gif + +To compile and run it yourself, first follow the instructions for installing JAXX. Then download and save the source +code using the link below. Once you have done that, compile and run it as follows: + +:: + + c:\jaxx\examples\Components> jaxxc Components.jaxx + c:\jaxx\examples\Components> java -classpath .;c:\jaxx\lib\jaxx-runtime.jar Components + +The first command above assumes that you are in the directory containing the Components.jaxx file. Compiling it as +shown will produce a class file named Components.class in the current directory, and because you were in the same +directory as the JAXX file the resulting class will not be placed in a package (its fully-qualified name is +just Components). + +At this point Components is a perfectly ordinary Java class, and the only special requirement to run it is that +jaxx-runtime.jar be in the classpath. + +Source code +----------- + +Unlike the other examples, the source code for Components is too big to display here. You can view it yourself by +downloading JAXX, and you can also view the source code for the individual demos by clicking the "Source" tabs. \ No newline at end of file Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter-screenshot.gif =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter-screenshot.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyle-screenshot.gif =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyle-screenshot.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst (rev 0) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst 2008-10-11 15:38:04 UTC (rev 902) @@ -0,0 +1,37 @@ +==================== +Examples/LabelStyles +==================== + +This example program creates a number of components which are used to control the appearance of a JLabel. +Everything is performed through data binding; there are no script tags or explicit event handlers anywhere. + +Screen shot +----------- + +.. image:: LabelStyle-screenshot.gif + +Set it in action +---------------- + +To run this example in Java Web Start, click the following link: webstart.gif + +To compile and run it yourself, first follow the instructions for installing JAXX. Then download and save the +source code using the link below. Once you have done that, compile and run it as follows: + +:: + + c:\jaxx\examples> jaxxc LabelStyle.jaxx + c:\jaxx\examples> java -classpath .;c:\jaxx\lib\jaxx-runtime.jar LabelStyle + +The first command above assumes that you are in the directory containing the LabelStyle.jaxx file. Compiling it as +shown will produce a class file named LabelStyle.class in the current directory, and because you were in the same +directory as the JAXX file the resulting class will not be placed in a package (its fully-qualified name is just LabelStyle). + +At this point LabelStyle is a perfectly ordinary Java class, and the only special requirement to run it is +that jaxx-runtime.jar be in the classpath. + + +Source code +----------- + + Added: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/exemples.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/exemples.rst (rev 0) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/exemples.rst 2008-10-11 15:38:04 UTC (rev 902) @@ -0,0 +1,24 @@ +======== +Exemples +======== + +Here are some simple example programs to give you an idea of what JAXX is all about: + + * JAXXEdit - A complete application written using JAXX for the GUI. + + * Components_ + Comprehensive demo which displays most of the Swing components. Demonstrates every major feature of JAXX, including data binding, scripting, and CSS stylesheets. + + * LabelStyles_ - Uses data binding to edit the appearance of a JLabel. Shows off the power and usefulness of data binding well. + + * Calculator_ - Four-function calculator. Based on the XUL Grand Coding Challenge. + + * Counter_ - simple data binding and scripting example. Based on the XUL Grand Coding Challenge. + +.. _Components: examples/Components.jaxx.html + +.. _LabelStyles: examples/LabelStyles.jaxx.html + +.. _Calculator: examples/Calculator.jaxx.html + +.. _Counter: examples/Counter.jaxx.html \ No newline at end of file Modified: lutinjaxx/trunk/maven-jaxx-plugin/changelog =================================================================== --- lutinjaxx/trunk/maven-jaxx-plugin/changelog 2008-10-11 14:12:42 UTC (rev 901) +++ lutinjaxx/trunk/maven-jaxx-plugin/changelog 2008-10-11 15:38:04 UTC (rev 902) @@ -1,4 +1,5 @@ ver-0-5 chemit 20081002 + * 20081011 [chemit] improve site * 20081011 [chemit] refactor tests of the plugin using maven-plugin-testing-harness plugin * 20081002 [chemit] Using lutinpluginproject 3.0, changing groupId to org.codelutin * 20081002 [chemit] Make nearly all tests works again... Added: lutinjaxx/trunk/maven-jaxx-plugin/src/site/resources/jaxx.png =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/maven-jaxx-plugin/src/site/resources/jaxx.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: lutinjaxx/trunk/src/site/resources/jaxx.png =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/src/site/resources/jaxx.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream
participants (1)
-
tchemit@users.labs.libre-entreprise.org