incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r555801 - /incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal
Date Thu, 12 Jul 2007 22:32:42 GMT
Author: jmargaris
Date: Thu Jul 12 15:32:39 2007
New Revision: 555801

URL: http://svn.apache.org/viewvc?view=rev&rev=555801
Log:
For Michael Mikhaylov: https://issues.apache.org/jira/browse/XAP-489

Added:
    incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal

Added: incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal?view=auto&rev=555801
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal (added)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal Thu
Jul 12 15:32:39 2007
@@ -0,0 +1,239 @@
+<!--
+ - 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.
+ -
+-->
+
+<verticalBoxPane width="500px" xmlns="http://openxal.org/ui" align="left" fontSize="14px"
backgroundColor="#EEEEEE" padding="10px">
+
+	<label height="25px" text="Table-specific tests:" fontWeight="bold"/>
+
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="altColor"/>
+		<radioButton group="altColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="altColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="altColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="altBackgroundColor"/>
+		<radioButton group="altBackgroundColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="altBackgroundColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="altBackgroundColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="highlightColor"/>
+		<radioButton group="highlightColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="highlightColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="highlightColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="highlightBackgroundColor"/>
+		<radioButton group="highlightBackgroundColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="highlightBackgroundColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="highlightBackgroundColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="horizontalLineColor"/>
+		<radioButton group="horizontalLineColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="horizontalLineColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="horizontalLineColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="verticalLineColor"/>
+		<radioButton group="verticalLineColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="verticalLineColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="verticalLineColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	
+	<label text=" " height="25px"/>
+	
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="collapsedImage"/>
+		<radioButton group="collapsedImage" width="150px" text="images/tree_folderclosed_alt.gif"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="collapsedImage" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="expandedImage"/>
+		<radioButton group="expandedImage" width="150px" text="images/tree_folderopen_alt.gif"
+			onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+			onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+		<radioButton group="expandedImage" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+	</horizontalBoxPane>
+	
+	<label text=" " height="25px"/>
+	
+	
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="horizontalAlignment:"/>
+		<radioButton group="horizontalAlignment" width="50px" text="left"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="horizontalAlignment" width="50px" text="center"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="horizontalAlignment" width="50px" text="right"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="horizontalAlignment" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+	
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="backgroundImage:"/>
+		<radioButton group="backgroundImage" width="150px" text="images/background.JPG"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="backgroundImage" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+	
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="color:"/>
+		<radioButton group="color" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="color" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="color" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="backgroundColor:"/>
+		<radioButton group="backgroundColor" width="75px" text="red"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="backgroundColor" width="75px" text="#33cccc"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="backgroundColor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+
+	<horizontalBoxPane width="500px">
+		<label width="200px" padding="3px 0px 0px 0px" text="cursor:"/>
+		<radioButton group="cursor" width="75px" text="wait"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="cursor" width="75px" text="crosshair"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="cursor" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+
+
+	<label text=" " height="25px"/>
+
+	<horizontalBoxPane width="500px">
+		<label width="120px" text="textAlign:"/>
+		<radioButton group="textAlign" width="75px" text="left"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="textAlign" width="75px" text="center"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="textAlign" width="75px" text="right"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="textAlign" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+
+	<horizontalBoxPane width="500px">
+		<label width="120px" text="textDecoration:"/>
+		<radioButton group="textDecoration" width="75px" text="overline"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="textDecoration" width="75px" text="underline"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="textDecoration" width="75px" text="none"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="textDecoration" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+
+	<horizontalBoxPane width="500px">
+		<label width="120px" text="fontWeight:"/>
+		<radioButton group="fontWeight" width="75px" text="lighter"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontWeight" width="75px" text="bold"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontWeight" width="75px" text="bolder"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontWeight" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+	
+	<horizontalBoxPane width="500px">
+		<label width="120px" text="fontFamily:"/>
+		<radioButton group="fontFamily" width="75px" text="serif"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontFamily" width="75px" text="sans-serif"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontFamily" width="75px" text="monospace"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontFamily" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+	
+	<horizontalBoxPane width="500px">
+		<label width="120px" text="fontStyle:"/>
+		<radioButton group="fontStyle" width="75px" text="normal"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontStyle" width="75px" text="italic"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontStyle" width="75px" text="oblique"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontStyle" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+	
+	<horizontalBoxPane width="500px">
+		<label width="120px" text="fontSize:"/>
+		<radioButton group="fontSize" width="75px" text="8px"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontSize" width="75px" text="12px"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontSize" width="75px" text="24px"
+			onSelect="mco:attributeSetter.setAttribute(column1, this.group, this.text)"/>
+		<radioButton group="fontSize" width="75px" text="(none)"
+			onSelect="mco:attributeSetter.removeAttribute(column1, this.group)"/>
+	</horizontalBoxPane>
+	
+
+</verticalBoxPane>



Mime
View raw message