blob: 7745127b5c3d1a56291e375489ae893ef9c58f15 [file] [log] [blame]
<?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.
//
////////////////////////////////////////////////////////////////////////////////
-->
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
xmlns:js="library://ns.apache.org/royale/basic"
>
<fx:Script>
<![CDATA[
import org.apache.royale.css2.Cursors;
private const dp:Array = [Cursors.AUTO, Cursors.DEFAULT, Cursors.POINTER, Cursors.MOVE, Cursors.TEXT,
"alias", "all-scroll", "cell", "context-menu", "col-resize", "copy", "crosshair",
"e-resize", "ew-resize", "help", "n-resize", "nw-resize", "nwse-resize", "no-drop",
"not-allowed", "progress", "row-resize", "s-resize", "se-resize", "sw-resize",
"vertical-text", "w-resize", "wait", "zoom-in", "zoom-out"]
]]>
</fx:Script>
<fx:Style>
@namespace models "models.*";
@namespace controllers "controllers.*";
@namespace js "library://ns.apache.org/royale/basic";
@media -royale-swf
{
global
{
copy: ClassReference("org.apache.royale.css2.Copy");
}
}
</fx:Style>
<js:beads>
<js:ApplicationDataBinding />
</js:beads>
<js:valuesImpl>
<js:SimpleCSSValuesImpl />
</js:valuesImpl>
<js:initialView>
<js:View width="100%" height="100%" >
<js:beads>
<js:BasicLayout />
</js:beads>
<js:Label id="foo" text="foo" x="10" y="10"/>
<js:Label id="bar" text="bar" x="10" y="100"/>
<js:DropDownList id="ddlfoo" dataProvider="{dp}" x="100" y="10" change="Cursors.setCursor(foo, ddlfoo.selectedItem as String)"/>
<js:DropDownList id="ddlbar" dataProvider="{dp}" x="100" y="100" change="Cursors.setCursor(bar, ddlbar.selectedItem as String)"/>
</js:View>
</js:initialView>
</js:Application>