Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Pivot965Main.java ------------------------------------------------------------------------------ svn:eol-style = native
Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Window965.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Window965.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Window965.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Window965.bxml Tue Oct 31 19:15:47 2023 @@ -1,49 +1,49 @@ -<?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="Privileged Actions" maximized="true" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns="org.apache.pivot.wtk"> - - <bxml:script type="text/javascript"> - function isNull(value) { - return value == null; - } - - function isNotNull(value) { - return value != null; - } - - function toUpperCase(value) { - return value.toUpperCase(); - } - </bxml:script> - <Border> - <Form> - <Form.Section heading="One-Way Binding"> - <TextInput bxml:id="textInput" Form.label="Text Input"/> - <Label Form.label="Text" text="${textInput.text}"/> - <Label Form.label="Uppercase Text" text="${toUpperCase:textInput.text}"/> - </Form.Section> - - <bxml:include src="IncludedSection965.bxml" inline="true"/> - - </Form> - </Border> - -</Window> +<?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="Privileged Actions" maximized="true" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns="org.apache.pivot.wtk"> + + <bxml:script type="text/javascript"> + function isNull(value) { + return value == null; + } + + function isNotNull(value) { + return value != null; + } + + function toUpperCase(value) { + return value.toUpperCase(); + } + </bxml:script> + <Border> + <Form> + <Form.Section heading="One-Way Binding"> + <TextInput bxml:id="textInput" Form.label="Text Input"/> + <Label Form.label="Text" text="${textInput.text}"/> + <Label Form.label="Uppercase Text" text="${toUpperCase:textInput.text}"/> + </Form.Section> + + <bxml:include src="IncludedSection965.bxml" inline="true"/> + + </Form> + </Border> + +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Window965.bxml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_843_test.dib ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Oct 31 19:15:47 2023 @@ -1 +1 @@ -image/x-ms-bmp +image/bmp Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_880.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_880.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_880.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_880.bxml Tue Oct 31 19:15:47 2023 @@ -1,91 +1,91 @@ -<?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="Pivot-880" maximized="true" - bxml:id="window" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns="org.apache.pivot.wtk" -> - <bxml:script> - <![CDATA[ - importPackage(java.lang); // required to use System.out and System.err - // importPackage(org.apache.pivot.collections); // for collections - importPackage(org.apache.pivot.beans); // for BXMLSerializer - importPackage(org.apache.pivot.util); // for some useful stuff - importPackage(org.apache.pivot.wtk); // for application and other wtk classes - - System.out.println("inline script 1 - start"); - System.out.println("current window = " + window); - - // JS variables for (remote) resources - var bxmlSerializer = new BXMLSerializer(); // trick, create a new instance of BXMLSerializer ... - System.out.println("bxmlSerializer is " + bxmlSerializer); - -function openFileBrowser(root) { - System.out.println("Opening FileBrowserSheet with the given folder \"" + root + "\" as root"); - - var fileBrowser = null; - if (root == undefined || root == null || root.length < 1) - fileBrowser = new FileBrowserSheet(); - else { - // fileBrowser = new FileBrowserSheet(FileBrowserSheet.Mode.OPEN, root); // ok in Java, but not from JavaScript ... - // fileBrowser = new FileBrowserSheet(); - // fileBrowser.setRootFolder(root); - // using the new constructor in FileBrowserSheet - fileBrowser = new FileBrowserSheet(root); - } - - fileBrowser.open(window, null); -} - - System.out.println("inline script 1 - end"); - ]]> - </bxml:script> - - <Border styles="{padding:6}"> - <TablePane> - <columns> - <TablePane.Column width="1*"/> - </columns> - <TablePane.Row height="-1"> - <FlowPane styles="{padding:2, alignToBaseline:true}"> - <TextInput bxml:id="textInput" prompt="Write here the \\server\share to open" textSize="30"/> - <Label text=" "/> - <PushButton bxml:id="selectFolderButton" buttonData="Open Folder"> - <buttonPressListeners> - function buttonPressed(button) { - if (textInput.text.length() > 0) - openFileBrowser(textInput.text); - } - </buttonPressListeners> - </PushButton> - </FlowPane> - </TablePane.Row> - <TablePane.Row height="-1"> - <FlowPane styles="{padding:2, alignToBaseline:true}"> - <TextArea editable="false" preferredWidth="400" styles="{}" - text="Note: for this test you have to select a network folder, using the UNC format (typical of a Windows environment)" - /> - </FlowPane> - </TablePane.Row> - <TablePane.Row height="-1"> - <Label text=" "/> <!-- spacer --> - </TablePane.Row> - </TablePane> - </Border> -</Window> +<?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="Pivot-880" maximized="true" + bxml:id="window" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns="org.apache.pivot.wtk" +> + <bxml:script> + <![CDATA[ + importPackage(java.lang); // required to use System.out and System.err + // importPackage(org.apache.pivot.collections); // for collections + importPackage(org.apache.pivot.beans); // for BXMLSerializer + importPackage(org.apache.pivot.util); // for some useful stuff + importPackage(org.apache.pivot.wtk); // for application and other wtk classes + + System.out.println("inline script 1 - start"); + System.out.println("current window = " + window); + + // JS variables for (remote) resources + var bxmlSerializer = new BXMLSerializer(); // trick, create a new instance of BXMLSerializer ... + System.out.println("bxmlSerializer is " + bxmlSerializer); + +function openFileBrowser(root) { + System.out.println("Opening FileBrowserSheet with the given folder \"" + root + "\" as root"); + + var fileBrowser = null; + if (root == undefined || root == null || root.length < 1) + fileBrowser = new FileBrowserSheet(); + else { + // fileBrowser = new FileBrowserSheet(FileBrowserSheet.Mode.OPEN, root); // ok in Java, but not from JavaScript ... + // fileBrowser = new FileBrowserSheet(); + // fileBrowser.setRootFolder(root); + // using the new constructor in FileBrowserSheet + fileBrowser = new FileBrowserSheet(root); + } + + fileBrowser.open(window, null); +} + + System.out.println("inline script 1 - end"); + ]]> + </bxml:script> + + <Border styles="{padding:6}"> + <TablePane> + <columns> + <TablePane.Column width="1*"/> + </columns> + <TablePane.Row height="-1"> + <FlowPane styles="{padding:2, alignToBaseline:true}"> + <TextInput bxml:id="textInput" prompt="Write here the \\server\share to open" textSize="30"/> + <Label text=" "/> + <PushButton bxml:id="selectFolderButton" buttonData="Open Folder"> + <buttonPressListeners> + function buttonPressed(button) { + if (textInput.text.length() > 0) + openFileBrowser(textInput.text); + } + </buttonPressListeners> + </PushButton> + </FlowPane> + </TablePane.Row> + <TablePane.Row height="-1"> + <FlowPane styles="{padding:2, alignToBaseline:true}"> + <TextArea editable="false" preferredWidth="400" styles="{}" + text="Note: for this test you have to select a network folder, using the UNC format (typical of a Windows environment)" + /> + </FlowPane> + </TablePane.Row> + <TablePane.Row height="-1"> + <Label text=" "/> <!-- spacer --> + </TablePane.Row> + </TablePane> + </Border> +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_880.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_888.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_888.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_888.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_888.bxml Tue Oct 31 19:15:47 2023 @@ -1,36 +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="Pivot-880" maximized="true" - bxml:id="window" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns="org.apache.pivot.wtk" -> - -<Form> - <Form.Section> - <TextInput bxml:id="textInput" text="${textArea.text}"/> - <Border> - <FillPane minimumWidth="300" minimumHeight="100"> - <TextArea bxml:id="textArea" text="${textInput.text}"/> - </FillPane> - </Border> - </Form.Section> -</Form> - -</Window> +<?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="Pivot-880" maximized="true" + bxml:id="window" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns="org.apache.pivot.wtk" +> + +<Form> + <Form.Section> + <TextInput bxml:id="textInput" text="${textArea.text}"/> + <Border> + <FillPane minimumWidth="300" minimumHeight="100"> + <TextArea bxml:id="textArea" text="${textInput.text}"/> + </FillPane> + </Border> + </Form.Section> +</Form> + +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_888.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_901.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_901.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_901.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_901.bxml Tue Oct 31 19:15:47 2023 @@ -1,71 +1,71 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- -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="List Views [PIVOT-901]" maximized="true" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns:app="org.apache.pivot.tests.issues" - xmlns:content="org.apache.pivot.wtk.content" - xmlns="org.apache.pivot.wtk" -> - - <bxml:script> - <![CDATA[ - importPackage(java.lang); // required to use System.out and System.err - importPackage(org.apache.pivot.util); // required to use Pivot Utility class Console - importPackage(org.apache.pivot.wtk); // required to use Pivot WTK classes - - System.out.println("BXML Scripts successfully initialized"); - ]]> - </bxml:script> - - - <BoxPane orientation="vertical"> - - <Border> - - <BoxPane orientation="vertical"> - <!-- Test appearance when ListButton has an empty value as first element --> - <Label text="Select one element (listDataKey not set):"/> - <ListButton bxml:id="listButton" buttonData="Number" - listData="['', 'One', 'Two', 'Three']" - > - <listButtonSelectionListeners> - function selectedIndexChanged(listButton, previousSelectedIndex) { - System.out.println("selectedIndexChanged: was " + previousSelectedIndex + ", now it's " + listButton.selectedIndex); - } - </listButtonSelectionListeners> - </ListButton> - - <PushButton bxml:id="button" buttonData="Log Selected"> - <buttonPressListeners> - function buttonPressed(button) { - System.out.println("Select item at index " + listButton.getSelectedIndex() + " in the list, with:" - + ", item = { " + listButton.getSelectedItem() + " }" - + ", key " + listButton.getSelectedItemKey() - + "." - ); - } - </buttonPressListeners> - </PushButton> - </BoxPane> - - </Border> - - </BoxPane> - -</Window> +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- +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="List Views [PIVOT-901]" maximized="true" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns:app="org.apache.pivot.tests.issues" + xmlns:content="org.apache.pivot.wtk.content" + xmlns="org.apache.pivot.wtk" +> + + <bxml:script> + <![CDATA[ + importPackage(java.lang); // required to use System.out and System.err + importPackage(org.apache.pivot.util); // required to use Pivot Utility class Console + importPackage(org.apache.pivot.wtk); // required to use Pivot WTK classes + + System.out.println("BXML Scripts successfully initialized"); + ]]> + </bxml:script> + + + <BoxPane orientation="vertical"> + + <Border> + + <BoxPane orientation="vertical"> + <!-- Test appearance when ListButton has an empty value as first element --> + <Label text="Select one element (listDataKey not set):"/> + <ListButton bxml:id="listButton" buttonData="Number" + listData="['', 'One', 'Two', 'Three']" + > + <listButtonSelectionListeners> + function selectedIndexChanged(listButton, previousSelectedIndex) { + System.out.println("selectedIndexChanged: was " + previousSelectedIndex + ", now it's " + listButton.selectedIndex); + } + </listButtonSelectionListeners> + </ListButton> + + <PushButton bxml:id="button" buttonData="Log Selected"> + <buttonPressListeners> + function buttonPressed(button) { + System.out.println("Select item at index " + listButton.getSelectedIndex() + " in the list, with:" + + ", item = { " + listButton.getSelectedItem() + " }" + + ", key " + listButton.getSelectedItemKey() + + "." + ); + } + </buttonPressListeners> + </PushButton> + </BoxPane> + + </Border> + + </BoxPane> + +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_901.bxml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/logo.svg ------------------------------------------------------------------------------ svn:mime-type = image/svg+xml Modified: pivot/trunk/tests/src/org/apache/pivot/tests/table_pane_test2.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/table_pane_test2.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/table_pane_test2.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/table_pane_test2.bxml Tue Oct 31 19:15:47 2023 @@ -1,121 +1,121 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one or more -contributor license agreements. See the NOTICE file distributed with -this work for additional information regarding copyright ownership. -The ASF licenses this file to you under the Apache License, -Version 2.0 (the "License"); you may not use this file except in -compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ---> - -<Window bxml:id="window" - title="TablePane Test2, with variable row height" maximized="true" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns:collections="org.apache.pivot.collections" - xmlns:content="org.apache.pivot.wtk.content" - xmlns="org.apache.pivot.wtk" -> - <bxml:script> - <![CDATA[ - importPackage(java.net); - importPackage(org.apache.pivot.util); - importPackage(org.apache.pivot.wtk); - importPackage(org.apache.pivot.wtk.media); - - var s = "ABCDE ABCDE ABCDE ABCDE"; - var s2 = "First Line.\nSecond Line."; - var b = true; - var n = 100.25; - var d = new CalendarDate(); - var location = new java.io.File("bin/" // add this to run from inside eclipse ... - + "org/apache/pivot/tests" // current package, view as folders - // + "/go-home.png" // image name - ).toURI().toURL(); - java.lang.System.out.println("location for the image to load = \"" + location + "\""); - var i = Image.load(new URL(location, "go-home.png")); - java.lang.System.out.println("image = " + i); - ]]> - </bxml:script> - - <TablePane - styles="{padding:6, verticalSpacing:8}" - > - <columns> - <TablePane.Column width="1*" /> - </columns> - - <TablePane.Row height="-1"> - <PushButton buttonData="Start"/> - </TablePane.Row> - <TablePane.Row height="-1"> - - <TableView> - <columns> - <TableView.Column name="value" width="-1"> - <cellRenderer> - <content:TableViewMultiCellRenderer> - <bxml:define> -<!-- // multiline - <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> -//--> -<!-- // no multiline - <content:TableViewMultiCellRenderer bxml:id="multilineCellRenderer"/> -//--> - <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> - - <content:TableViewBooleanCellRenderer bxml:id="booleanCellRenderer"/> - <content:TableViewNumberCellRenderer bxml:id="numberCellRenderer"/> - <content:TableViewDateCellRenderer bxml:id="dateCellRenderer"/> - <content:TableViewImageCellRenderer bxml:id="imageCellRenderer" preferredHeight="40"/> - </bxml:define> - - <rendererMappings> -<!-- // no multiline - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.TextArea" - cellRenderer="$multilineCellRenderer"/> -//--> -<!-- // multiline - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" - cellRenderer="$multilineCellRenderer"/> -//--> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" - cellRenderer="$multilineCellRenderer"/> - - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Boolean" - cellRenderer="$booleanCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Number" - cellRenderer="$numberCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.util.CalendarDate" - cellRenderer="$dateCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.media.Image" - cellRenderer="$imageCellRenderer"/> - </rendererMappings> - </content:TableViewMultiCellRenderer> - </cellRenderer> - </TableView.Column> - - <TableView.Column width="1*"/> - </columns> - - <collections:HashMap value="$s"/> - <collections:HashMap value="$s2"/> - <collections:HashMap value="$b"/> - <collections:HashMap value="$n"/> - <collections:HashMap value="$d"/> - <collections:HashMap value="$i"/> - </TableView> - - </TablePane.Row> - <TablePane.Row height="-1"> - <PushButton buttonData="End"/> - </TablePane.Row> - </TablePane> -</Window> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, +Version 2.0 (the "License"); you may not use this file except in +compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<Window bxml:id="window" + title="TablePane Test2, with variable row height" maximized="true" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns:collections="org.apache.pivot.collections" + xmlns:content="org.apache.pivot.wtk.content" + xmlns="org.apache.pivot.wtk" +> + <bxml:script> + <![CDATA[ + importPackage(java.net); + importPackage(org.apache.pivot.util); + importPackage(org.apache.pivot.wtk); + importPackage(org.apache.pivot.wtk.media); + + var s = "ABCDE ABCDE ABCDE ABCDE"; + var s2 = "First Line.\nSecond Line."; + var b = true; + var n = 100.25; + var d = new CalendarDate(); + var location = new java.io.File("bin/" // add this to run from inside eclipse ... + + "org/apache/pivot/tests" // current package, view as folders + // + "/go-home.png" // image name + ).toURI().toURL(); + java.lang.System.out.println("location for the image to load = \"" + location + "\""); + var i = Image.load(new URL(location, "go-home.png")); + java.lang.System.out.println("image = " + i); + ]]> + </bxml:script> + + <TablePane + styles="{padding:6, verticalSpacing:8}" + > + <columns> + <TablePane.Column width="1*" /> + </columns> + + <TablePane.Row height="-1"> + <PushButton buttonData="Start"/> + </TablePane.Row> + <TablePane.Row height="-1"> + + <TableView> + <columns> + <TableView.Column name="value" width="-1"> + <cellRenderer> + <content:TableViewMultiCellRenderer> + <bxml:define> +<!-- // multiline + <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> +//--> +<!-- // no multiline + <content:TableViewMultiCellRenderer bxml:id="multilineCellRenderer"/> +//--> + <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> + + <content:TableViewBooleanCellRenderer bxml:id="booleanCellRenderer"/> + <content:TableViewNumberCellRenderer bxml:id="numberCellRenderer"/> + <content:TableViewDateCellRenderer bxml:id="dateCellRenderer"/> + <content:TableViewImageCellRenderer bxml:id="imageCellRenderer" preferredHeight="40"/> + </bxml:define> + + <rendererMappings> +<!-- // no multiline + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.TextArea" + cellRenderer="$multilineCellRenderer"/> +//--> +<!-- // multiline + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" + cellRenderer="$multilineCellRenderer"/> +//--> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" + cellRenderer="$multilineCellRenderer"/> + + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Boolean" + cellRenderer="$booleanCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Number" + cellRenderer="$numberCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.util.CalendarDate" + cellRenderer="$dateCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.media.Image" + cellRenderer="$imageCellRenderer"/> + </rendererMappings> + </content:TableViewMultiCellRenderer> + </cellRenderer> + </TableView.Column> + + <TableView.Column width="1*"/> + </columns> + + <collections:HashMap value="$s"/> + <collections:HashMap value="$s2"/> + <collections:HashMap value="$b"/> + <collections:HashMap value="$n"/> + <collections:HashMap value="$d"/> + <collections:HashMap value="$i"/> + </TableView> + + </TablePane.Row> + <TablePane.Row height="-1"> + <PushButton buttonData="End"/> + </TablePane.Row> + </TablePane> +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/table_pane_test2.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test4.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test4.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test4.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test4.bxml Tue Oct 31 19:15:47 2023 @@ -1,103 +1,103 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one or more -contributor license agreements. See the NOTICE file distributed with -this work for additional information regarding copyright ownership. -The ASF licenses this file to you under the Apache License, -Version 2.0 (the "License"); you may not use this file except in -compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ---> - -<Window bxml:id="window" - title="Table View Test4, with renderer for multi-line texts" maximized="true" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns:collections="org.apache.pivot.collections" - xmlns:content="org.apache.pivot.wtk.content" - xmlns="org.apache.pivot.wtk" -> - <bxml:script> - <![CDATA[ - importPackage(java.net); - importPackage(org.apache.pivot.util); - importPackage(org.apache.pivot.wtk); - importPackage(org.apache.pivot.wtk.media); - - var s = "ABCDE ABCDE ABCDE ABCDE"; - var s2 = "First Line.\nSecond Line."; - var b = true; - var n = 100.25; - var d = new CalendarDate(); - var location = new java.io.File("bin/" // add this to run from inside eclipse ... - + "org/apache/pivot/tests" // current package, view as folders - // + "/go-home.png" // image name - ).toURI().toURL(); - java.lang.System.out.println("location for the image to load = \"" + location + "\""); - var i = Image.load(new URL(location, "go-home.png")); - java.lang.System.out.println("image = " + i); - ]]> - </bxml:script> - - <TableView> - <columns> - <TableView.Column name="value" width="-1"> - <cellRenderer> - <content:TableViewMultiCellRenderer> - <bxml:define> -<!-- // multiline - <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> -//--> -<!-- // no multiline - <content:TableViewMultiCellRenderer bxml:id="multilineCellRenderer"/> -//--> - <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> - - <content:TableViewBooleanCellRenderer bxml:id="booleanCellRenderer"/> - <content:TableViewNumberCellRenderer bxml:id="numberCellRenderer"/> - <content:TableViewDateCellRenderer bxml:id="dateCellRenderer"/> - <content:TableViewImageCellRenderer bxml:id="imageCellRenderer" preferredHeight="40"/> - </bxml:define> - - <rendererMappings> -<!-- // no multiline - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.TextArea" - cellRenderer="$multilineCellRenderer"/> -//--> -<!-- // multiline - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" - cellRenderer="$multilineCellRenderer"/> -//--> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" - cellRenderer="$multilineCellRenderer"/> - - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Boolean" - cellRenderer="$booleanCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Number" - cellRenderer="$numberCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.util.CalendarDate" - cellRenderer="$dateCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.media.Image" - cellRenderer="$imageCellRenderer"/> - </rendererMappings> - </content:TableViewMultiCellRenderer> - </cellRenderer> - </TableView.Column> - - <TableView.Column width="1*"/> - </columns> - - <collections:HashMap value="$s"/> - <collections:HashMap value="$s2"/> - <collections:HashMap value="$b"/> - <collections:HashMap value="$n"/> - <collections:HashMap value="$d"/> - <collections:HashMap value="$i"/> - </TableView> -</Window> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, +Version 2.0 (the "License"); you may not use this file except in +compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<Window bxml:id="window" + title="Table View Test4, with renderer for multi-line texts" maximized="true" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns:collections="org.apache.pivot.collections" + xmlns:content="org.apache.pivot.wtk.content" + xmlns="org.apache.pivot.wtk" +> + <bxml:script> + <![CDATA[ + importPackage(java.net); + importPackage(org.apache.pivot.util); + importPackage(org.apache.pivot.wtk); + importPackage(org.apache.pivot.wtk.media); + + var s = "ABCDE ABCDE ABCDE ABCDE"; + var s2 = "First Line.\nSecond Line."; + var b = true; + var n = 100.25; + var d = new CalendarDate(); + var location = new java.io.File("bin/" // add this to run from inside eclipse ... + + "org/apache/pivot/tests" // current package, view as folders + // + "/go-home.png" // image name + ).toURI().toURL(); + java.lang.System.out.println("location for the image to load = \"" + location + "\""); + var i = Image.load(new URL(location, "go-home.png")); + java.lang.System.out.println("image = " + i); + ]]> + </bxml:script> + + <TableView> + <columns> + <TableView.Column name="value" width="-1"> + <cellRenderer> + <content:TableViewMultiCellRenderer> + <bxml:define> +<!-- // multiline + <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> +//--> +<!-- // no multiline + <content:TableViewMultiCellRenderer bxml:id="multilineCellRenderer"/> +//--> + <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> + + <content:TableViewBooleanCellRenderer bxml:id="booleanCellRenderer"/> + <content:TableViewNumberCellRenderer bxml:id="numberCellRenderer"/> + <content:TableViewDateCellRenderer bxml:id="dateCellRenderer"/> + <content:TableViewImageCellRenderer bxml:id="imageCellRenderer" preferredHeight="40"/> + </bxml:define> + + <rendererMappings> +<!-- // no multiline + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.TextArea" + cellRenderer="$multilineCellRenderer"/> +//--> +<!-- // multiline + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" + cellRenderer="$multilineCellRenderer"/> +//--> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" + cellRenderer="$multilineCellRenderer"/> + + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Boolean" + cellRenderer="$booleanCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Number" + cellRenderer="$numberCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.util.CalendarDate" + cellRenderer="$dateCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.media.Image" + cellRenderer="$imageCellRenderer"/> + </rendererMappings> + </content:TableViewMultiCellRenderer> + </cellRenderer> + </TableView.Column> + + <TableView.Column width="1*"/> + </columns> + + <collections:HashMap value="$s"/> + <collections:HashMap value="$s2"/> + <collections:HashMap value="$b"/> + <collections:HashMap value="$n"/> + <collections:HashMap value="$d"/> + <collections:HashMap value="$i"/> + </TableView> +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test4.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test_empty.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test_empty.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test_empty.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test_empty.bxml Tue Oct 31 19:15:47 2023 @@ -1,97 +1,97 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one or more -contributor license agreements. See the NOTICE file distributed with -this work for additional information regarding copyright ownership. -The ASF licenses this file to you under the Apache License, -Version 2.0 (the "License"); you may not use this file except in -compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ---> - -<Window bxml:id="window" - title="Table View Test, without data" maximized="true" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns:collections="org.apache.pivot.collections" - xmlns:content="org.apache.pivot.wtk.content" - xmlns="org.apache.pivot.wtk" -> - <bxml:script> - <![CDATA[ - importPackage(java.net); - importPackage(org.apache.pivot.util); - importPackage(org.apache.pivot.wtk); - importPackage(org.apache.pivot.wtk.media); - - var s = "ABCDE ABCDE ABCDE ABCDE"; - var s2 = "First Line.\nSecond Line."; - var b = true; - var n = 100.25; - var d = new CalendarDate(); - var location = new java.io.File("bin/" // add this to run from inside eclipse ... - + "org/apache/pivot/tests" // current package, view as folders - // + "/go-home.png" // image name - ).toURI().toURL(); - java.lang.System.out.println("location for the image to load = \"" + location + "\""); - var i = Image.load(new URL(location, "go-home.png")); - java.lang.System.out.println("image = " + i); - ]]> - </bxml:script> - - <TableView> - <columns> - <TableView.Column name="value" width="-1"> - <cellRenderer> - <content:TableViewMultiCellRenderer> - <bxml:define> -<!-- // multiline - <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> -//--> -<!-- // no multiline - <content:TableViewMultiCellRenderer bxml:id="multilineCellRenderer"/> -//--> - <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> - - <content:TableViewBooleanCellRenderer bxml:id="booleanCellRenderer"/> - <content:TableViewNumberCellRenderer bxml:id="numberCellRenderer"/> - <content:TableViewDateCellRenderer bxml:id="dateCellRenderer"/> - <content:TableViewImageCellRenderer bxml:id="imageCellRenderer"/> - </bxml:define> - - <rendererMappings> -<!-- // no multiline - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.TextArea" - cellRenderer="$multilineCellRenderer"/> -//--> -<!-- // multiline - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" - cellRenderer="$multilineCellRenderer"/> -//--> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" - cellRenderer="$multilineCellRenderer"/> - - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Boolean" - cellRenderer="$booleanCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Number" - cellRenderer="$numberCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.util.CalendarDate" - cellRenderer="$dateCellRenderer"/> - <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.media.Image" - cellRenderer="$imageCellRenderer"/> - </rendererMappings> - </content:TableViewMultiCellRenderer> - </cellRenderer> - </TableView.Column> - - <TableView.Column width="1*"/> - </columns> - - </TableView> -</Window> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, +Version 2.0 (the "License"); you may not use this file except in +compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<Window bxml:id="window" + title="Table View Test, without data" maximized="true" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns:collections="org.apache.pivot.collections" + xmlns:content="org.apache.pivot.wtk.content" + xmlns="org.apache.pivot.wtk" +> + <bxml:script> + <![CDATA[ + importPackage(java.net); + importPackage(org.apache.pivot.util); + importPackage(org.apache.pivot.wtk); + importPackage(org.apache.pivot.wtk.media); + + var s = "ABCDE ABCDE ABCDE ABCDE"; + var s2 = "First Line.\nSecond Line."; + var b = true; + var n = 100.25; + var d = new CalendarDate(); + var location = new java.io.File("bin/" // add this to run from inside eclipse ... + + "org/apache/pivot/tests" // current package, view as folders + // + "/go-home.png" // image name + ).toURI().toURL(); + java.lang.System.out.println("location for the image to load = \"" + location + "\""); + var i = Image.load(new URL(location, "go-home.png")); + java.lang.System.out.println("image = " + i); + ]]> + </bxml:script> + + <TableView> + <columns> + <TableView.Column name="value" width="-1"> + <cellRenderer> + <content:TableViewMultiCellRenderer> + <bxml:define> +<!-- // multiline + <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> +//--> +<!-- // no multiline + <content:TableViewMultiCellRenderer bxml:id="multilineCellRenderer"/> +//--> + <content:TableViewTextAreaCellRenderer bxml:id="multilineCellRenderer"/> + + <content:TableViewBooleanCellRenderer bxml:id="booleanCellRenderer"/> + <content:TableViewNumberCellRenderer bxml:id="numberCellRenderer"/> + <content:TableViewDateCellRenderer bxml:id="dateCellRenderer"/> + <content:TableViewImageCellRenderer bxml:id="imageCellRenderer"/> + </bxml:define> + + <rendererMappings> +<!-- // no multiline + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.TextArea" + cellRenderer="$multilineCellRenderer"/> +//--> +<!-- // multiline + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" + cellRenderer="$multilineCellRenderer"/> +//--> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.String" + cellRenderer="$multilineCellRenderer"/> + + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Boolean" + cellRenderer="$booleanCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="java.lang.Number" + cellRenderer="$numberCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.util.CalendarDate" + cellRenderer="$dateCellRenderer"/> + <content:TableViewMultiCellRenderer.RendererMapping valueClass="org.apache.pivot.wtk.media.Image" + cellRenderer="$imageCellRenderer"/> + </rendererMappings> + </content:TableViewMultiCellRenderer> + </cellRenderer> + </TableView.Column> + + <TableView.Column width="1*"/> + </columns> + + </TableView> +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test_empty.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_defaults_test.json URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_defaults_test.json?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_defaults_test.json (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_defaults_test.json Tue Oct 31 19:15:47 2023 @@ -1,44 +1,44 @@ -/* - * 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. - */ - -/* - * Default styles (colors, padding, etc.) for each of the TerraThemeXXXSkin classes. - */ -{ - TerraExpanderSkin : { - backgroundColor : 4, - titleBarBackgroundColor : 10, - titleBarBorderColor : 7, - titleBarColor : 12, - shadeButtonColor : 12, - disabledShadeButtonColor : 7, - borderColor : 7, - padding : 4 - }, - - TerraRollupSkin : { - buttonColor : 1, - disabledButtonColor : 7, - spacing : 4, - buffer : 4, - fill : false, - headingToggles : true - } - - /* More to come ... */ - -} +/* + * 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. + */ + +/* + * Default styles (colors, padding, etc.) for each of the TerraThemeXXXSkin classes. + */ +{ + TerraExpanderSkin : { + backgroundColor : 4, + titleBarBackgroundColor : 10, + titleBarBorderColor : 7, + titleBarColor : 12, + shadeButtonColor : 12, + disabledShadeButtonColor : 7, + borderColor : 7, + padding : 4 + }, + + TerraRollupSkin : { + buttonColor : 1, + disabledButtonColor : 7, + spacing : 4, + buffer : 4, + fill : false, + headingToggles : true + } + + /* More to come ... */ + +} Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_defaults_test.json ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_styles_test.json URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_styles_test.json?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_styles_test.json (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_styles_test.json Tue Oct 31 19:15:47 2023 @@ -1,27 +1,27 @@ -/* - * 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. - */ -{ commandButton: { - font: {bold:true}, - color: 4, - backgroundColor: 14, - borderColor: 12, - disabledBackgroundColor: 10, - disabledBorderColor: 7, - padding: {top:3, left:4, bottom:3, right:4}, - minimumAspectRatio: 3 - } -} +/* + * 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. + */ +{ commandButton: { + font: {bold:true}, + color: 4, + backgroundColor: 14, + borderColor: 12, + disabledBackgroundColor: 10, + disabledBorderColor: 7, + padding: {top:3, left:4, bottom:3, right:4}, + minimumAspectRatio: 3 + } +} Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_styles_test.json ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/tooltip_test.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/tooltip_test.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/tooltip_test.bxml (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/tooltip_test.bxml Tue Oct 31 19:15:47 2023 @@ -1,81 +1,81 @@ -<?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="Test BXML" maximized="true" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns:collections="org.apache.pivot.collections" - xmlns:content="org.apache.pivot.wtk.content" - xmlns="org.apache.pivot.wtk" -> - - <BoxPane orientation="vertical" styles="{padding:4, verticalAlignment:'center'}"> - <FlowPane> - <Label text="Multi-line Label:" - tooltipText="multi-line tooltip for the Label" - styles="{wrapText:true}" - /> - <PushButton bxml:id="pushButton" buttonData="Button with multi-line tooltip" - tooltipText="multi-line tooltip for the Button" - /> - </FlowPane> - <Separator/> - <FlowPane> - <Label text="Select one element:"/> - <ListButton bxml:id="listButton2" buttonData="Number" - listData="['One', 'Two', 'Three']" - tooltipText="multi-line tooltip for the List" - /> - </FlowPane> - <Separator/> - <FlowPane> - <Label text="TableView:"/> - <TableView bxml:id="tableView" styles="{variableRowHeight:true, backgroundColor:'#ffeeee'}" - tooltipText="multi-line tooltip for the Table" - > - <columns> - <TableView.Column name="value" width="300"> - <cellRenderer> - <content:TableViewCellRenderer styles="{wrapText:true}"/> - </cellRenderer> - </TableView.Column> - - <TableView.Column width="1*"/> - </columns> - - <collections:HashMap value="Single Line"/> - <collections:HashMap value="Double
Line Line Line Line!"/> - <collections:HashMap value="Single Line"/> - <collections:HashMap value="Double
Line"/> - </TableView> - </FlowPane> - <Separator/> - <FlowPane> - <Label text="Multi-line Label2:" - tooltipText="multi-line tooltip for the Label, but with wrapText false" - tooltipWrapText="false" - styles="{wrapText:true}" - /> - <PushButton buttonData="Button 2" - tooltipText="multi-line tooltip for the Button, but with wrapText false" - tooltipWrapText="false" - /> - </FlowPane> - <Separator/> - </BoxPane> - -</Window> +<?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="Test BXML" maximized="true" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns:collections="org.apache.pivot.collections" + xmlns:content="org.apache.pivot.wtk.content" + xmlns="org.apache.pivot.wtk" +> + + <BoxPane orientation="vertical" styles="{padding:4, verticalAlignment:'center'}"> + <FlowPane> + <Label text="Multi-line Label:" + tooltipText="multi-line tooltip for the Label" + styles="{wrapText:true}" + /> + <PushButton bxml:id="pushButton" buttonData="Button with multi-line tooltip" + tooltipText="multi-line tooltip for the Button" + /> + </FlowPane> + <Separator/> + <FlowPane> + <Label text="Select one element:"/> + <ListButton bxml:id="listButton2" buttonData="Number" + listData="['One', 'Two', 'Three']" + tooltipText="multi-line tooltip for the List" + /> + </FlowPane> + <Separator/> + <FlowPane> + <Label text="TableView:"/> + <TableView bxml:id="tableView" styles="{variableRowHeight:true, backgroundColor:'#ffeeee'}" + tooltipText="multi-line tooltip for the Table" + > + <columns> + <TableView.Column name="value" width="300"> + <cellRenderer> + <content:TableViewCellRenderer styles="{wrapText:true}"/> + </cellRenderer> + </TableView.Column> + + <TableView.Column width="1*"/> + </columns> + + <collections:HashMap value="Single Line"/> + <collections:HashMap value="Double
Line Line Line Line!"/> + <collections:HashMap value="Single Line"/> + <collections:HashMap value="Double
Line"/> + </TableView> + </FlowPane> + <Separator/> + <FlowPane> + <Label text="Multi-line Label2:" + tooltipText="multi-line tooltip for the Label, but with wrapText false" + tooltipWrapText="false" + styles="{wrapText:true}" + /> + <PushButton buttonData="Button 2" + tooltipText="multi-line tooltip for the Button, but with wrapText false" + tooltipWrapText="false" + /> + </FlowPane> + <Separator/> + </BoxPane> + +</Window> Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/tooltip_test.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tests/src/org/apache/pivot/tests/utilities_script.js URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/utilities_script.js?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tests/src/org/apache/pivot/tests/utilities_script.js (original) +++ pivot/trunk/tests/src/org/apache/pivot/tests/utilities_script.js Tue Oct 31 19:15:47 2023 @@ -1,36 +1,36 @@ -/* - * 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. - */ -importPackage(java.lang); // required to use System.out and System.err -importPackage(org.apache.pivot.collections); // required to use Pivot class ArrayList and other collections -importPackage(org.apache.pivot.util); // required to use Pivot Utility class Console -importPackage(org.apache.pivot.wtk); // required to use Pivot WTK classes - - -function log(msg) { - if (msg == undefined || msg == null || typeof msg != "string") - return ; - - System.out.println(msg); -} - -function logObject(msg) { - if (msg == undefined || msg == null) - return ; - - application.logObject(msg); -} - +/* + * 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. + */ +importPackage(java.lang); // required to use System.out and System.err +importPackage(org.apache.pivot.collections); // required to use Pivot class ArrayList and other collections +importPackage(org.apache.pivot.util); // required to use Pivot Utility class Console +importPackage(org.apache.pivot.wtk); // required to use Pivot WTK classes + + +function log(msg) { + if (msg == undefined || msg == null || typeof msg != "string") + return ; + + System.out.println(msg); +} + +function logObject(msg) { + if (msg == undefined || msg == null) + return ; + + application.logObject(msg); +} + Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/utilities_script.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/Calculator.java ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/asterisk_orange.png ------------------------------------------------------------------------------ --- svn:mime-type (original) +++ svn:mime-type Tue Oct 31 19:15:47 2023 @@ -1 +1 @@ -application/octet-stream +image/png Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/calculator.bxml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/calculator_styles.json ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/gauge.bxml URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/gauge.bxml?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/gauge.bxml (original) +++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/gauge.bxml Tue Oct 31 19:15:47 2023 @@ -1,26 +1,26 @@ -<?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. ---> - -<Gauge origin="NORTH" preferredWidth="80" preferredHeight="80" - type="Integer" minValue="0" maxValue="100" value="95" - warningLevel="70" criticalLevel="90" text="95%" - styles="{backgroundColor:null, criticalColor:23, - font:{size:20}, thickness:10.0, padding:4, - showTickMarks:true, tickFrequency:10}" - xmlns:bxml="http://pivot.apache.org/bxml" - xmlns="org.apache.pivot.wtk"/> +<?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. +--> + +<Gauge origin="NORTH" preferredWidth="80" preferredHeight="80" + type="Integer" minValue="0" maxValue="100" value="95" + warningLevel="70" criticalLevel="90" text="95%" + styles="{backgroundColor:null, criticalColor:23, + font:{size:20}, thickness:10.0, padding:4, + showTickMarks:true, tickFrequency:10}" + xmlns:bxml="http://pivot.apache.org/bxml" + xmlns="org.apache.pivot.wtk"/> Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/gauge.bxml ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/localization/Localization_ja.json URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/localization/Localization_ja.json?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/localization/Localization_ja.json (original) +++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/localization/Localization_ja.json Tue Oct 31 19:15:47 2023 @@ -1,25 +1,25 @@ -/* - * 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. - */ -{ firstName: "å", - lastName: "å§", - street: "çªå°", - city: "å¸åºçºæ", - state: "é½éåºç", - postalCode: "éµä¾¿çªå·", - country: "å½" -} - +/* + * 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. + */ +{ firstName: "å", + lastName: "å§", + street: "çªå°", + city: "å¸åºçºæ", + state: "é½éåºç", + postalCode: "éµä¾¿çªå·", + country: "å½" +} + Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/localization/Localization_ja.json ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/StockTrackerWindow_ja.json URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/StockTrackerWindow_ja.json?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/StockTrackerWindow_ja.json (original) +++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/StockTrackerWindow_ja.json Tue Oct 31 19:15:47 2023 @@ -1,31 +1,31 @@ -/* - * 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. - */ -{ stockTracker: "Pivot Stock Tracker", - symbol: "証å¸ã³ã¼ã", - companyName: "ä¼ç¤¾", - value: "éé¡", - openingValue: "å§å¤", - highValue: "é«", - lowValue: "ä½", - change: "åæ¥æ¯", - volume: "åºæ¥é«", - addSymbol: "証å¸ã³ã¼ãã追å ", - removeSymbol: "é¸æãã証å¸ã³ã¼ããåé¤", - lastUpdate: "æçµæ´æ°æ¥æ", - dataProvidedBy: "ãã¼ã¿ã®æä¾è ", - yahooFinance: "Yahoo! Finance" -} +/* + * 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. + */ +{ stockTracker: "Pivot Stock Tracker", + symbol: "証å¸ã³ã¼ã", + companyName: "ä¼ç¤¾", + value: "éé¡", + openingValue: "å§å¤", + highValue: "é«", + lowValue: "ä½", + change: "åæ¥æ¯", + volume: "åºæ¥é«", + addSymbol: "証å¸ã³ã¼ãã追å ", + removeSymbol: "é¸æãã証å¸ã³ã¼ããåé¤", + lastUpdate: "æçµæ´æ°æ¥æ", + dataProvidedBy: "ãã¼ã¿ã®æä¾è ", + yahooFinance: "Yahoo! Finance" +} Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/StockTrackerWindow_ja.json ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pivot/trunk/unsetenv ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/unsetenv.bat URL: http://svn.apache.org/viewvc/pivot/trunk/unsetenv.bat?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/unsetenv.bat (original) +++ pivot/trunk/unsetenv.bat Tue Oct 31 19:15:47 2023 @@ -1,19 +1,19 @@ -@echo off -:: -:: 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. -:: -if not "%CLASSPATH_OLD%"=="" (set CLASSPATH=%CLASSPATH_OLD%) && (set CLASSPATH_OLD=) -echo CLASSPATH=%CLASSPATH% +@echo off +:: +:: 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. +:: +if not "%CLASSPATH_OLD%"=="" (set CLASSPATH=%CLASSPATH_OLD%) && (set CLASSPATH_OLD=) +echo CLASSPATH=%CLASSPATH% Propchange: pivot/trunk/unsetenv.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin_ja.json URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin_ja.json?rev=1913470&r1=1913469&r2=1913470&view=diff ============================================================================== --- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin_ja.json (original) +++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin_ja.json Tue Oct 31 19:15:47 2023 @@ -1,18 +1,18 @@ -/* - * 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. - */ -{ weekdayCharacterIndex: 0 -} +/* + * 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. + */ +{ weekdayCharacterIndex: 0 +} Propchange: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin_ja.json ------------------------------------------------------------------------------ svn:eol-style = native