You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/06/16 14:46:30 UTC
svn commit: r955220 [3/3] - in
/pivot/trunk/tests/src/org/apache/pivot/tests: ./ text/
Added: pivot/trunk/tests/src/org/apache/pivot/tests/text/document.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/text/document.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/text/document.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/text/document.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Document xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns:wtk="org.apache.pivot.wtk"
+ xmlns="org.apache.pivot.wtk.text">
+ <Paragraph>ABCD</Paragraph>
+ <Paragraph>
+ <ComponentNode>
+ <component>
+ <wtk:Label styles="{backgroundColor:'red'}">
+ <text>Label1</text>
+ </wtk:Label>
+ </component>
+ </ComponentNode>xxxxxx<ComponentNode>
+ <component>
+ <wtk:Label styles="{backgroundColor:'yellow'}">
+ <text>Label2</text>
+ </wtk:Label>
+ </component>
+ </ComponentNode>xxxxxx
+ </Paragraph>
+ <Paragraph>ABCD</Paragraph>
+ <Paragraph>ABCD</Paragraph>
+ <Paragraph>
+ <ComponentNode>
+ <component>
+ <wtk:PushButton buttonData="Push Button"/>
+ </component>
+ </ComponentNode>
+ <ComponentNode>
+ <component>
+ <wtk:Checkbox buttonData="Checkbox1"/>
+ </component>
+ </ComponentNode>
+ </Paragraph>
+ <Paragraph></Paragraph>
+ <Paragraph>1234</Paragraph>
+ <Paragraph font="Arial BOLD 24">abcd</Paragraph>
+ <Paragraph foregroundColor="red">abcd</Paragraph>
+ <Paragraph backgroundColor="red">abcd</Paragraph>
+ <Paragraph>abcd</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph></Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph font="Arial BOLD 24" foregroundColor="green" backgroundColor="black">EFGH</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>IJKL</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph font="Arial ITALIC 24">MNOP</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>QRST</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>UVWX</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>YZ</Paragraph>
+ <Paragraph>ABCD</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>EFGH</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>IJKL</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>MNOP</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>QRST</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>UVWX</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>YZ</Paragraph>
+ <Paragraph>ABCD</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>EFGH</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>IJKL</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>MNOP</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>QRST</Paragraph>
+ <!--
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>UVWX</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>YZ</Paragraph>
+ <Paragraph>ABCD</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>EFGH</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>IJKL</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>MNOP</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>QRST</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>UVWX</Paragraph>
+ <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+ <Paragraph>PivotapplicationsarewrittenusingacombinationofJavaandXMLandcanberuneitherasanappletorasastandaloneoptionallyofflinedesktopapplicationWhilePivotwasdesignedtobefamiliartowebdeveloperswhohaveexperiencebuildingAJAXapplicationsusingHTMLCSSandJavaScriptitprovidesamuchrichersetofstandardwidgetsthanHTMLandallowsdeveloperstocreatesophisticateduserexperiencesmuchmorequicklyandeasily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+ <Paragraph>YZ</Paragraph>
+ -->
+</Document>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/text/text_area_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/text/text_area_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/text/text_area_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/text/text_area_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<SplitPane splitRatio="0.75"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns:test="org.apache.pivot.tests.text"
+ xmlns="org.apache.pivot.wtk">
+ <left>
+ <TablePane styles="{verticalSpacing:8}">
+ <columns>
+ <TablePane.Column width="1*"/>
+ </columns>
+
+ <TablePane.Row height="1*">
+ <Border>
+ <ScrollPane bxml:id="textAreaScrollPane" horizontalScrollBarPolicy="fill_to_capacity"
+ verticalScrollBarPolicy="fill_to_capacity">
+ <TextArea bxml:id="textArea" styles="{margin:10, wrapText:false}">
+ <bxml:include src="document.bxml"/>
+ </TextArea>
+ </ScrollPane>
+ </Border>
+ </TablePane.Row>
+ <TablePane.Row height="-1">
+ <BoxPane>
+ <Label>
+ <text><![CDATA[Selection:]]></text>
+ </Label>
+ <Label bxml:id="selectionStartLabel"/>
+ <Label text=":"/>
+ <Label bxml:id="selectionLengthLabel"/>
+ </BoxPane>
+ </TablePane.Row>
+ </TablePane>
+ </left>
+
+ <right>
+ <TablePane styles="{verticalSpacing:8}">
+ <columns>
+ <TablePane.Column width="1*"/>
+ </columns>
+
+ <TablePane.Row height="1*">
+ <Border>
+ <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
+ <TreeView bxml:id="treeView">
+ <nodeRenderer>
+ <test:NodeAdapterRenderer/>
+ </nodeRenderer>
+ </TreeView>
+ </ScrollPane>
+ </Border>
+ </TablePane.Row>
+ <TablePane.Row height="-1">
+ <Checkbox buttonData="Wrap Text">
+ <buttonStateListeners>
+ <bxml:script>
+ <![CDATA[
+ importClass(org.apache.pivot.wtk.ScrollPane);
+ function stateChanged(button, previousState) {
+ textArea.getStyles().put("wrapText", button.isSelected());
+
+ var horizontalScrollBarPolicy;
+ if (button.isSelected()) {
+ horizontalScrollBarPolicy = ScrollPane.ScrollBarPolicy.FILL;
+ } else {
+ horizontalScrollBarPolicy = ScrollPane.ScrollBarPolicy.FILL_TO_CAPACITY;
+ }
+
+ textAreaScrollPane.setHorizontalScrollBarPolicy(horizontalScrollBarPolicy);
+ }
+ ]]>
+ </bxml:script>
+ </buttonStateListeners>
+ </Checkbox>
+ </TablePane.Row>
+ <TablePane.Row height="-1">
+ <Form styles="{verticalSpacing:2}">
+ <Form.Section>
+ <Label bxml:id="offsetLabel" Form.label="Offset"/>
+ <Label bxml:id="charactersLabel" Form.label="Characters"/>
+ </Form.Section>
+ </Form>
+ </TablePane.Row>
+ </TablePane>
+ </right>
+</SplitPane>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/text/unconstrained_text_area_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/text/unconstrained_text_area_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/text/unconstrained_text_area_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/text/unconstrained_text_area_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Frame title="Unconstrained Text Area Test" styles="{padding:0}"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.wtk">
+ <TextArea text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr..."/>
+</Frame>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/textInputValidator_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/textInputValidator_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/textInputValidator_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/textInputValidator_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<TablePane styles="{padding:6, verticalSpacing:8}"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.wtk">
+ <columns>
+ <TablePane.Column width="-1"/>
+ <TablePane.Column width="-1"/>
+ <TablePane.Column width="-1"/>
+ </columns>
+
+ <TablePane.Row height="-1">
+ <Label text="float range 0.3-2000"/>
+ <TextInput bxml:id="textinputFloatRange"/>
+ <Label bxml:id="invalidLabel"/>
+ </TablePane.Row>
+ <TablePane.Row height="-1">
+ <Label text="int range 0-100"/>
+ <TextInput bxml:id="textinputIntRange"/>
+ </TablePane.Row>
+ <TablePane.Row height="-1">
+ <Label text="date regex"/>
+ <TextInput bxml:id="textinputDateRegex"/>
+ </TablePane.Row>
+ <TablePane.Row height="-1">
+ <Label text="custom boolean"/>
+ <TextInput bxml:id="textinputCustomBoolean"/>
+ </TablePane.Row>
+</TablePane>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/text_input_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/text_input_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/text_input_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/text_input_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Window title="Text Input Test" maximized="true"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.wtk">
+ <BoxPane orientation="vertical" styles="{padding:4}">
+ <TextInput text="ABCD 1234 abcd 5678 EFGH 90" textSize="6"/>
+ <TextInput text="abcd 5678"/>
+ <TextInput prompt="Type something!"/>
+ <TextInput/>
+ </BoxPane>
+</Window>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/text_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/text_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/text_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/text_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Window title="Text Test" maximized="true"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.wtk">
+ <BoxPane orientation="vertical" styles="{fill:true, spacing:8, padding:8}">
+ <Separator heading="INFORMATION"/>
+ <Border title="INFORMATION" styles="{padding:6}">
+ <content>
+ <Label text="This is the information."/>
+ </content>
+ </Border>
+ <Label text="INFORMATION" styles="{font:{bold:true}, color:13}"/>
+ </BoxPane>
+</Window>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/watermark_decorator_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/watermark_decorator_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/watermark_decorator_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/watermark_decorator_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Window bxml:id="window"
+ title="Watermark Decorator Test"
+ maximized="true"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.wtk">
+ <TablePane styles="{verticalSpacing:1, showHorizontalGridLines:true}">
+ <columns>
+ <TablePane.Column width="1*" />
+ </columns>
+
+ <TablePane.Row height="-1">
+ <BoxPane styles="{padding:10}">
+ <PushButton buttonData="Toggle Watermark" toggleButton="true">
+ <buttonStateListeners>
+ <bxml:script>
+ <![CDATA[
+ importPackage(org.apache.pivot.wtk.effects);
+
+ function stateChanged(button, previousState) {
+ if (button.isSelected()) {
+ cardPane.getDecorators().add(new WatermarkDecorator("Only below the line"));
+ } else {
+ cardPane.getDecorators().removeAll();
+ }
+ }
+ ]]>
+ </bxml:script>
+ </buttonStateListeners>
+ </PushButton>
+ </BoxPane>
+ </TablePane.Row>
+ <TablePane.Row height="1*">
+ <CardPane bxml:id="cardPane" selectedIndex="0">
+ <BoxPane />
+ </CardPane>
+ </TablePane.Row>
+ </TablePane>
+</Window>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<HashMap xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.collections">
+ <foo b="789">
+ <HashMap a="123"/>
+ </foo>
+ <bar>
+ <bxml:include src="bxml_dictionary_test_include.bxml"/>
+ </bar>
+ <baz>Quux</baz>
+</HashMap>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test_include.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test_include.bxml?rev=955220&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test_include.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/wtkx_dictionary_test_include.bxml Wed Jun 16 12:46:27 2010
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<HashMap a="456"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.collections"/>