You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2011/12/24 17:07:40 UTC

svn commit: r1222994 [9/11] - in /pivot/trunk: core/test/org/apache/pivot/beans/test/ demos/src/org/apache/pivot/demos/memorygame/ demos/src/org/apache/pivot/demos/memorygame/img/ demos/src/org/apache/pivot/demos/roweditor/ demos/www/ etc/ examples/src...

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentInspectorSkin.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspector.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspector.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspector.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspector.java Sat Dec 24 16:07:37 2011
@@ -1,33 +1,33 @@
-/*
- * 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.
- */
-package org.apache.pivot.tutorials.bxmlexplorer.tools;
-
-import org.apache.pivot.wtk.Component;
-
-/**
- * Inspects a source component's intrinsic properties.
- */
-public class ComponentPropertyInspector extends ComponentInspector {
-    public ComponentPropertyInspector() {
-        this(null);
-    }
-
-    public ComponentPropertyInspector(Component source) {
-        setSource(source);
-        setSkin(new ComponentPropertyInspectorSkin());
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tutorials.bxmlexplorer.tools;
+
+import org.apache.pivot.wtk.Component;
+
+/**
+ * Inspects a source component's intrinsic properties.
+ */
+public class ComponentPropertyInspector extends ComponentInspector {
+    public ComponentPropertyInspector() {
+        this(null);
+    }
+
+    public ComponentPropertyInspector(Component source) {
+        setSource(source);
+        setSkin(new ComponentPropertyInspectorSkin());
+    }
+}

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspector.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspectorSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspectorSkin.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspectorSkin.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspectorSkin.java Sat Dec 24 16:07:37 2011
@@ -1,129 +1,129 @@
-/*
- * 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.
- */
-package org.apache.pivot.tutorials.bxmlexplorer.tools;
-
-import java.io.Serializable;
-import java.lang.reflect.Method;
-import java.util.Comparator;
-
-import org.apache.pivot.beans.BeanAdapter;
-import org.apache.pivot.beans.BeanMonitor;
-import org.apache.pivot.beans.PropertyChangeListener;
-import org.apache.pivot.collections.ArrayList;
-import org.apache.pivot.collections.HashMap;
-import org.apache.pivot.collections.List;
-import org.apache.pivot.wtk.Component;
-import org.apache.pivot.wtk.Form;
-
-class ComponentPropertyInspectorSkin extends ComponentInspectorSkin {
-    private static class NameComparator implements Comparator<String>, Serializable {
-        private static final long serialVersionUID = 1L;
-
-        @Override
-        public int compare(String propertyName1, String propertyName2) {
-            return propertyName1.compareTo(propertyName2);
-        }
-    }
-
-    private static class ClassComparator implements Comparator<Class<?>>, Serializable {
-        private static final long serialVersionUID = 1L;
-
-        @Override
-        public int compare(Class<?> class1, Class<?> class2) {
-            int result = 0;
-
-            if (class1.isAssignableFrom(class2)) {
-                result = 1;
-            } else if (class2.isAssignableFrom(class1)) {
-                result = -1;
-            } else {
-                result = class1.getName().compareTo(class2.getName());
-            }
-
-            return result;
-        }
-    }
-
-    private BeanMonitor beanMonitor = null;
-
-    private PropertyChangeListener propertyChangeListener = new PropertyChangeListener() {
-        @Override
-        public void propertyChanged(Object bean, String propertyName) {
-            BeanAdapter beanAdapter = new BeanAdapter(bean);
-            Class<?> type = beanAdapter.getType(propertyName);
-            updateControl(beanAdapter, propertyName, type);
-        }
-    };
-
-    private static NameComparator nameComparator = new NameComparator();
-    private static ClassComparator classComparator = new ClassComparator();
-
-    @Override
-    public void sourceChanged(ComponentInspector componentInspector, Component previousSource) {
-        Component source = componentInspector.getSource();
-
-        clearControls();
-        Form.SectionSequence sections = form.getSections();
-        sections.remove(0, sections.getLength());
-
-        if (previousSource != null) {
-            beanMonitor.getPropertyChangeListeners().remove(propertyChangeListener);
-        }
-
-        if (source == null) {
-            beanMonitor = null;
-        } else {
-            beanMonitor = new BeanMonitor(source);
-            beanMonitor.getPropertyChangeListeners().add(propertyChangeListener);
-
-            Class<?> sourceType = source.getClass();
-            HashMap<Class<?>, List<String>> declaringClassPartitions =
-                new HashMap<Class<?>, List<String>>(classComparator);
-
-            // Partition the properties by their declaring class
-            BeanAdapter beanAdapter = new BeanAdapter(source);
-            for (String propertyName : beanAdapter) {
-                if (beanMonitor.isNotifying(propertyName)
-                    && !beanAdapter.isReadOnly(propertyName)) {
-                    Method method = BeanAdapter.getGetterMethod(sourceType, propertyName);
-                    Class<?> declaringClass = method.getDeclaringClass();
-
-                    List<String> propertyNames = declaringClassPartitions.get(declaringClass);
-                    if (propertyNames == null) {
-                        propertyNames = new ArrayList<String>(nameComparator);
-                        declaringClassPartitions.put(declaringClass, propertyNames);
-                    }
-
-                    propertyNames.add(propertyName);
-                }
-            }
-
-            // Add the controls
-            for (Class<?> declaringClass : declaringClassPartitions) {
-                Form.Section section = new Form.Section();
-                section.setHeading(declaringClass.getSimpleName());
-                sections.add(section);
-
-                List<String> propertyNames = declaringClassPartitions.get(declaringClass);
-                for (String propertyName : propertyNames) {
-                    Class<?> type = beanAdapter.getType(propertyName);
-                    addControl(beanAdapter, propertyName, type, section);
-                }
-            }
-        }
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tutorials.bxmlexplorer.tools;
+
+import java.io.Serializable;
+import java.lang.reflect.Method;
+import java.util.Comparator;
+
+import org.apache.pivot.beans.BeanAdapter;
+import org.apache.pivot.beans.BeanMonitor;
+import org.apache.pivot.beans.PropertyChangeListener;
+import org.apache.pivot.collections.ArrayList;
+import org.apache.pivot.collections.HashMap;
+import org.apache.pivot.collections.List;
+import org.apache.pivot.wtk.Component;
+import org.apache.pivot.wtk.Form;
+
+class ComponentPropertyInspectorSkin extends ComponentInspectorSkin {
+    private static class NameComparator implements Comparator<String>, Serializable {
+        private static final long serialVersionUID = 1L;
+
+        @Override
+        public int compare(String propertyName1, String propertyName2) {
+            return propertyName1.compareTo(propertyName2);
+        }
+    }
+
+    private static class ClassComparator implements Comparator<Class<?>>, Serializable {
+        private static final long serialVersionUID = 1L;
+
+        @Override
+        public int compare(Class<?> class1, Class<?> class2) {
+            int result = 0;
+
+            if (class1.isAssignableFrom(class2)) {
+                result = 1;
+            } else if (class2.isAssignableFrom(class1)) {
+                result = -1;
+            } else {
+                result = class1.getName().compareTo(class2.getName());
+            }
+
+            return result;
+        }
+    }
+
+    private BeanMonitor beanMonitor = null;
+
+    private PropertyChangeListener propertyChangeListener = new PropertyChangeListener() {
+        @Override
+        public void propertyChanged(Object bean, String propertyName) {
+            BeanAdapter beanAdapter = new BeanAdapter(bean);
+            Class<?> type = beanAdapter.getType(propertyName);
+            updateControl(beanAdapter, propertyName, type);
+        }
+    };
+
+    private static NameComparator nameComparator = new NameComparator();
+    private static ClassComparator classComparator = new ClassComparator();
+
+    @Override
+    public void sourceChanged(ComponentInspector componentInspector, Component previousSource) {
+        Component source = componentInspector.getSource();
+
+        clearControls();
+        Form.SectionSequence sections = form.getSections();
+        sections.remove(0, sections.getLength());
+
+        if (previousSource != null) {
+            beanMonitor.getPropertyChangeListeners().remove(propertyChangeListener);
+        }
+
+        if (source == null) {
+            beanMonitor = null;
+        } else {
+            beanMonitor = new BeanMonitor(source);
+            beanMonitor.getPropertyChangeListeners().add(propertyChangeListener);
+
+            Class<?> sourceType = source.getClass();
+            HashMap<Class<?>, List<String>> declaringClassPartitions =
+                new HashMap<Class<?>, List<String>>(classComparator);
+
+            // Partition the properties by their declaring class
+            BeanAdapter beanAdapter = new BeanAdapter(source);
+            for (String propertyName : beanAdapter) {
+                if (beanMonitor.isNotifying(propertyName)
+                    && !beanAdapter.isReadOnly(propertyName)) {
+                    Method method = BeanAdapter.getGetterMethod(sourceType, propertyName);
+                    Class<?> declaringClass = method.getDeclaringClass();
+
+                    List<String> propertyNames = declaringClassPartitions.get(declaringClass);
+                    if (propertyNames == null) {
+                        propertyNames = new ArrayList<String>(nameComparator);
+                        declaringClassPartitions.put(declaringClass, propertyNames);
+                    }
+
+                    propertyNames.add(propertyName);
+                }
+            }
+
+            // Add the controls
+            for (Class<?> declaringClass : declaringClassPartitions) {
+                Form.Section section = new Form.Section();
+                section.setHeading(declaringClass.getSimpleName());
+                sections.add(section);
+
+                List<String> propertyNames = declaringClassPartitions.get(declaringClass);
+                for (String propertyName : propertyNames) {
+                    Class<?> type = beanAdapter.getType(propertyName);
+                    addControl(beanAdapter, propertyName, type, section);
+                }
+            }
+        }
+    }
+}

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentPropertyInspectorSkin.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspector.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspector.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspector.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspector.java Sat Dec 24 16:07:37 2011
@@ -1,33 +1,33 @@
-/*
- * 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.
- */
-package org.apache.pivot.tutorials.bxmlexplorer.tools;
-
-import org.apache.pivot.wtk.Component;
-
-/**
- * Inspects a source component's style properties.
- */
-public class ComponentStyleInspector extends ComponentInspector {
-    public ComponentStyleInspector() {
-        this(null);
-    }
-
-    public ComponentStyleInspector(Component source) {
-        setSource(source);
-        setSkin(new ComponentStyleInspectorSkin());
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tutorials.bxmlexplorer.tools;
+
+import org.apache.pivot.wtk.Component;
+
+/**
+ * Inspects a source component's style properties.
+ */
+public class ComponentStyleInspector extends ComponentInspector {
+    public ComponentStyleInspector() {
+        this(null);
+    }
+
+    public ComponentStyleInspector(Component source) {
+        setSource(source);
+        setSkin(new ComponentStyleInspectorSkin());
+    }
+}

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspector.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspectorSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspectorSkin.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspectorSkin.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspectorSkin.java Sat Dec 24 16:07:37 2011
@@ -1,76 +1,76 @@
-/*
- * 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.
- */
-package org.apache.pivot.tutorials.bxmlexplorer.tools;
-
-import java.util.Comparator;
-
-import org.apache.pivot.collections.ArrayList;
-import org.apache.pivot.wtk.Component;
-import org.apache.pivot.wtk.ComponentStyleListener;
-import org.apache.pivot.wtk.Form;
-
-class ComponentStyleInspectorSkin extends ComponentInspectorSkin {
-    private ComponentStyleListener componentStyleHandler = new ComponentStyleListener() {
-        @Override
-        public void styleUpdated(Component component, String key, Object previousValue) {
-            Component.StyleDictionary styles = component.getStyles();
-            updateControl(styles, key, styles.getType(key));
-        }
-    };
-
-    private Form.Section stylesSection = new Form.Section();
-
-    public ComponentStyleInspectorSkin() {
-        form.getSections().add(stylesSection);
-    }
-
-    @Override
-    public void sourceChanged(ComponentInspector componentInspector, Component previousSource) {
-        Component source = componentInspector.getSource();
-
-        clearControls();
-
-        if (previousSource != null) {
-            previousSource.getComponentStyleListeners().remove(componentStyleHandler);
-        }
-
-        if (source != null) {
-            source.getComponentStyleListeners().add(componentStyleHandler);
-
-            Component.StyleDictionary styles = source.getStyles();
-
-            ArrayList<String> keys = new ArrayList<String>(new Comparator<String>() {
-                @Override
-                public int compare(String key1, String key2) {
-                    return key1.compareTo(key2);
-                }
-            });
-
-            // Filter (exclude read-only) and sort the keys
-            for (String key : styles) {
-                if (!styles.isReadOnly(key)) {
-                    keys.add(key);
-                }
-            }
-
-            // Add the controls
-            for (String key : keys) {
-                addControl(styles, key, styles.getType(key), stylesSection);
-            }
-        }
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tutorials.bxmlexplorer.tools;
+
+import java.util.Comparator;
+
+import org.apache.pivot.collections.ArrayList;
+import org.apache.pivot.wtk.Component;
+import org.apache.pivot.wtk.ComponentStyleListener;
+import org.apache.pivot.wtk.Form;
+
+class ComponentStyleInspectorSkin extends ComponentInspectorSkin {
+    private ComponentStyleListener componentStyleHandler = new ComponentStyleListener() {
+        @Override
+        public void styleUpdated(Component component, String key, Object previousValue) {
+            Component.StyleDictionary styles = component.getStyles();
+            updateControl(styles, key, styles.getType(key));
+        }
+    };
+
+    private Form.Section stylesSection = new Form.Section();
+
+    public ComponentStyleInspectorSkin() {
+        form.getSections().add(stylesSection);
+    }
+
+    @Override
+    public void sourceChanged(ComponentInspector componentInspector, Component previousSource) {
+        Component source = componentInspector.getSource();
+
+        clearControls();
+
+        if (previousSource != null) {
+            previousSource.getComponentStyleListeners().remove(componentStyleHandler);
+        }
+
+        if (source != null) {
+            source.getComponentStyleListeners().add(componentStyleHandler);
+
+            Component.StyleDictionary styles = source.getStyles();
+
+            ArrayList<String> keys = new ArrayList<String>(new Comparator<String>() {
+                @Override
+                public int compare(String key1, String key2) {
+                    return key1.compareTo(key2);
+                }
+            });
+
+            // Filter (exclude read-only) and sort the keys
+            for (String key : styles) {
+                if (!styles.isReadOnly(key)) {
+                    keys.add(key);
+                }
+            }
+
+            // Add the controls
+            for (String key : keys) {
+                addControl(styles, key, styles.getType(key), stylesSection);
+            }
+        }
+    }
+}

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/ComponentStyleInspectorSkin.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/package.html
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/package.html?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/package.html (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/package.html Sat Dec 24 16:07:37 2011
@@ -1,23 +1,23 @@
-<!--
-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.
--->
-
-<html>
-<head></head>
-<body>
-<p>Contains components useful to building utility applications.</p>
-</body>
-</html>
+<!--
+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.
+-->
+
+<html>
+<head></head>
+<body>
+<p>Contains components useful to building utility applications.</p>
+</body>
+</html>

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/tools/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/fill_pane.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/fill_pane.bxml?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/fill_pane.bxml (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/fill_pane.bxml Sat Dec 24 16:07:37 2011
@@ -1,24 +1,24 @@
-<?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.
--->
-
-<FillPane xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns="org.apache.pivot.wtk">
-    <PushButton buttonData="One"/>
-    <PushButton buttonData="Two"/>
-    <PushButton buttonData="Three"/>
-</FillPane>
+<?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.
+-->
+
+<FillPane xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <PushButton buttonData="One"/>
+    <PushButton buttonData="Two"/>
+    <PushButton buttonData="Three"/>
+</FillPane>

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/fill_pane.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/fill_pane.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/text_pane.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/text_pane.bxml?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/text_pane.bxml (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/text_pane.bxml Sat Dec 24 16:07:37 2011
@@ -1,113 +1,113 @@
-<?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.
--->
-
-<TextPane xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:wtk="org.apache.pivot.wtk"
-    xmlns="org.apache.pivot.wtk">
-    <Document xmlns="org.apache.pivot.wtk.text">
-        <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
-        <Paragraph></Paragraph>
-        <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
-        <Paragraph>ABCD</Paragraph>
-        <Paragraph></Paragraph>
-        <Paragraph>1234</Paragraph>
-        <Paragraph font="Arial BOLD 24">abcd</Paragraph>
-        <Paragraph font="Arial ITALIC 24">abcd</Paragraph>
-        <Paragraph foregroundColor="red">abcd</Paragraph>
-        <Paragraph backgroundColor="red">abcd</Paragraph>
-        <Paragraph>abcd</Paragraph>
-        <NumberedList style="decimal">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </NumberedList>
-        <NumberedList style="lower_alpha">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </NumberedList>
-        <NumberedList style="upper_alpha">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </NumberedList>
-        <NumberedList style="lower_roman">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </NumberedList>
-        <NumberedList style="upper_roman">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </NumberedList>
-        <BulletedList style="CIRCLE">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </BulletedList>
-        <BulletedList style="CIRCLE_OUTLINE">
-          <List.Item>
-            <Paragraph>item1</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item2</Paragraph>
-          </List.Item>
-          <List.Item>
-            <Paragraph>item3</Paragraph>
-          </List.Item>
-        </BulletedList>
-    </Document>
-</TextPane>
-
+<?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.
+-->
+
+<TextPane xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:wtk="org.apache.pivot.wtk"
+    xmlns="org.apache.pivot.wtk">
+    <Document xmlns="org.apache.pivot.wtk.text">
+        <Paragraph>Pivot is an open-source platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.</Paragraph>
+        <Paragraph></Paragraph>
+        <Paragraph>Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily. Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration.</Paragraph>
+        <Paragraph>ABCD</Paragraph>
+        <Paragraph></Paragraph>
+        <Paragraph>1234</Paragraph>
+        <Paragraph font="Arial BOLD 24">abcd</Paragraph>
+        <Paragraph font="Arial ITALIC 24">abcd</Paragraph>
+        <Paragraph foregroundColor="red">abcd</Paragraph>
+        <Paragraph backgroundColor="red">abcd</Paragraph>
+        <Paragraph>abcd</Paragraph>
+        <NumberedList style="decimal">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </NumberedList>
+        <NumberedList style="lower_alpha">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </NumberedList>
+        <NumberedList style="upper_alpha">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </NumberedList>
+        <NumberedList style="lower_roman">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </NumberedList>
+        <NumberedList style="upper_roman">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </NumberedList>
+        <BulletedList style="CIRCLE">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </BulletedList>
+        <BulletedList style="CIRCLE_OUTLINE">
+          <List.Item>
+            <Paragraph>item1</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item2</Paragraph>
+          </List.Item>
+          <List.Item>
+            <Paragraph>item3</Paragraph>
+          </List.Item>
+        </BulletedList>
+    </Document>
+</TextPane>
+

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/text_pane.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/text_pane.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo-64x64.png
------------------------------------------------------------------------------
    origination-name = image/png

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo.svg
------------------------------------------------------------------------------
    origination-name = image/svg+xml

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/FillPanes.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/FillPanes.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/FillPanes.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/FillPanes.java Sat Dec 24 16:07:37 2011
@@ -1,67 +1,67 @@
-/*
- * 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.
- */
-package org.apache.pivot.tutorials.layout;
-
-import java.net.URL;
-
-import org.apache.pivot.beans.Bindable;
-import org.apache.pivot.collections.Map;
-import org.apache.pivot.util.Resources;
-import org.apache.pivot.wtk.Button;
-import org.apache.pivot.wtk.ButtonStateListener;
-import org.apache.pivot.wtk.FillPane;
-import org.apache.pivot.wtk.Orientation;
-import org.apache.pivot.wtk.RadioButton;
-import org.apache.pivot.wtk.Window;
-
-public class FillPanes extends Window implements Bindable {
-    private FillPane fillPane = null;
-    private RadioButton horizontalOrientationButton = null;
-    private RadioButton verticalOrientationButton = null;
-
-    @Override
-    public void initialize(Map<String, Object> namespace, URL location, Resources resources) {
-        fillPane = (FillPane)namespace.get("fillPane");
-        horizontalOrientationButton = (RadioButton)namespace.get("horizontalOrientationButton");
-        verticalOrientationButton = (RadioButton)namespace.get("verticalOrientationButton");
-
-        ButtonStateListener buttonStateListener = new ButtonStateListener() {
-            @Override
-            public void stateChanged(Button button, Button.State previousState) {
-                updateFillPaneState();
-            }
-        };
-
-        horizontalOrientationButton.getButtonStateListeners().add(buttonStateListener);
-        verticalOrientationButton.getButtonStateListeners().add(buttonStateListener);
-
-        updateFillPaneState();
-    }
-
-    private void updateFillPaneState() {
-        Orientation orientation = null;
-        if (horizontalOrientationButton.isSelected()) {
-            orientation = Orientation.HORIZONTAL;
-        } else if (verticalOrientationButton.isSelected()) {
-            orientation = Orientation.VERTICAL;
-        }
-
-        if (orientation != null) {
-            fillPane.setOrientation(orientation);
-        }
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tutorials.layout;
+
+import java.net.URL;
+
+import org.apache.pivot.beans.Bindable;
+import org.apache.pivot.collections.Map;
+import org.apache.pivot.util.Resources;
+import org.apache.pivot.wtk.Button;
+import org.apache.pivot.wtk.ButtonStateListener;
+import org.apache.pivot.wtk.FillPane;
+import org.apache.pivot.wtk.Orientation;
+import org.apache.pivot.wtk.RadioButton;
+import org.apache.pivot.wtk.Window;
+
+public class FillPanes extends Window implements Bindable {
+    private FillPane fillPane = null;
+    private RadioButton horizontalOrientationButton = null;
+    private RadioButton verticalOrientationButton = null;
+
+    @Override
+    public void initialize(Map<String, Object> namespace, URL location, Resources resources) {
+        fillPane = (FillPane)namespace.get("fillPane");
+        horizontalOrientationButton = (RadioButton)namespace.get("horizontalOrientationButton");
+        verticalOrientationButton = (RadioButton)namespace.get("verticalOrientationButton");
+
+        ButtonStateListener buttonStateListener = new ButtonStateListener() {
+            @Override
+            public void stateChanged(Button button, Button.State previousState) {
+                updateFillPaneState();
+            }
+        };
+
+        horizontalOrientationButton.getButtonStateListeners().add(buttonStateListener);
+        verticalOrientationButton.getButtonStateListeners().add(buttonStateListener);
+
+        updateFillPaneState();
+    }
+
+    private void updateFillPaneState() {
+        Orientation orientation = null;
+        if (horizontalOrientationButton.isSelected()) {
+            orientation = Orientation.HORIZONTAL;
+        } else if (verticalOrientationButton.isSelected()) {
+            orientation = Orientation.VERTICAL;
+        }
+
+        if (orientation != null) {
+            fillPane.setOrientation(orientation);
+        }
+    }
+}

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/FillPanes.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/fill_panes.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/fill_panes.bxml?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/fill_panes.bxml (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/fill_panes.bxml Sat Dec 24 16:07:37 2011
@@ -1,50 +1,50 @@
-<?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.
--->
-
-<layout:FillPanes title="Fill Panes" maximized="true"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:layout="org.apache.pivot.tutorials.layout"
-    xmlns="org.apache.pivot.wtk">
-    <TablePane>
-        <columns>
-            <TablePane.Column width="300"/>
-            <TablePane.Column width="-1"/>
-        </columns>
-
-        <TablePane.Row height="1*">
-            <Border styles="{padding:6, color:'#999999'}">
-                <FillPane bxml:id="fillPane">
-                    <PushButton buttonData="One"/>
-                    <PushButton buttonData="Two"/>
-                    <PushButton buttonData="Three"/>
-                </FillPane>
-            </Border>
-
-            <BoxPane orientation="vertical" styles="{padding:6, spacing:8}">
-                <bxml:define>
-                    <ButtonGroup bxml:id="orientation"/>
-                </bxml:define>
-
-                <Label text="Orientation" styles="{font:{bold:true}}"/>
-                <RadioButton bxml:id="horizontalOrientationButton" buttonData="Horizontal" buttonGroup="$orientation" selected="true"/>
-                <RadioButton bxml:id="verticalOrientationButton" buttonData="Vertical" buttonGroup="$orientation"/>
-
-            </BoxPane>
-        </TablePane.Row>
-    </TablePane>
-</layout:FillPanes>
+<?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.
+-->
+
+<layout:FillPanes title="Fill Panes" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:layout="org.apache.pivot.tutorials.layout"
+    xmlns="org.apache.pivot.wtk">
+    <TablePane>
+        <columns>
+            <TablePane.Column width="300"/>
+            <TablePane.Column width="-1"/>
+        </columns>
+
+        <TablePane.Row height="1*">
+            <Border styles="{padding:6, color:'#999999'}">
+                <FillPane bxml:id="fillPane">
+                    <PushButton buttonData="One"/>
+                    <PushButton buttonData="Two"/>
+                    <PushButton buttonData="Three"/>
+                </FillPane>
+            </Border>
+
+            <BoxPane orientation="vertical" styles="{padding:6, spacing:8}">
+                <bxml:define>
+                    <ButtonGroup bxml:id="orientation"/>
+                </bxml:define>
+
+                <Label text="Orientation" styles="{font:{bold:true}}"/>
+                <RadioButton bxml:id="horizontalOrientationButton" buttonData="Horizontal" buttonGroup="$orientation" selected="true"/>
+                <RadioButton bxml:id="verticalOrientationButton" buttonData="Vertical" buttonGroup="$orientation"/>
+
+            </BoxPane>
+        </TablePane.Row>
+    </TablePane>
+</layout:FillPanes>

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/fill_panes.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/fill_panes.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/list_views_with_images.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/list_views_with_images.bxml?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/list_views_with_images.bxml (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/list_views_with_images.bxml Sat Dec 24 16:07:37 2011
@@ -1,53 +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.
--->
-
-<lists:ListViews title="List Views with Images" maximized="true"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:content="org.apache.pivot.wtk.content"
-    xmlns:lists="org.apache.pivot.tutorials.lists"
-    xmlns="org.apache.pivot.wtk">
-    <Border>
-        <BoxPane styles="{padding:4, spacing:4}">
-            <Border styles="{color:10}">
-                <ScrollPane preferredWidth="80" preferredHeight="110"
-                    horizontalScrollBarPolicy="fill"
-                    verticalScrollBarPolicy="fill_to_capacity">
-                    <ListView bxml:id="listView" selectMode="multi"
-                    >
-                        <itemRenderer>
-                            <content:ListViewItemRenderer iconWidth="16" iconHeight="16"
-                                showIcon="true"
-                            />
-                        </itemRenderer>
-
-                        <content:ListItem icon="@../anchor.png" text="Anchor"/>
-                        <content:ListItem icon="@../bell.png" text="Bell"/>
-                        <content:ListItem icon="@../clock.png" text="Clock"/>
-                        <content:ListItem icon="@../cup.png" text="Cup"/>
-                        <content:ListItem icon="@../house.png" text="House"/>
-                        <content:ListItem icon="@../star.png" text="Star"/>
-                    </ListView>
-                </ScrollPane>
-            </Border>
-            <BoxPane orientation="vertical" preferredWidth="120" styles="{fill:true}">
-                <Label text="You selected:"/>
-                <Label bxml:id="selectionLabel" styles="{wrapText:true}"/>
-            </BoxPane>
-        </BoxPane>
-    </Border>
-</lists:ListViews>
+<?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.
+-->
+
+<lists:ListViews title="List Views with Images" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns:lists="org.apache.pivot.tutorials.lists"
+    xmlns="org.apache.pivot.wtk">
+    <Border>
+        <BoxPane styles="{padding:4, spacing:4}">
+            <Border styles="{color:10}">
+                <ScrollPane preferredWidth="80" preferredHeight="110"
+                    horizontalScrollBarPolicy="fill"
+                    verticalScrollBarPolicy="fill_to_capacity">
+                    <ListView bxml:id="listView" selectMode="multi"
+                    >
+                        <itemRenderer>
+                            <content:ListViewItemRenderer iconWidth="16" iconHeight="16"
+                                showIcon="true"
+                            />
+                        </itemRenderer>
+
+                        <content:ListItem icon="@../anchor.png" text="Anchor"/>
+                        <content:ListItem icon="@../bell.png" text="Bell"/>
+                        <content:ListItem icon="@../clock.png" text="Clock"/>
+                        <content:ListItem icon="@../cup.png" text="Cup"/>
+                        <content:ListItem icon="@../house.png" text="House"/>
+                        <content:ListItem icon="@../star.png" text="Star"/>
+                    </ListView>
+                </ScrollPane>
+            </Border>
+            <BoxPane orientation="vertical" preferredWidth="120" styles="{fill:true}">
+                <Label text="You selected:"/>
+                <Label bxml:id="selectionLabel" styles="{wrapText:true}"/>
+            </BoxPane>
+        </BoxPane>
+    </Border>
+</lists:ListViews>

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/list_views_with_images.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/list_views_with_images.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tutorials/www/bxml-explorer.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/www/bxml-explorer.xml?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/www/bxml-explorer.xml (original)
+++ pivot/trunk/tutorials/www/bxml-explorer.xml Sat Dec 24 16:07:37 2011
@@ -1,41 +1,41 @@
-<?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 id="bxml-explorer">
-    <properties>
-        <title>BXML Explorer</title>
-        <description>
-            Does a Graphical preview of bxml files,
-            change (currently from outside)
-            and reload, to see changes immediately.
-        </description>
-        <full-screen>false</full-screen>
-    </properties>
-
-    <body>
-        <application class="org.apache.pivot.tutorials.bxmlexplorer.BXMLExplorer"
-            width="100%" height="100%">
-            <libraries signed="true">
-                <library>core</library>
-                <library>wtk</library>
-                <library>wtk-terra</library>
-                <library>tutorials</library>
-            </libraries>
-        </application>
-    </body>
-</document>
+<?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 id="bxml-explorer">
+    <properties>
+        <title>BXML Explorer</title>
+        <description>
+            Does a Graphical preview of bxml files,
+            change (currently from outside)
+            and reload, to see changes immediately.
+        </description>
+        <full-screen>false</full-screen>
+    </properties>
+
+    <body>
+        <application class="org.apache.pivot.tutorials.bxmlexplorer.BXMLExplorer"
+            width="100%" height="100%">
+            <libraries signed="true">
+                <library>core</library>
+                <library>wtk</library>
+                <library>wtk-terra</library>
+                <library>tutorials</library>
+            </libraries>
+        </application>
+    </body>
+</document>

Propchange: pivot/trunk/tutorials/www/bxml-explorer.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tutorials/www/bxml-explorer.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tutorials/www/fill-panes.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/www/fill-panes.xml?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/tutorials/www/fill-panes.xml (original)
+++ pivot/trunk/tutorials/www/fill-panes.xml Sat Dec 24 16:07:37 2011
@@ -1,164 +1,164 @@
-<?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 id="fill-panes">
-    <properties>
-        <title>Fill Panes</title>
-    </properties>
-
-    <body>
-        <p>
-            Fill panes are similar to Box panes in that they arrange their child components in
-            in a line, either horizontally or vertically.  But, unlike Box panes, they always
-            fill out the available space of their container in both directions and size their
-            children evenly to fill up the space.  So, in this respect a Fill pane is a simpler
-            version of a Grid pane, but in only one direction.
-        </p>
-
-        <p>
-            Fill panes support some styles that allow a caller to customize the arrangement
-            of child components:
-        </p>
-
-        <ul>
-            <li>
-                "padding" - the amount of space the fill pane reserves around the perimeter of the
-                container.
-            </li>
-            <li>
-                "spacing" - the amount of space the fill pane inserts between components.
-            </li>
-        </ul>
-
-        <application class="org.apache.pivot.wtk.ScriptApplication"
-            width="460" height="310">
-            <libraries>
-                <library>core</library>
-                <library>wtk</library>
-                <library>wtk-terra</library>
-                <library>tutorials</library>
-            </libraries>
-            <startup-properties>
-                <src>/org/apache/pivot/tutorials/layout/fill_panes.bxml</src>
-            </startup-properties>
-        </application>
-
-        <p>
-            The BXML source for the application is shown below:
-        </p>
-
-        <source type="xml" location="org/apache/pivot/tutorials/layout/fill_panes.bxml">
-            <![CDATA[
-            <layout:FillPanes title="Fill Panes" maximized="true"
-                xmlns:bxml="http://pivot.apache.org/bxml"
-                xmlns:layout="org.apache.pivot.tutorials.layout"
-                xmlns="org.apache.pivot.wtk">
-                <TablePane>
-                    <columns>
-                        <TablePane.Column width="300"/>
-                        <TablePane.Column width="-1"/>
-                    </columns>
-
-                    <TablePane.Row height="1*">
-                        <Border styles="{padding:6, color:'#999999'}">
-                            <FillPane bxml:id="fillPane">
-                                <PushButton buttonData="One"/>
-                                <PushButton buttonData="Two"/>
-                                <PushButton buttonData="Three"/>
-                            </FillPane>
-                        </Border>
-
-                        <BoxPane orientation="vertical" styles="{padding:6, spacing:8}">
-                            <bxml:define>
-                                <ButtonGroup bxml:id="orientation"/>
-                            </bxml:define>
-
-                            <Label text="Orientation" styles="{font:{bold:true}}"/>
-                            <RadioButton bxml:id="horizontalOrientationButton" buttonData="Horizontal" buttonGroup="$orientation" selected="true"/>
-                            <RadioButton bxml:id="verticalOrientationButton" buttonData="Vertical" buttonGroup="$orientation"/>
-
-                        </BoxPane>
-                    </TablePane.Row>
-                </TablePane>
-            </layout:FillPanes>
-            ]]>
-        </source>
-
-        <p>
-            The Java source is as follows. Most of the code is simply event handling logic that
-            responds to changes in the radio buttons' state:
-        </p>
-
-        <source type="java" location="org/apache/pivot/tutorials/layout/FillPanes.java">
-            <![CDATA[
-            package org.apache.pivot.tutorials.layout;
-
-            import java.net.URL;
-
-            import org.apache.pivot.beans.Bindable;
-            import org.apache.pivot.collections.Map;
-            import org.apache.pivot.util.Resources;
-            import org.apache.pivot.wtk.Button;
-            import org.apache.pivot.wtk.ButtonStateListener;
-            import org.apache.pivot.wtk.Checkbox;
-            import org.apache.pivot.wtk.FillPane;
-            import org.apache.pivot.wtk.Orientation;
-            import org.apache.pivot.wtk.RadioButton;
-            import org.apache.pivot.wtk.Window;
-
-            public class FillPanes extends Window implements Bindable {
-                private FillPane fillPane = null;
-                private RadioButton horizontalOrientationButton = null;
-                private RadioButton verticalOrientationButton = null;
-
-                @Override
-                public void initialize(Map<String, Object> namespace, URL location, Resources resources) {
-                    fillPane = (FillPane)namespace.get("fillPane");
-                    horizontalOrientationButton = (RadioButton)namespace.get("horizontalOrientationButton");
-                    verticalOrientationButton = (RadioButton)namespace.get("verticalOrientationButton");
-
-                    ButtonStateListener buttonStateListener = new ButtonStateListener() {
-                        @Override
-                        public void stateChanged(Button button, Button.State previousState) {
-                            updateFillPaneState();
-                        }
-                    };
-
-                    horizontalOrientationButton.getButtonStateListeners().add(buttonStateListener);
-                    verticalOrientationButton.getButtonStateListeners().add(buttonStateListener);
-
-                    updateFillPaneState();
-                }
-
-                private void updateFillPaneState() {
-                    Orientation orientation = null;
-                    if (horizontalOrientationButton.isSelected()) {
-                        orientation = Orientation.HORIZONTAL;
-                    } else if (verticalOrientationButton.isSelected()) {
-                        orientation = Orientation.VERTICAL;
-                    }
-
-                    if (orientation != null) {
-                        fillPane.setOrientation(orientation);
-                    }
-                }
-            }
-            ]]>
-        </source>
-    </body>
-</document>
+<?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 id="fill-panes">
+    <properties>
+        <title>Fill Panes</title>
+    </properties>
+
+    <body>
+        <p>
+            Fill panes are similar to Box panes in that they arrange their child components in
+            in a line, either horizontally or vertically.  But, unlike Box panes, they always
+            fill out the available space of their container in both directions and size their
+            children evenly to fill up the space.  So, in this respect a Fill pane is a simpler
+            version of a Grid pane, but in only one direction.
+        </p>
+
+        <p>
+            Fill panes support some styles that allow a caller to customize the arrangement
+            of child components:
+        </p>
+
+        <ul>
+            <li>
+                "padding" - the amount of space the fill pane reserves around the perimeter of the
+                container.
+            </li>
+            <li>
+                "spacing" - the amount of space the fill pane inserts between components.
+            </li>
+        </ul>
+
+        <application class="org.apache.pivot.wtk.ScriptApplication"
+            width="460" height="310">
+            <libraries>
+                <library>core</library>
+                <library>wtk</library>
+                <library>wtk-terra</library>
+                <library>tutorials</library>
+            </libraries>
+            <startup-properties>
+                <src>/org/apache/pivot/tutorials/layout/fill_panes.bxml</src>
+            </startup-properties>
+        </application>
+
+        <p>
+            The BXML source for the application is shown below:
+        </p>
+
+        <source type="xml" location="org/apache/pivot/tutorials/layout/fill_panes.bxml">
+            <![CDATA[
+            <layout:FillPanes title="Fill Panes" maximized="true"
+                xmlns:bxml="http://pivot.apache.org/bxml"
+                xmlns:layout="org.apache.pivot.tutorials.layout"
+                xmlns="org.apache.pivot.wtk">
+                <TablePane>
+                    <columns>
+                        <TablePane.Column width="300"/>
+                        <TablePane.Column width="-1"/>
+                    </columns>
+
+                    <TablePane.Row height="1*">
+                        <Border styles="{padding:6, color:'#999999'}">
+                            <FillPane bxml:id="fillPane">
+                                <PushButton buttonData="One"/>
+                                <PushButton buttonData="Two"/>
+                                <PushButton buttonData="Three"/>
+                            </FillPane>
+                        </Border>
+
+                        <BoxPane orientation="vertical" styles="{padding:6, spacing:8}">
+                            <bxml:define>
+                                <ButtonGroup bxml:id="orientation"/>
+                            </bxml:define>
+
+                            <Label text="Orientation" styles="{font:{bold:true}}"/>
+                            <RadioButton bxml:id="horizontalOrientationButton" buttonData="Horizontal" buttonGroup="$orientation" selected="true"/>
+                            <RadioButton bxml:id="verticalOrientationButton" buttonData="Vertical" buttonGroup="$orientation"/>
+
+                        </BoxPane>
+                    </TablePane.Row>
+                </TablePane>
+            </layout:FillPanes>
+            ]]>
+        </source>
+
+        <p>
+            The Java source is as follows. Most of the code is simply event handling logic that
+            responds to changes in the radio buttons' state:
+        </p>
+
+        <source type="java" location="org/apache/pivot/tutorials/layout/FillPanes.java">
+            <![CDATA[
+            package org.apache.pivot.tutorials.layout;
+
+            import java.net.URL;
+
+            import org.apache.pivot.beans.Bindable;
+            import org.apache.pivot.collections.Map;
+            import org.apache.pivot.util.Resources;
+            import org.apache.pivot.wtk.Button;
+            import org.apache.pivot.wtk.ButtonStateListener;
+            import org.apache.pivot.wtk.Checkbox;
+            import org.apache.pivot.wtk.FillPane;
+            import org.apache.pivot.wtk.Orientation;
+            import org.apache.pivot.wtk.RadioButton;
+            import org.apache.pivot.wtk.Window;
+
+            public class FillPanes extends Window implements Bindable {
+                private FillPane fillPane = null;
+                private RadioButton horizontalOrientationButton = null;
+                private RadioButton verticalOrientationButton = null;
+
+                @Override
+                public void initialize(Map<String, Object> namespace, URL location, Resources resources) {
+                    fillPane = (FillPane)namespace.get("fillPane");
+                    horizontalOrientationButton = (RadioButton)namespace.get("horizontalOrientationButton");
+                    verticalOrientationButton = (RadioButton)namespace.get("verticalOrientationButton");
+
+                    ButtonStateListener buttonStateListener = new ButtonStateListener() {
+                        @Override
+                        public void stateChanged(Button button, Button.State previousState) {
+                            updateFillPaneState();
+                        }
+                    };
+
+                    horizontalOrientationButton.getButtonStateListeners().add(buttonStateListener);
+                    verticalOrientationButton.getButtonStateListeners().add(buttonStateListener);
+
+                    updateFillPaneState();
+                }
+
+                private void updateFillPaneState() {
+                    Orientation orientation = null;
+                    if (horizontalOrientationButton.isSelected()) {
+                        orientation = Orientation.HORIZONTAL;
+                    } else if (verticalOrientationButton.isSelected()) {
+                        orientation = Orientation.VERTICAL;
+                    }
+
+                    if (orientation != null) {
+                        fillPane.setOrientation(orientation);
+                    }
+                }
+            }
+            ]]>
+        </source>
+    </body>
+</document>

Propchange: pivot/trunk/tutorials/www/fill-panes.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tutorials/www/fill-panes.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFillPaneSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFillPaneSkin.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFillPaneSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFillPaneSkin.java Sat Dec 24 16:07:37 2011
@@ -1,30 +1,30 @@
-/*
- * 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.
- */
-package org.apache.pivot.wtk.skin.terra;
-
-import org.apache.pivot.wtk.Theme;
-import org.apache.pivot.wtk.skin.FillPaneSkin;
-
-/**
- * Terra fill pane skin.
- */
-public class TerraFillPaneSkin extends FillPaneSkin {
-    public final void setBackgroundColor(int backgroundColor) {
-        TerraTheme theme = (TerraTheme)Theme.getTheme();
-        setBackgroundColor(theme.getColor(backgroundColor));
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.wtk.skin.terra;
+
+import org.apache.pivot.wtk.Theme;
+import org.apache.pivot.wtk.skin.FillPaneSkin;
+
+/**
+ * Terra fill pane skin.
+ */
+public class TerraFillPaneSkin extends FillPaneSkin {
+    public final void setBackgroundColor(int backgroundColor) {
+        TerraTheme theme = (TerraTheme)Theme.getTheme();
+        setBackgroundColor(theme.getColor(backgroundColor));
+    }
+}

Propchange: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFillPaneSkin.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java?rev=1222994&r1=1222993&r2=1222994&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java Sat Dec 24 16:07:37 2011
@@ -1,67 +1,67 @@
-/*
- * 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.
- */
-package org.apache.pivot.wtk;
-
-import org.apache.pivot.util.ListenerList;
-
-/**
- * Container that fills it space and then arranges components
- * in a line, either vertically or horizontally.
- */
-public class FillPane extends Container {
-    private static class FillPaneListenerList extends WTKListenerList<FillPaneListener>
-        implements FillPaneListener {
-        @Override
-        public void orientationChanged(FillPane fillPane) {
-            for (FillPaneListener listener : this) {
-                listener.orientationChanged(fillPane);
-            }
-        }
-    }
-
-    private Orientation orientation = null;
-    private FillPaneListenerList fillPaneListeners = new FillPaneListenerList();
-
-    public FillPane() {
-        this(Orientation.HORIZONTAL);
-    }
-
-    public FillPane(Orientation orientation) {
-        setOrientation(orientation);
-
-        installSkin(FillPane.class);
-    }
-
-    public Orientation getOrientation() {
-        return orientation;
-    }
-
-    public void setOrientation(Orientation orientation) {
-        if (orientation == null) {
-            throw new IllegalArgumentException();
-        }
-
-        if (this.orientation != orientation) {
-            this.orientation = orientation;
-            fillPaneListeners.orientationChanged(this);
-        }
-    }
-
-    public ListenerList<FillPaneListener> getFillPaneListeners() {
-        return fillPaneListeners;
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.wtk;
+
+import org.apache.pivot.util.ListenerList;
+
+/**
+ * Container that fills it space and then arranges components
+ * in a line, either vertically or horizontally.
+ */
+public class FillPane extends Container {
+    private static class FillPaneListenerList extends WTKListenerList<FillPaneListener>
+        implements FillPaneListener {
+        @Override
+        public void orientationChanged(FillPane fillPane) {
+            for (FillPaneListener listener : this) {
+                listener.orientationChanged(fillPane);
+            }
+        }
+    }
+
+    private Orientation orientation = null;
+    private FillPaneListenerList fillPaneListeners = new FillPaneListenerList();
+
+    public FillPane() {
+        this(Orientation.HORIZONTAL);
+    }
+
+    public FillPane(Orientation orientation) {
+        setOrientation(orientation);
+
+        installSkin(FillPane.class);
+    }
+
+    public Orientation getOrientation() {
+        return orientation;
+    }
+
+    public void setOrientation(Orientation orientation) {
+        if (orientation == null) {
+            throw new IllegalArgumentException();
+        }
+
+        if (this.orientation != orientation) {
+            this.orientation = orientation;
+            fillPaneListeners.orientationChanged(this);
+        }
+    }
+
+    public ListenerList<FillPaneListener> getFillPaneListeners() {
+        return fillPaneListeners;
+    }
+}

Propchange: pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java
------------------------------------------------------------------------------
    svn:eol-style = native