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 15:34:25 UTC

svn commit: r955224 [2/7] - in /pivot/trunk/tutorials/src/org/apache/pivot/tutorials: ./ backgroundtasks/ boundedrange/ buttons/ calendars/ clipboard/ colorchoosers/ databinding/ dragdrop/ drawing/ effects/ explorer/ explorer/basic/ explorer/boundedran...

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/buttons/toggle_buttons.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/buttons/toggle_buttons.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/buttons/toggle_buttons.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/buttons/toggle_buttons.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,36 @@
+<?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="Toggle Buttons" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk">
+    <BoxPane styles="{padding:4, horizontalAlignment:'center',
+        verticalAlignment:'center'}">
+        <PushButton toggleButton="true">
+            <content:ButtonData text="Anchor" icon="org/apache/pivot/tutorials/anchor.png"/>
+        </PushButton>
+        <PushButton toggleButton="true">
+            <content:ButtonData text="Cup" icon="org/apache/pivot/tutorials/cup.png"/>
+        </PushButton>
+        <PushButton toggleButton="true">
+            <content:ButtonData text="Star" icon="org/apache/pivot/tutorials/star.png"/>
+        </PushButton>
+    </BoxPane>
+</Window>
+

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,53 @@
+<?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.
+-->
+
+<BoxPane xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk">
+    <Border styles="{padding:2}">
+        <BoxPane styles="{padding:{top:2, left:4, bottom:8, right:4}, spacing:10}">
+            <BoxPane orientation="vertical">
+                <Label text="English (US)" styles="{font:{bold:true}}"/>
+                <Border>
+                    <Calendar locale="{language:'en', country:'us'}"/>
+                </Border>
+            </BoxPane>
+
+            <BoxPane orientation="vertical">
+                <Label text="Français (FR)" styles="{font:{bold:true}}"/>
+                <Border>
+                    <Calendar locale="{language:'fr', country:'fr'}"/>
+                </Border>
+            </BoxPane>
+
+            <BoxPane orientation="vertical">
+                <Label text="Calendar Buttons" styles="{font:{bold:true}}"/>
+                <Form styles="{showFlagIcons:false, padding:0}">
+                    <Form.Section>
+                        <CalendarButton Form.label="English (US)" locale="{language:'en', country:'us'}"/>
+                        <CalendarButton Form.label="Españole (US)" locale="{language:'es', country:'us'}"/>
+                        <CalendarButton Form.label="Españole (ES)" locale="{language:'es', country:'es'}"/>
+                        <CalendarButton Form.label="Français (FR)" locale="{language:'fr', country:'fr'}"/>
+                        <CalendarButton Form.label="Français (CA)" locale="{language:'fr', country:'ca'}"/>
+                    </Form.Section>
+                </Form>
+            </BoxPane>
+        </BoxPane>
+    </Border>
+</BoxPane>
+

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/Calendars.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/Calendars.java?rev=955224&r1=955223&r2=955224&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/Calendars.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/Calendars.java Wed Jun 16 13:34:18 2010
@@ -40,11 +40,11 @@ public class Calendars implements Applic
     @Override
     public void startup(Display display, Map<String, String> properties)
         throws Exception {
-        BeanSerializer wtkxSerializer = new BeanSerializer();
-        window = (Window)wtkxSerializer.readObject(this, "calendars.wtkx");
-        calendar = (Calendar)wtkxSerializer.get("calendar");
-        calendarButton = (CalendarButton)wtkxSerializer.get("calendarButton");
-        selectedDateLabel = (Label)wtkxSerializer.get("selectedDateLabel");
+        BeanSerializer beanSerializer = new BeanSerializer();
+        window = (Window)beanSerializer.readObject(this, "calendars.bxml");
+        calendar = (Calendar)beanSerializer.get("calendar");
+        calendarButton = (CalendarButton)beanSerializer.get("calendarButton");
+        selectedDateLabel = (Label)beanSerializer.get("selectedDateLabel");
 
         calendar.getCalendarSelectionListeners().add(new CalendarSelectionListener() {
             @Override

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/calendars.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/calendars.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/calendars.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calendars/calendars.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,36 @@
+<?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="Calendars" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <Border styles="{padding:8}">
+        <Form>
+            <Form.Section>
+                <Border Form.label="Calendar" styles="{color:10}">
+                    <Calendar bxml:id="calendar"/>
+                </Border>
+                <CalendarButton bxml:id="calendarButton" Form.label="Calendar button"/>
+            </Form.Section>
+            <Form.Section>
+                <Label bxml:id="selectedDateLabel" Form.label="Selected date"/>
+            </Form.Section>
+        </Form>
+    </Border>
+</Window>
+

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/clipboard/clipboard.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/clipboard/clipboard.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/clipboard/clipboard.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/clipboard/clipboard.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<Window title="Clipboard" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <bxml:script src="clipboard.js"/>
+
+    <windowStateListeners>
+        <bxml:script>
+        <![CDATA[
+        function windowOpened(window) {
+            sourceImageButtonGroup.setSelection(sourceImageButton1);
+            sourceImageButton1.requestFocus();
+        }
+        ]]>
+        </bxml:script>
+    </windowStateListeners>
+
+    <TablePane styles="{horizontalSpacing:4, verticalSpacing:4}">
+        <columns>
+            <TablePane.Column width="1*"/>
+            <TablePane.Column width="1*"/>
+        </columns>
+
+        <TablePane.Row height="1*">
+            <Border styles="{padding:2}">
+                <CardPane bxml:id="sourceImageCardPane" styles="{padding:4}">
+                    <ImageView image="org/apache/pivot/tutorials/IMG_0725_2.jpg"/>
+                    <ImageView image="org/apache/pivot/tutorials/IMG_0735_2.jpg"/>
+                    <ImageView image="org/apache/pivot/tutorials/IMG_0767_2.jpg"/>
+                </CardPane>
+            </Border>
+            <Border styles="{padding:2}">
+                <CardPane selectedIndex="0" styles="{padding:4}">
+                    <ImageView bxml:id="destinationImageView"/>
+                </CardPane>
+            </Border>
+        </TablePane.Row>
+
+        <TablePane.Row height="-1">
+            <BoxPane orientation="vertical" styles="{fill:true}">
+                <BoxPane bxml:id="sourceImageButtonBoxPane"
+                    styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
+                    <bxml:define>
+                        <ButtonGroup bxml:id="sourceImageButtonGroup">
+                            <buttonGroupListeners>
+                                <bxml:script>
+                                <![CDATA[
+                                function selectionChanged(buttonGroup, previousSelection) {
+                                    var selection = buttonGroup.getSelection();
+
+                                    if (selection != null) {
+                                        var index = sourceImageButtonBoxPane.indexOf(selection);
+                                        sourceImageCardPane.setSelectedIndex(index);
+                                    }
+                                }
+                                ]]>
+                                </bxml:script>
+                            </buttonGroupListeners>
+                        </ButtonGroup>
+                    </bxml:define>
+
+                    <PushButton bxml:id="sourceImageButton1"
+                        buttonData="IMG_0725_2.jpg" toggleButton="true"
+                        buttonGroup="$sourceImageButtonGroup"/>
+                    <PushButton bxml:id="sourceImageButton2"
+                        buttonData="IMG_0735_2.jpg" toggleButton="true"
+                        buttonGroup="$sourceImageButtonGroup"/>
+                    <PushButton bxml:id="sourceImageButton3"
+                        buttonData="IMG_0767_2.jpg" toggleButton="true"
+                        buttonGroup="$sourceImageButtonGroup"/>
+                </BoxPane>
+
+                <BoxPane styles="{horizontalAlignment:'center'}">
+                    <PushButton bxml:id="copyButton" buttonData="Copy"
+                        ButtonPressListener.buttonPressed="copy()"/>
+                </BoxPane>
+            </BoxPane>
+
+            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
+                <PushButton bxml:id="pasteButton" buttonData="Paste"
+                    ButtonPressListener.buttonPressed="paste()"/>
+            </BoxPane>
+        </TablePane.Row>
+    </TablePane>
+</Window>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/color_choosers.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/color_choosers.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/color_choosers.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/color_choosers.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,36 @@
+<?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.
+-->
+
+<BoxPane xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk">
+    <Border styles="{padding:2}">
+        <BoxPane styles="{padding:{top:2, left:4, bottom:2, right:4}, spacing:10}">
+            <BoxPane orientation="vertical">
+                <Label text="Color Chooser" styles="{font:{bold:true}}"/>
+                <ColorChooser selectedColor="#7ac8ba"/>
+            </BoxPane>
+
+            <BoxPane orientation="vertical">
+                <Label text="Color Chooser Button" styles="{font:{bold:true}}"/>
+                <ColorChooserButton selectedColor="#7f2c64"/>
+            </BoxPane>
+        </BoxPane>
+    </Border>
+</BoxPane>
+

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/colorchoosers/color_choosers.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/colorchoosers/color_choosers.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/colorchoosers/color_choosers.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/colorchoosers/color_choosers.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,62 @@
+<?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="Color Choosers" maximized="true"
+    WindowStateListener.windowOpened="init()"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <bxml:script src="color_choosers.js"/>
+
+    <Border>
+        <BoxPane styles="{padding:4, spacing:12}">
+            <Border styles="{color:10}">
+                <ColorChooser bxml:id="colorChooser"
+                    ColorChooserSelectionListener.selectedColorChanged="onColorChange()"/>
+            </Border>
+            <Form>
+                <Form.Section>
+                    <Border Form.label="Selected Color" styles="{padding:1}">
+                        <Border bxml:id="sampleBorder" preferredWidth="100"
+                            preferredHeight="14" styles="{thickness:0}">
+                            <Label/>
+                        </Border>
+                    </Border>
+
+                    <TextInput bxml:id="hexInput" Form.label="HTML Notation" textSize="6"
+                        ComponentStateListener.focusedChanged="onInputFocusChange()">
+                        <componentKeyListeners>
+                            <bxml:script>
+                                <![CDATA[
+                                importClass(org.apache.pivot.wtk.Component);
+                                importClass(org.apache.pivot.wtk.Keyboard);
+
+                                function keyPressed(component, keyCode, keyLocation) {
+                                    if (keyCode == Keyboard.KeyCode.TAB ||
+                                        keyCode == Keyboard.KeyCode.ENTER) {
+                                        Component.clearFocus();
+                                    }
+                                }
+                                ]]>
+                            </bxml:script>
+                        </componentKeyListeners>
+                    </TextInput>
+                </Form.Section>
+            </Form>
+        </BoxPane>
+    </Border>
+</Window>

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/DataBinding.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/DataBinding.java?rev=955224&r1=955223&r2=955224&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/DataBinding.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/DataBinding.java Wed Jun 16 13:34:18 2010
@@ -48,13 +48,13 @@ public class DataBinding implements Appl
     @Override
     public void startup(Display display, Map<String, String> properties)
         throws Exception {
-        BeanSerializer wtkxSerializer = new BeanSerializer();
-        window = (Window)wtkxSerializer.readObject(this, "data_binding.wtkx");
-        form = (Form)wtkxSerializer.get("form");
-        loadJavaButton = (PushButton)wtkxSerializer.get("loadJavaButton");
-        loadJSONButton = (PushButton)wtkxSerializer.get("loadJSONButton");
-        clearButton = (PushButton)wtkxSerializer.get("clearButton");
-        sourceLabel = (Label)wtkxSerializer.get("sourceLabel");
+        BeanSerializer beanSerializer = new BeanSerializer();
+        window = (Window)beanSerializer.readObject(this, "data_binding.bxml");
+        form = (Form)beanSerializer.get("form");
+        loadJavaButton = (PushButton)beanSerializer.get("loadJavaButton");
+        loadJSONButton = (PushButton)beanSerializer.get("loadJSONButton");
+        clearButton = (PushButton)beanSerializer.get("clearButton");
+        sourceLabel = (Label)beanSerializer.get("sourceLabel");
 
         loadJavaButton.getButtonPressListeners().add(new ButtonPressListener() {
             @Override

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/data_binding.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/data_binding.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/data_binding.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/data_binding.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,60 @@
+<?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="Data Binding" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <Border styles="{padding:6}">
+        <BoxPane orientation="vertical" styles="{spacing:10, fill:true}">
+            <Form bxml:id="form" styles="{showFlagIcons:false}">
+                <Form.Section>
+                    <Label bxml:id="sourceLabel" Form.label="Source" styles="{font:{italic:true}}"/>
+
+                    <Label Form.label="ID" textKey="id"/>
+                    <TextInput Form.label="Name" textKey="name"/>
+
+                    <BoxPane Form.label="Address" orientation="vertical">
+                        <TextInput textKey="address.street" prompt="Street"/>
+                        <BoxPane>
+                            <TextInput textKey="address.city" prompt="City"/>
+                            <TextInput textKey="address.state" textSize="6" prompt="State"/>
+                            <TextInput textKey="address.zip" textSize="6" prompt="Zip"/>
+                        </BoxPane>
+                    </BoxPane>
+
+                    <TextInput Form.label="Phone" textKey="phoneNumber"/>
+                    <TextInput Form.label="Email" textKey="emailAddress"/>
+
+                    <BoxPane Form.label="IM">
+                        <TextInput textKey="imAccount.id"/>
+                        <ListButton selectedItemKey="imAccount.type"
+                            listData="['AIM', 'Jabber', 'Yahoo']"/>
+                    </BoxPane>
+                </Form.Section>
+            </Form>
+
+            <Separator/>
+
+            <BoxPane styles="{horizontalAlignment:'right'}">
+                <PushButton bxml:id="loadJSONButton" buttonData="Load JSON"/>
+                <PushButton bxml:id="loadJavaButton" buttonData="Load Java"/>
+                <PushButton bxml:id="clearButton" buttonData="Clear"/>
+            </BoxPane>
+        </BoxPane>
+    </Border>
+</Window>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<BoxPane xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <Border>
+        <ImageView bxml:id="imageView1" image="@go-home.png" preferredWidth="48" preferredHeight="48"/>
+    </Border>
+    <Border>
+        <ImageView bxml:id="imageView2" image="@weather-few-clouds-32x32.png" preferredWidth="48" preferredHeight="48"/>
+    </Border>
+    <Border>
+        <ImageView bxml:id="imageView3" preferredWidth="48" preferredHeight="48"/>
+    </Border>
+</BoxPane>
+

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop/drag_drop.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop/drag_drop.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop/drag_drop.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/dragdrop/drag_drop.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,27 @@
+<?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="Drag and Drop" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <bxml:script src="dragdrop.js"/>
+    <Border styles="{padding:2}">
+        <ImageView bxml:id="imageView" image="org/apache/pivot/tutorials/IMG_0767_2.jpg"
+            dragSource="$dragSoure" dropTarget="$dropTarget"/>
+    </Border>
+</Window>

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/RotateLine.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/RotateLine.java?rev=955224&r1=955223&r2=955224&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/RotateLine.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/RotateLine.java Wed Jun 16 13:34:18 2010
@@ -36,9 +36,9 @@ public class RotateLine implements Appli
     @Override
     public void startup(Display display, Map<String, String> properties)
         throws Exception{
-        BeanSerializer wtkxSerializer = new BeanSerializer();
-        drawing = (Drawing)wtkxSerializer.readObject(this, "rotate_line.wtkd");
-        rotation = (Shape.Rotate)wtkxSerializer.get("rotation");
+        BeanSerializer beanSerializer = new BeanSerializer();
+        drawing = (Drawing)beanSerializer.readObject(this, "rotate_line.wtkd");
+        rotation = (Shape.Rotate)beanSerializer.get("rotation");
 
         ApplicationContext.scheduleRecurringCallback(new Runnable() {
             @Override

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/simple_drawing.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/simple_drawing.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/simple_drawing.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/simple_drawing.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,34 @@
+<?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="Simple Drawing" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:media="org.apache.pivot.wtk.media"
+    xmlns="org.apache.pivot.wtk">
+    <ImageView>
+        <media:Drawing>
+            <Canvas xmlns="org.apache.pivot.wtk.media.drawing">
+                <Ellipse x="0" y="0" width="240" height="240" stroke="" fill="#ffff00"/>
+                <Ellipse x="70" y="60" width="30" height="40" fill="#000000"/>
+                <Ellipse x="140" y="60" width="30" height="40" fill="#000000"/>
+                <Arc x="60" y="120" width="120" height="70"
+                    start="190" extent="160" type="open" strokeThickness="8"/>
+            </Canvas>
+        </media:Drawing>
+    </ImageView>
+</Window>

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/Transitions.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/Transitions.java?rev=955224&r1=955223&r2=955224&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/Transitions.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/Transitions.java Wed Jun 16 13:34:18 2010
@@ -44,12 +44,12 @@ public class Transitions implements Appl
     @Override
     public void startup(Display display, Map<String, String> properties)
         throws Exception {
-        BeanSerializer wtkxSerializer = new BeanSerializer();
-        window = (Window)wtkxSerializer.readObject(this, "transitions.wtkx");
-        button1 = (PushButton)wtkxSerializer.get("button1");
-        button2 = (PushButton)wtkxSerializer.get("button2");
-        button3 = (PushButton)wtkxSerializer.get("button3");
-        button4 = (PushButton)wtkxSerializer.get("button4");
+        BeanSerializer beanSerializer = new BeanSerializer();
+        window = (Window)beanSerializer.readObject(this, "transitions.bxml");
+        button1 = (PushButton)beanSerializer.get("button1");
+        button2 = (PushButton)beanSerializer.get("button2");
+        button3 = (PushButton)beanSerializer.get("button3");
+        button4 = (PushButton)beanSerializer.get("button4");
 
         ButtonPressListener buttonPressListener = new ButtonPressListener() {
             @Override

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/decorators.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/decorators.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/decorators.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/decorators.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,122 @@
+<?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="Decorators" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:effects="org.apache.pivot.wtk.effects"
+    xmlns="org.apache.pivot.wtk">
+    <TablePane>
+        <columns>
+            <TablePane.Column width="1*"/>
+            <TablePane.Column width="-1"/>
+        </columns>
+
+        <TablePane.Row>
+            <Border styles="{padding:2}">
+                <BoxPane preferredWidth="480" preferredHeight="480"
+                    styles="{horizontalAlignment:'center', verticalAlignment:'top', padding:6}">
+                    <ImageView bxml:id="imageView" image="org/apache/pivot/tutorials/IMG_0725_2.jpg"/>
+                </BoxPane>
+            </Border>
+
+            <BoxPane orientation="vertical" styles="{padding:6, spacing:6}">
+                <bxml:define>
+                    <ButtonGroup bxml:id="decoratorButtonGroup">
+                        <buttonGroupListeners>
+                            <bxml:script>
+                            <![CDATA[
+                            function selectionChanged(buttonGroup) {
+                                var selection = buttonGroup.getSelection();
+
+                                if (selection != null) {
+                                    var decorator = selection.getUserData().get("decorator");
+                                    imageView.getDecorators().removeAll();
+
+                                    if (decorator != null) {
+                                        imageView.getDecorators().add(decorator);
+                                    }
+                                }
+                            }
+                            ]]>
+                            </bxml:script>
+                        </buttonGroupListeners>
+                    </ButtonGroup>
+                </bxml:define>
+
+                <RadioButton buttonData="None" buttonGroup="$decoratorButtonGroup" selected="true"/>
+
+                <RadioButton buttonData="Blur" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:BlurDecorator/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+
+                <RadioButton buttonData="Fade" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:FadeDecorator opacity="0.33"/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+
+                <RadioButton buttonData="Grayscale" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:GrayscaleDecorator/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+
+                <RadioButton buttonData="Reflection" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:ReflectionDecorator/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+
+                <RadioButton buttonData="Saturation" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:SaturationDecorator multiplier="2.5"/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+
+                <RadioButton buttonData="Shade" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:ShadeDecorator color="#ff0000" opacity="0.33"/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+
+                <RadioButton buttonData="Watermark" buttonGroup="$decoratorButtonGroup">
+                    <userData>
+                        <decorator>
+                            <effects:WatermarkDecorator text="Watermark" font="Arial BOLD 24"
+                                opacity="0.33"/>
+                        </decorator>
+                    </userData>
+                </RadioButton>
+            </BoxPane>
+        </TablePane.Row>
+    </TablePane>
+</Window>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/transitions.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/transitions.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/transitions.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/effects/transitions.bxml Wed Jun 16 13:34:18 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="Transitions" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <BoxPane styles="{padding:4, spacing:4}">
+        <PushButton bxml:id="button1" buttonData="One"/>
+        <PushButton bxml:id="button2" buttonData="Two"/>
+        <PushButton bxml:id="button3" buttonData="Three"/>
+        <PushButton bxml:id="button4" buttonData="Four"/>
+    </BoxPane>
+</Window>

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/ComponentExplorer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/ComponentExplorer.java?rev=955224&r1=955223&r2=955224&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/ComponentExplorer.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/ComponentExplorer.java Wed Jun 16 13:34:18 2010
@@ -83,30 +83,30 @@ public class ComponentExplorer implement
     public void startup(Display display, Map<String, String> properties)
         throws Exception {
         Resources resources = new Resources(getClass().getName());
-        BeanSerializer wtkxSerializer = new BeanSerializer(resources);
-        window = (Window)wtkxSerializer.readObject(this, "component_explorer.wtkx");
+        BeanSerializer beanSerializer = new BeanSerializer(resources);
+        window = (Window)beanSerializer.readObject(this, "component_explorer.bxml");
 
-        splitPane = wtkxSerializer.getValue("splitPane");
-        treeView = wtkxSerializer.getValue("treeView");
-        contentScrollPane = wtkxSerializer.getValue("contentScrollPane");
-        contentPane = wtkxSerializer.getValue("contentPane");
-        sourceTextArea = wtkxSerializer.getValue("sourceTextArea");
-        componentPropertyInspector = wtkxSerializer.getValue("componentPropertyInspector");
-        componentStyleInspector = wtkxSerializer.getValue("componentStyleInspector");
-        eventLogger = wtkxSerializer.getValue("eventLogger");
-
-        horizontalScrollBarPolicyGroup = wtkxSerializer.getValue("horizontalScrollBarPolicyGroup");
-        verticalScrollBarPolicyGroup = wtkxSerializer.getValue("verticalScrollBarPolicyGroup");
-        horizontalAutoButton = wtkxSerializer.getValue("horizontalAutoButton");
-        horizontalFillButton = wtkxSerializer.getValue("horizontalFillButton");
-        horizontalFillToCapacityButton = wtkxSerializer.getValue("horizontalFillToCapacityButton");
-        horizontalNeverButton = wtkxSerializer.getValue("horizontalNeverButton");
-        horizontalAlwaysButton = wtkxSerializer.getValue("horizontalAlwaysButton");
-        verticalAutoButton = wtkxSerializer.getValue("verticalAutoButton");
-        verticalFillButton = wtkxSerializer.getValue("verticalFillButton");
-        verticalFillToCapacityButton = wtkxSerializer.getValue("verticalFillToCapacityButton");
-        verticalNeverButton = wtkxSerializer.getValue("verticalNeverButton");
-        verticalAlwaysButton = wtkxSerializer.getValue("verticalAlwaysButton");
+        splitPane = beanSerializer.getValue("splitPane");
+        treeView = beanSerializer.getValue("treeView");
+        contentScrollPane = beanSerializer.getValue("contentScrollPane");
+        contentPane = beanSerializer.getValue("contentPane");
+        sourceTextArea = beanSerializer.getValue("sourceTextArea");
+        componentPropertyInspector = beanSerializer.getValue("componentPropertyInspector");
+        componentStyleInspector = beanSerializer.getValue("componentStyleInspector");
+        eventLogger = beanSerializer.getValue("eventLogger");
+
+        horizontalScrollBarPolicyGroup = beanSerializer.getValue("horizontalScrollBarPolicyGroup");
+        verticalScrollBarPolicyGroup = beanSerializer.getValue("verticalScrollBarPolicyGroup");
+        horizontalAutoButton = beanSerializer.getValue("horizontalAutoButton");
+        horizontalFillButton = beanSerializer.getValue("horizontalFillButton");
+        horizontalFillToCapacityButton = beanSerializer.getValue("horizontalFillToCapacityButton");
+        horizontalNeverButton = beanSerializer.getValue("horizontalNeverButton");
+        horizontalAlwaysButton = beanSerializer.getValue("horizontalAlwaysButton");
+        verticalAutoButton = beanSerializer.getValue("verticalAutoButton");
+        verticalFillButton = beanSerializer.getValue("verticalFillButton");
+        verticalFillToCapacityButton = beanSerializer.getValue("verticalFillToCapacityButton");
+        verticalNeverButton = beanSerializer.getValue("verticalNeverButton");
+        verticalAlwaysButton = beanSerializer.getValue("verticalAlwaysButton");
 
         treeView.getTreeViewSelectionListeners().add(new TreeViewSelectionListener.Adapter() {
             @Override
@@ -138,9 +138,9 @@ public class ComponentExplorer implement
 
                     sourceTextArea.setDocument(document);
 
-                    BeanSerializer wtkxSerializer = new BeanSerializer();
+                    BeanSerializer beanSerializer = new BeanSerializer();
                     try {
-                        component = (Component)wtkxSerializer.readObject(url);
+                        component = (Component)beanSerializer.readObject(url);
                     } catch (IOException exception) {
                         throw new RuntimeException(exception);
                     } catch (SerializationException exception) {

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/image_view.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/image_view.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/image_view.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/image_view.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<ImageView image="org/apache/pivot/tutorials/IMG_0725_2.jpg"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/label.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/label.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/label.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/basic/label.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<Label text="Hello World!"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/scroll_bar.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/scroll_bar.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/scroll_bar.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/scroll_bar.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<ScrollBar start="0" end="100" extent="10" bxml:id="scrollBar"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/slider.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/slider.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/slider.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/slider.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<Slider range="{start:0, end:255}" value="0"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/spinner.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/spinner.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/spinner.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/boundedrange/spinner.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,22 @@
+<?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.
+-->
+
+<Spinner spinnerData="['One', 'Two', 'Three', 'Four', 'Five']"
+    circular="true" selectedIndex="0"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/checkbox.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/checkbox.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/checkbox.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/checkbox.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<Checkbox buttonData="Click Me!"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/link_button.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/link_button.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/link_button.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/link_button.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<LinkButton xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk">
+    <content:ButtonData text="Click Me!" icon="@resultset_next.png"/>
+</LinkButton>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/push_button.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/push_button.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/push_button.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/push_button.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<PushButton buttonData="Click Me!"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/radio_button.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/radio_button.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/radio_button.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/buttons/radio_button.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<RadioButton buttonData="Click Me!"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,20 @@
+<?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.
+-->
+
+<Calendar xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar_button.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar_button.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar_button.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/calendars/calendar_button.bxml Wed Jun 16 13:34:18 2010
@@ -0,0 +1,20 @@
+<?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.
+-->
+
+<CalendarButton xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<ColorChooser selectedColor="#57cd83"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser_button.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser_button.bxml?rev=955224&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser_button.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/colorchoosers/color_chooser_button.bxml Wed Jun 16 13:34:18 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.
+-->
+
+<ColorChooserButton selectedColor="#57cd83"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"/>