You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/11/22 16:33:01 UTC
svn commit: r883090 - /incubator/pivot/trunk/demos/www/
Author: tvolkert
Date: Sun Nov 22 15:33:00 2009
New Revision: 883090
URL: http://svn.apache.org/viewvc?rev=883090&view=rev
Log:
Added new demos XML pages that will serve as the basis for derived HTML and JNLP files
Added:
incubator/pivot/trunk/demos/www/animated-clock.xml (with props)
incubator/pivot/trunk/demos/www/decorators.xml (with props)
incubator/pivot/trunk/demos/www/dom-interaction.xml (with props)
incubator/pivot/trunk/demos/www/file-drag-drop.xml (with props)
incubator/pivot/trunk/demos/www/fixed-column-table.xml (with props)
incubator/pivot/trunk/demos/www/itunes-search.xml (with props)
incubator/pivot/trunk/demos/www/json-viewer.xml (with props)
incubator/pivot/trunk/demos/www/kitchen-sink.xml (with props)
incubator/pivot/trunk/demos/www/large-data.xml (with props)
incubator/pivot/trunk/demos/www/multiselect.xml (with props)
incubator/pivot/trunk/demos/www/rss-feed.xml (with props)
incubator/pivot/trunk/demos/www/scripting.xml (with props)
incubator/pivot/trunk/demos/www/stock-tracker.xml (with props)
incubator/pivot/trunk/demos/www/table-row-editor.xml (with props)
incubator/pivot/trunk/demos/www/xml-viewer.xml (with props)
Added: incubator/pivot/trunk/demos/www/animated-clock.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/animated-clock.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/animated-clock.xml (added)
+++ incubator/pivot/trunk/demos/www/animated-clock.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,43 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Animated Clock Demo</title>
+ </properties>
+ <body>
+ <p>
+ Demonstrates the use of the MovieView component, which is used to present an animated
+ clock. The clock is drawn using Pivot's drawing API.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>320</width>
+ <height>320</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.clock.ClockDemo</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/animated-clock.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/animated-clock.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/decorators.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/decorators.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/decorators.xml (added)
+++ incubator/pivot/trunk/demos/www/decorators.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,45 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Decorators Demo</title>
+ </properties>
+ <body>
+ <p>
+ Demonstrates the use of "decorators" in Pivot. Decorators allow a developer to attach
+ additional presentation to components, such as drop shadows, reflections, image
+ effects, etc. This example shows a window with a reflection decorator and a frame with
+ a fade decorator.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>640</width>
+ <height>640</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.decorator.DecoratorDemo</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/decorators.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/decorators.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/dom-interaction.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/dom-interaction.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/dom-interaction.xml (added)
+++ incubator/pivot/trunk/demos/www/dom-interaction.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,69 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot DOM Interaction Demo</title>
+ </properties>
+ <head>
+ <script type="text/javascript">
+ // This function will be called by Pivot
+ function sayHello(helloText) {
+ alert(helloText);
+ }
+
+ // This function will call into Pivot
+ function onHelloButtonClick() {
+ var domTestApplet = document.getElementById("domTestApplet");
+ domTestApplet.getApplication().sayHello("Hello from JavaScript!");
+ }
+ </script>
+ </head>
+ <body>
+ <p>
+ Demonstrates Pivot's support for bi-directional communication between a Pivot
+ application and the browser DOM.
+ </p>
+ <table>
+ <tr>
+ <td style="text-align:center; border:solid 1px #999999">
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>380</width>
+ <height>240</height>
+ <id>domTestApplet</id>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.dom.DOMInteractionDemo</class-name>
+ </parameters>
+ </demo>
+ </td>
+ </tr>
+ <tr>
+ <td style="text-align:center; border:solid 1px #999999">
+ <button onclick="onHelloButtonClick()">Say Hello</button>
+ </td>
+ </tr>
+ </table>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/dom-interaction.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/dom-interaction.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/file-drag-drop.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/file-drag-drop.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/file-drag-drop.xml (added)
+++ incubator/pivot/trunk/demos/www/file-drag-drop.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,48 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot File Drag & Drop Demo</title>
+ </properties>
+ <body>
+ <p>
+ This application demonstrates Pivot's support for drag and drop. Users can drag files
+ from the desktop or local file system into the applet for upload to a web or other
+ server.
+ </p>
+ <demo signed="true">
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>280</width>
+ <height>260</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.dnd.FileDropTargetDemo</class-name>
+ </parameters>
+ </demo>
+ <p>
+ Note that the application doesn't actually perform the upload - it merely serves as a
+ demonstration of Pivot's ability to interact with the native OS.
+ </p>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/file-drag-drop.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/file-drag-drop.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/fixed-column-table.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/fixed-column-table.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/fixed-column-table.xml (added)
+++ incubator/pivot/trunk/demos/www/fixed-column-table.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,43 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Fixed-Column Table Demo</title>
+ </properties>
+ <body>
+ <p>
+ Demonstrates how to create a table with fixed columns in Pivot. Fixed columns are
+ handy when displaying tables with many columns.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>300</width>
+ <height>170</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.tables.FixedColumnTable</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/fixed-column-table.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/fixed-column-table.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/itunes-search.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/itunes-search.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/itunes-search.xml (added)
+++ incubator/pivot/trunk/demos/www/itunes-search.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,44 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot iTunes Search Demo</title>
+ </properties>
+ <body>
+ <p>
+ Simple application that allows a user to run search queries against the iTunes Music
+ Store and presents the results in a table view.
+ </p>
+ <demo signed="true">
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>web</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>640</width>
+ <height>480</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.itunes.SearchDemo</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/itunes-search.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/itunes-search.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/json-viewer.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/json-viewer.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/json-viewer.xml (added)
+++ incubator/pivot/trunk/demos/www/json-viewer.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,42 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot JSON Viewer</title>
+ </properties>
+ <body>
+ <p>
+ Allows users to visually browse a JSON structure using a TreeView component.
+ </p>
+ <demo signed="true">
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>tools</library>
+ </libraries>
+ <attributes>
+ <width>360</width>
+ <height>480</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.tools.json.JSONViewer</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/json-viewer.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/json-viewer.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/kitchen-sink.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/kitchen-sink.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/kitchen-sink.xml (added)
+++ incubator/pivot/trunk/demos/www/kitchen-sink.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,42 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot "Kitchen Sink" Demo</title>
+ </properties>
+ <body>
+ <p>
+ This application demonstrates a number of commonly used Pivot components:
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>tutorials</library>
+ </libraries>
+ <attributes>
+ <width>800</width>
+ <height>600</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.tutorials.KitchenSink</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/kitchen-sink.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/kitchen-sink.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/large-data.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/large-data.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/large-data.xml (added)
+++ incubator/pivot/trunk/demos/www/large-data.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,54 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Large Data Sets Demo</title>
+ </properties>
+ <body>
+ <p>
+ This application demonstrates Pivot's ability to handle large data sets. The
+ application reads CSV files containing from 10 to 1,000,000 rows and reports the
+ amount of time it takes to load each file. It loads the rows on a background thread
+ using a streaming API such that rows can be presented to the user as they are read.
+ </p>
+ <p>
+ In this example, the CSV files are static. However, they could be dynamically generated
+ from a database query or other back-end data source.
+ </p>
+ <p>
+ Note that the 10e3.csv, 10e4.csv, and 10e5.csv files are not included in this
+ distribution due to their large size.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>600</width>
+ <height>480</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.million.LargeData</class-name>
+ <startup-properties>basePath=pivot-demos/assets</startup-properties>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/large-data.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/large-data.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/multiselect.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/multiselect.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/multiselect.xml (added)
+++ incubator/pivot/trunk/demos/www/multiselect.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,47 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Multiple Selection Demo</title>
+ </properties>
+ <body>
+ <p>
+ This application demonstrates Pivot's use of ranges to maintain selection state in a
+ ListView component. This is more efficient than maintaining a list of individual
+ selected indexes.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>480</width>
+ <height>360</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.lists.MultiSelect</class-name>
+ </parameters>
+ </demo>
+ <p>
+ TableView also maintains selection in this manner.
+ </p>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/multiselect.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/multiselect.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/rss-feed.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/rss-feed.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/rss-feed.xml (added)
+++ incubator/pivot/trunk/demos/www/rss-feed.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,44 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot RSS Feed Demo</title>
+ </properties>
+ <body>
+ <p>
+ This application demonstrates how to build a simple RSS client in Pivot. It uses a
+ custom list view item renderer to present the news data. Double-clicking an item in
+ the list will open the article in a new window.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>480</width>
+ <height>360</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.rss.RSSFeedDemo</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/rss-feed.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/rss-feed.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/scripting.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/scripting.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/scripting.xml (added)
+++ incubator/pivot/trunk/demos/www/scripting.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,44 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Scripting Demo</title>
+ </properties>
+ <body>
+ <p>
+ This application demonstrates Pivot's scripting capabilities. It uses JavaScript to
+ implement event handlers and populate a list view component with data. It also
+ demonstrates data sharing between script and Java code:
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>tutorials</library>
+ </libraries>
+ <attributes>
+ <width>480</width>
+ <height>360</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.tutorials.scripting.Scripting</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/scripting.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/scripting.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/stock-tracker.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/stock-tracker.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/stock-tracker.xml (added)
+++ incubator/pivot/trunk/demos/www/stock-tracker.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,51 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Stock Tracker Demo</title>
+ </properties>
+ <body>
+ <p>
+ This sample application retrieves live (delayed by 15 minutes) stock quote data from
+ Yahoo! Finance as a CSV file and presents it in a table view component (the applet is
+ signed to allow it to communicate with the Yahoo web service):
+ </p>
+ <demo signed="true">
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>web</library>
+ <library>tutorials</library>
+ </libraries>
+ <attributes>
+ <width>480</width>
+ <height>360</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.tutorials.stocktracker.StockTracker</class-name>
+ <startup-properties>language=en</startup-properties>
+ </parameters>
+ </demo>
+ <p>
+ Users can add or remove stock symbols using the text input and buttons at the bottom
+ of the applet. Selecting a row in the table shows additional information about the
+ stock in the form on the right. The data is automatically updated every 15 seconds.
+ </p>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/stock-tracker.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/stock-tracker.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/table-row-editor.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/table-row-editor.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/table-row-editor.xml (added)
+++ incubator/pivot/trunk/demos/www/table-row-editor.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,48 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot Table Row Editor Demo</title>
+ </properties>
+ <body>
+ <p>
+ This sample application demonstrates the use of a flip transition to bring up a table
+ view row editor.
+ </p>
+ <demo>
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>demos</library>
+ </libraries>
+ <attributes>
+ <width>480</width>
+ <height>360</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.demos.roweditor.RowEditorDemo</class-name>
+ </parameters>
+ </demo>
+ <p>
+ Users can double click on any row to bring up the editor. Pressing the Enter key or
+ clicking outside the bounds of the editor will save the edits, and pressing the Escape
+ key will cancel the edits.
+ </p>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/table-row-editor.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/table-row-editor.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/pivot/trunk/demos/www/xml-viewer.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/xml-viewer.xml?rev=883090&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/xml-viewer.xml (added)
+++ incubator/pivot/trunk/demos/www/xml-viewer.xml Sun Nov 22 15:33:00 2009
@@ -0,0 +1,42 @@
+<?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 group="demos">
+ <properties>
+ <title>Pivot XML Viewer</title>
+ </properties>
+ <body>
+ <p>
+ Allows users to visually browse an XML document using a TreeView component.
+ </p>
+ <demo signed="true">
+ <libraries>
+ <library>core</library>
+ <library>wtk</library>
+ <library>tools</library>
+ </libraries>
+ <attributes>
+ <width>640</width>
+ <height>480</height>
+ </attributes>
+ <parameters>
+ <class-name>org.apache.pivot.tools.xml.XMLViewer</class-name>
+ </parameters>
+ </demo>
+ </body>
+</document>
Propchange: incubator/pivot/trunk/demos/www/xml-viewer.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/pivot/trunk/demos/www/xml-viewer.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml