You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/04/24 08:16:44 UTC
[4/9] git commit: [flex-asjs] [refs/heads/develop] - remove
MXMLCClasses.SWC. We don't need it anymore
remove MXMLCClasses.SWC. We don't need it anymore
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/71b99233
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/71b99233
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/71b99233
Branch: refs/heads/develop
Commit: 71b99233fe0fa40afd98d16182591e5b92752dab
Parents: 95d0e5b
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 22 12:22:14 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 22 12:22:14 2015 -0700
----------------------------------------------------------------------
frameworks/as/projects/MXMLCClasses/build.xml | 75 -
.../as/projects/MXMLCClasses/compile-config.xml | 44 -
.../projects/MXMLCClasses/src/MXMLCClasses.as | 63 -
.../src/mx/binding/ArrayElementWatcher.as | 77 -
.../src/mx/binding/BindabilityInfo.as | 279 ----
.../MXMLCClasses/src/mx/binding/Binding.as | 85 --
.../src/mx/binding/BindingManager.as | 37 -
.../src/mx/binding/FunctionReturnWatcher.as | 129 --
.../src/mx/binding/IBindingClient.as | 33 -
.../src/mx/binding/IWatcherSetupUtil2.as | 47 -
.../src/mx/binding/PropertyWatcher.as | 148 --
.../src/mx/binding/RepeaterComponentWatcher.as | 74 -
.../src/mx/binding/RepeaterItemWatcher.as | 74 -
.../src/mx/binding/StaticPropertyWatcher.as | 136 --
.../MXMLCClasses/src/mx/binding/Watcher.as | 88 --
.../MXMLCClasses/src/mx/binding/XMLWatcher.as | 106 --
.../src/mx/core/DeferredInstanceFromClass.as | 115 --
.../src/mx/core/DeferredInstanceFromFunction.as | 131 --
.../MXMLCClasses/src/mx/core/FlexGlobals.as | 55 -
.../src/mx/core/IDeferredInstance.as | 51 -
.../src/mx/core/IFlexModuleFactory.as | 147 --
.../MXMLCClasses/src/mx/core/IMXMLObject.as | 61 -
.../src/mx/core/IPropertyChangeNotifier.as | 97 --
.../MXMLCClasses/src/mx/core/IStateClient2.as | 31 -
.../projects/MXMLCClasses/src/mx/core/IUID.as | 62 -
.../MXMLCClasses/src/mx/core/mx_internal.as | 37 -
.../src/mx/events/PropertyChangeEvent.as | 150 --
.../src/mx/events/PropertyChangeEventKind.as | 59 -
.../src/mx/filters/IBitmapFilter.as | 31 -
.../MXMLCClasses/src/mx/styles/CSSCondition.as | 61 -
.../MXMLCClasses/src/mx/styles/CSSSelector.as | 69 -
.../src/mx/styles/CSSStyleDeclaration.as | 191 ---
.../src/mx/styles/IStyleManager2.as | 34 -
.../MXMLCClasses/src/mx/styles/StyleManager.as | 50 -
.../src/mx/utils/DescribeTypeCache.as | 172 ---
.../src/mx/utils/DescribeTypeCacheRecord.as | 129 --
.../MXMLCClasses/src/mx/utils/ObjectProxy.as | 825 ----------
.../MXMLCClasses/src/mx/utils/ObjectUtil.as | 1424 ------------------
.../MXMLCClasses/src/mx/utils/StringUtil.as | 364 -----
.../MXMLCClasses/src/mx/utils/UIDUtil.as | 296 ----
.../MXMLCClasses/src/mx/utils/object_proxy.as | 34 -
frameworks/build.xml | 6 -
42 files changed, 6177 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/build.xml b/frameworks/as/projects/MXMLCClasses/build.xml
deleted file mode 100644
index faa85b3..0000000
--- a/frameworks/as/projects/MXMLCClasses/build.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.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.
-
--->
-
-
-<project name="mxmlcclasses" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${env.FLEX_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
-
- <target name="main" depends="clean,compile" description="Clean build of MXMLCClasses.swc">
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/libs">
- <include name="MXMLCClasses.swc"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
-
- <target name="compile" description="Compiles MXMLCClasses.swc">
- <echo message="Compiling libs/MXMLCClasses.swc"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
-
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in MXMLCClassesClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- Include the appropriate CSS files and assets in the SWC.
- Don't include any resources in the SWC.
- Write a bundle list of referenced resource bundles
- into the file bundles.properties in this directory.
- -->
- <compc fork="true"
- output="${FLEXJS_HOME}/frameworks/libs/MXMLCClasses.swc">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="compile-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- </compc>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/compile-config.xml b/frameworks/as/projects/MXMLCClasses/compile-config.xml
deleted file mode 100644
index 6c087f2..0000000
--- a/frameworks/as/projects/MXMLCClasses/compile-config.xml
+++ /dev/null
@@ -1,44 +0,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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
- </external-library-path>
-
- <locale/>
-
- <library-path/>
-
- <source-path>
- <path-element>src</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-classes>
- <class>MXMLCClasses</class>
- </include-classes>
-
- <target-player>${playerglobal.version}</target-player>
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as b/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
deleted file mode 100644
index dc3661e..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
+++ /dev/null
@@ -1,63 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
-
-/**
- * @private
- * This class is used to link additional classes into rpc.swc
- * beyond those that are found by dependecy analysis starting
- * from the classes specified in manifest.xml.
- */
-internal class MXMLCClasses
-{
-
- import mx.binding.ArrayElementWatcher; ArrayElementWatcher;
- import mx.binding.Binding; Binding;
- import mx.binding.BindingManager; BindingManager;
- import mx.binding.FunctionReturnWatcher; FunctionReturnWatcher;
- import mx.binding.IBindingClient; IBindingClient;
- import mx.binding.IWatcherSetupUtil2; IWatcherSetupUtil2;
- import mx.binding.PropertyWatcher; PropertyWatcher;
- import mx.binding.RepeaterComponentWatcher; RepeaterComponentWatcher;
- import mx.binding.RepeaterItemWatcher; RepeaterItemWatcher;
- import mx.binding.StaticPropertyWatcher; StaticPropertyWatcher;
- import mx.binding.Watcher; Watcher;
- import mx.binding.XMLWatcher; XMLWatcher;
- import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
- import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
- import mx.core.FlexGlobals; FlexGlobals;
- import mx.core.IDeferredInstance; IDeferredInstance;
- import mx.core.IFlexModuleFactory; IFlexModuleFactory;
- import mx.core.IMXMLObject; IMXMLObject;
- import mx.core.IPropertyChangeNotifier; IPropertyChangeNotifier;
- import mx.core.IStateClient2; IStateClient2;
- import mx.core.mx_internal; use namespace mx_internal;
- import mx.events.PropertyChangeEvent; PropertyChangeEvent;
- import mx.filters.IBitmapFilter; IBitmapFilter;
- import mx.styles.CSSCondition; CSSCondition;
- import mx.styles.CSSSelector; CSSSelector;
- import mx.styles.CSSStyleDeclaration; CSSStyleDeclaration;
- import mx.styles.IStyleManager2; IStyleManager2;
- import mx.styles.StyleManager; StyleManager;
- import mx.utils.ObjectUtil; ObjectUtil;
- import mx.utils.StringUtil; StringUtil;
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
deleted file mode 100644
index 024af6c..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
+++ /dev/null
@@ -1,77 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class ArrayElementWatcher extends Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * Constructor
- */
- public function ArrayElementWatcher(document:Object,
- accessorFunc:Function,
- listeners:Array)
- {
- super(listeners);
-
- this.document = document;
- this.accessorFunc = accessorFunc;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- */
- private var document:Object;
-
- /**
- * @private
- */
- private var accessorFunc:Function;
-
- /**
- * @private
- */
- public var arrayWatcher:Watcher;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as
deleted file mode 100644
index 1d48569..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as
+++ /dev/null
@@ -1,279 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-import mx.events.PropertyChangeEvent;
-
-[ExcludeClass]
-
-/**
- * @private
- * Bindability information for children (properties or methods)
- * of a given class, based on the describeType() structure for that class.
- */
-public class BindabilityInfo
-{
-
- //--------------------------------------------------------------------------
- //
- // Class constants
- //
- //--------------------------------------------------------------------------
-
- /**
- * Name of [Bindable] metadata.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const BINDABLE:String = "Bindable";
-
- /**
- * Name of [Managed] metadata.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const MANAGED:String = "Managed";
-
- /**
- * Name of [ChangeEvent] metadata.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const CHANGE_EVENT:String = "ChangeEvent";
-
- /**
- * Name of [NonCommittingChangeEvent] metadata.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const NON_COMMITTING_CHANGE_EVENT:String =
- "NonCommittingChangeEvent";
-
- /**
- * Name of describeType() <accessor> element.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const ACCESSOR:String = "accessor";
-
- /**
- * Name of describeType() <method> element.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const METHOD:String = "method";
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function BindabilityInfo(typeDescription:XML)
- {
- super();
-
- this.typeDescription = typeDescription;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- */
- private var typeDescription:XML;
-
- /**
- * @private
- * event name -> true
- */
- private var classChangeEvents:Object;
-
- /**
- * @private
- * child name -> { event name -> true }
- */
- private var childChangeEvents:Object = {};
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * Object containing { eventName: true } for each change event
- * (class- or child-level) that applies to the specified child.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function getChangeEvents(childName:String):Object
- {
- var changeEvents:Object = childChangeEvents[childName];
-
- if (!changeEvents)
- {
- // Seed with class-level events.
- changeEvents = copyProps(getClassChangeEvents(), {});
-
- // Get child-specific events.
- var childDesc:XMLList =
- typeDescription.accessor.(@name == childName) +
- typeDescription.method.(@name == childName);
-
- var numChildren:int = childDesc.length();
-
- if (numChildren == 0)
- {
- // we've been asked for events on an unknown property
- if (!typeDescription.@dynamic)
- {
- trace("warning: no describeType entry for '" +
- childName + "' on non-dynamic type '" +
- typeDescription.@name + "'");
- }
- }
- else
- {
- if (numChildren > 1)
- {
- trace("warning: multiple describeType entries for '" +
- childName + "' on type '" + typeDescription.@name +
- "':\n" + childDesc);
- }
-
- addBindabilityEvents(childDesc.metadata, changeEvents);
- }
-
- childChangeEvents[childName] = changeEvents;
- }
-
- return changeEvents;
- }
-
- /**
- * @private
- * Build or return cached class change events object.
- */
- private function getClassChangeEvents():Object
- {
- if (!classChangeEvents)
- {
- classChangeEvents = {};
-
- addBindabilityEvents(typeDescription.metadata, classChangeEvents);
-
- // Class-level [Managed] means all properties
- // dispatch propertyChange.
- if (typeDescription.metadata.(@name == MANAGED).length() > 0)
- {
- classChangeEvents[PropertyChangeEvent.PROPERTY_CHANGE] = true;
- }
- }
-
- return classChangeEvents;
- }
-
- /**
- * @private
- */
- private function addBindabilityEvents(metadata:XMLList,
- eventListObj:Object):void
- {
- addChangeEvents(metadata.(@name == BINDABLE), eventListObj, true);
- addChangeEvents(metadata.(@name == CHANGE_EVENT), eventListObj, true);
- addChangeEvents(metadata.(@name == NON_COMMITTING_CHANGE_EVENT),
- eventListObj, false);
- }
-
- /**
- * @private
- * Transfer change events from a list of change-event-carrying metadata
- * to an event list object.
- * Note: metadata's first arg value is assumed to be change event name.
- */
- private function addChangeEvents(metadata:XMLList, eventListObj:Object, isCommit:Boolean):void
- {
- for each (var md:XML in metadata)
- {
- var arg:XMLList = md.arg;
- if (arg.length() > 0)
- {
- var eventName:String = arg[0].@value;
- eventListObj[eventName] = isCommit;
- }
- else
- {
- trace("warning: unconverted Bindable metadata in class '" +
- typeDescription.@name + "'");
- }
- }
- }
-
- /**
- * @private
- * Copy properties from one object to another.
- */
- private function copyProps(from:Object, to:Object):Object
- {
- for (var propName:String in from)
- {
- to[propName] = from[propName];
- }
-
- return to;
- }
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
deleted file mode 100644
index b822dcd..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
+++ /dev/null
@@ -1,85 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class Binding
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Create a Binding object
- *
- * @param document The document that is the target of all of this work.
- *
- * @param srcFunc The function that returns us the value
- * to use in this Binding.
- *
- * @param destFunc The function that will take a value
- * and assign it to the destination.
- *
- * @param destString The destination represented as a String.
- * We can then tell the ValidationManager to validate this field.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function Binding(document:Object, srcFunc:Function,
- destFunc:Function, destString:String,
- srcString:String = null)
- {
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * Execute the binding.
- * Call the source function and get the value we'll use.
- * Then call the destination function passing the value as an argument.
- * Finally try to validate the destination.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function execute(o:Object = null):void
- {
- }
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
deleted file mode 100644
index 3ef557b..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
+++ /dev/null
@@ -1,37 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-package mx.binding
-{
- public class BindingManager
- {
- public static function executeBindings(document:Object,
- destStr:String,
- destObj:Object):void
- {
-
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
deleted file mode 100644
index 2dfd63e..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
+++ /dev/null
@@ -1,129 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class FunctionReturnWatcher extends Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * Constructor.
- */
- public function FunctionReturnWatcher(functionName:String,
- document:Object,
- parameterFunction:Function,
- events:Object,
- listeners:Array,
- functionGetter:Function = null,
- isStyle:Boolean = false)
- {
- super(listeners);
-
- this.functionName = functionName;
- this.document = document;
- this.parameterFunction = parameterFunction;
- this.events = events;
- this.functionGetter = functionGetter;
- this.isStyle = isStyle;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * The name of the property, used to actually get the property
- * and for comparison in propertyChanged events.
- */
- private var functionName:String;
-
- /**
- * @private
- * The document is what we need to use to execute the parameter function.
- */
- private var document:Object;
-
- /**
- * @private
- * The function that will give us the parameters for calling the function.
- */
- private var parameterFunction:Function;
-
- /**
- * @private
- * The events that indicate the property has changed.
- */
- private var events:Object;
-
- /**
- * @private
- * The parent object of this function.
- */
- private var parentObj:Object;
-
- /**
- * @private
- * The watcher holding onto the parent object.
- */
- public var parentWatcher:Watcher;
-
- /**
- * Storage for the functionGetter property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var functionGetter:Function;
-
- /**
- * Storage for the isStyle property. This will be true, when
- * watching a function marked with [Bindable(style="true")]. For
- * example, UIComponent.getStyle().
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 4
- */
- private var isStyle:Boolean;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as
deleted file mode 100644
index 14f2fb4..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as
+++ /dev/null
@@ -1,33 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IBindingClient
-{
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as
deleted file mode 100644
index e2311d4..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as
+++ /dev/null
@@ -1,47 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IWatcherSetupUtil2
-{
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- */
- function setup(target:Object, propertyGetter:Function,
- staticPropertyGetter:Function,
- bindings:Array, watchers:Array):void;
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as
deleted file mode 100644
index 6bad414..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as
+++ /dev/null
@@ -1,148 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class PropertyWatcher extends Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Create a PropertyWatcher
- *
- * @param prop The name of the property to watch.
- * @param event The event type that indicates the property has changed.
- * @param listeners The binding objects that are listening to this Watcher.
- * @param propertyGetter A helper function used to access non-public variables.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function PropertyWatcher(propertyName:String,
- events:Object,
- listeners:Array,
- propertyGetter:Function = null)
- {
- super(listeners);
-
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * The parent object of this property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var parentObj:Object;
-
- /**
- * The events that indicate the property has changed
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- protected var events:Object;
-
- /**
- * Storage for the propertyGetter property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- protected var propertyGetter:Function;
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // propertyName
- //----------------------------------
-
- /**
- * Storage for the propertyName property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var _propertyName:String;
-
- /**
- * The name of the property this Watcher is watching.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get propertyName():String
- {
- return _propertyName;
- }
-
- //----------------------------------
- // useRTTI
- //----------------------------------
-
- /**
- * If compiler can't determine bindability from static type,
- * use RTTI on runtime values.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var useRTTI:Boolean;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as
deleted file mode 100644
index b16f2ae..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as
+++ /dev/null
@@ -1,74 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-
-[ExcludeClass]
-
-/**
- * @private
- */
-public class RepeaterComponentWatcher extends PropertyWatcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- *
- * Create a RepeaterComponentWatcher
- *
- * @param prop The name of the property to watch.
- * @param event The event type that indicates the property has changed.
- * @param listeners The binding objects that are listening to this Watcher.
- * @param propertyGetter A helper function used to access non-public variables.
- */
- public function RepeaterComponentWatcher(propertyName:String,
- events:Object,
- listeners:Array,
- propertyGetter:Function = null)
- {
- super(propertyName, events, listeners, propertyGetter);
- }
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- */
- private var clones:Array;
-
- /**
- * @private
- */
- private var original:Boolean = true;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as
deleted file mode 100644
index 8d5e8e2..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as
+++ /dev/null
@@ -1,74 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class RepeaterItemWatcher extends Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * Constructor.
- */
- public function RepeaterItemWatcher(dataProviderWatcher:PropertyWatcher)
- {
- super();
-
- this.dataProviderWatcher = dataProviderWatcher;
- }
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- */
- private var dataProviderWatcher:PropertyWatcher;
-
- /**
- * @private
- */
- private var clones:Array;
-
- /**
- * @private
- */
- private var original:Boolean = true;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as
deleted file mode 100644
index 726211a..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as
+++ /dev/null
@@ -1,136 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class StaticPropertyWatcher extends Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Create a StaticPropertyWatcher
- *
- * @param prop The name of the static property to watch.
- * @param event The event type that indicates the static property has changed.
- * @param listeners The binding objects that are listening to this Watcher.
- * @param propertyGetter A helper function used to access non-public variables.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function StaticPropertyWatcher(propertyName:String,
- events:Object,
- listeners:Array,
- propertyGetter:Function = null)
- {
- super(listeners);
-
- _propertyName = propertyName;
- this.events = events;
- this.propertyGetter = propertyGetter;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * The parent class of this static property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var parentObj:Class;
-
- /**
- * The events that indicate the static property has changed
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- protected var events:Object;
-
- /**
- * Storage for the propertyGetter property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var propertyGetter:Function;
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // propertyName
- //----------------------------------
-
- /**
- * Storage for the propertyName property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var _propertyName:String;
-
- /**
- * The name of the property this Watcher is watching.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get propertyName():String
- {
- return _propertyName;
- }
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as
deleted file mode 100644
index 39df030..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as
+++ /dev/null
@@ -1,88 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function Watcher(listeners:Array = null)
- {
- super();
-
- this.listeners = listeners;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * The binding objects that are listening to this Watcher.
- * The standard event mechanism isn't used because it's too heavyweight.
- */
- protected var listeners:Array;
-
- /**
- * @private
- * Children of this watcher are watching sub values.
- */
- protected var children:Array;
-
- /**
- * @private
- * The value itself.
- */
- public var value:Object;
-
- /**
- * @private
- * Keep track of cloning when used in Repeaters.
- */
- protected var cloneIndex:int;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as
deleted file mode 100644
index b324638..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as
+++ /dev/null
@@ -1,106 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class XMLWatcher extends Watcher
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function XMLWatcher(propertyName:String, listeners:Array)
- {
- super(listeners);
-
- _propertyName = propertyName;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * The parent object of this property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var parentObj:Object;
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // propertyName
- //----------------------------------
-
- /**
- * Storage for the propertyName property.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- private var _propertyName:String;
-
- /**
- * The name of the property this Watcher is watching.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function get propertyName():String
- {
- return _propertyName;
- }
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as
deleted file mode 100644
index 9893d34..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as
+++ /dev/null
@@ -1,115 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class DeferredInstanceFromClass
-{
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @param generator The class whose instance the <code>getInstance()</code>
- * method creates and returns.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function DeferredInstanceFromClass(generator:Class)
- {
- super();
-
- this.generator = generator;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * The generator class.
- */
- private var generator:Class;
-
- /**
- * @private
- * The generated value.
- */
- private var instance:Object = null;
-
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
- /**
- * Creates and returns an instance of the class specified in the
- * DeferredInstanceFromClass constructor, if it does not yet exist;
- * otherwise, returns the already-created class instance.
- *
- * @return An instance of the class specified in the
- * DeferredInstanceFromClass constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function getInstance():Object
- {
- if (!instance)
- instance = new generator();
-
- return instance;
- }
-
- /**
- * Resets the state of our factory to the initial, uninitialized state.
- * The reference to our cached instance is cleared.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 4
- */
- public function reset():void
- {
- instance = null;
- }
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as
deleted file mode 100644
index b93a277..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as
+++ /dev/null
@@ -1,131 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class DeferredInstanceFromFunction
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @param generator A function that creates and returns an instance
- * of the required object.
- *
- * @param destructor An optional function used to cleanup outstanding
- * references when <code>reset()</code> is called.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function DeferredInstanceFromFunction(generator:Function,
- destructor:Function = null )
- {
- super();
-
- this.generator = generator;
- this.destructor = destructor;
- }
-
- //--------------------------------------------------------------------------
- //
- // Variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * @private
- * The generator function.
- */
- private var generator:Function;
-
- /**
- * @private
- * The generated value.
- */
- private var instance:Object = null;
-
- /**
- * @private
- * An optional function used to cleanup outstanding
- * references when reset() is invoked
- */
- private var destructor:Function;
-
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
- /**
- * Returns a reference to an instance of the desired object.
- * If no instance of the required object exists, calls the function
- * specified in this class' <code>generator</code> constructor parameter.
- *
- * @return An instance of the object.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function getInstance():Object
- {
- if (!instance)
- instance = generator();
-
- return instance;
- }
-
- /**
- * Resets the state of our factory to the initial, uninitialized state.
- * The reference to our cached instance is cleared.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 4
- */
- public function reset():void
- {
- instance = null;
-
- if (destructor != null)
- destructor();
- }
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as
deleted file mode 100644
index b07a5d2..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as
+++ /dev/null
@@ -1,55 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * A class that contains variables that are global to all applications within
- * the same ApplicationDomain.
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- *
- */
-public class FlexGlobals
-{
- //--------------------------------------------------------------------------
- //
- // Class variables
- //
- //--------------------------------------------------------------------------
-
- /**
- * The first application run in an ApplicationDomain is the top-level application.
- * This property is set to a reference to the top-level application in the top-level
- * application's constructor. Each ApplicationDomain will have its own
- * <code>topLevelApplication</code>.
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- */
- public static var topLevelApplication:Object;
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as
deleted file mode 100644
index e3ac094..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as
+++ /dev/null
@@ -1,51 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IDeferredInstance
-{
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
- /**
- * Creates an instance Object from a class or function,
- * if the instance does not yet exist.
- *
- * @return The instance Object.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- function getInstance():Object;
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as
deleted file mode 100644
index 536c92a..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as
+++ /dev/null
@@ -1,147 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IFlexModuleFactory
-{
-
-
- /**
- * Calls the <code>Security.allowDomain()</code> method for the SWF
- * associated with this IFlexModuleFactory plus all the SWFs associated
- * with RSLs preloaded by this IFlexModuleFactory. RSLs loaded after this
- * call will, by default, allow the same domains as have been allowed by
- * previous calls to this method. This behavior is controlled by the <code>
- * allowDomainsInNewRSLs</code> property.
- *
- * @param domains One or more strings or URLRequest objects that name
- * the domains from which you want to allow access.
- * You can specify the special domain "*" to allow access from all domains.
- *
- * @see flash.system.Security#allowDomain()
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Flex 4.5
- */
- function allowDomain(... domains):void;
-
- /**
- * Calls the <code>Security.allowInsecureDomain()</code> method for the
- * SWF associated with this IFlexModuleFactory
- * plus all the SWFs associated with RSLs preloaded by this
- * IFlexModuleFactory. RSLs loaded after this call will, by default,
- * allow the same domains as have been allowed by
- * previous calls to this method. This behavior is controlled by the <code>
- * allowInsecureDomainsInNewRSLs</code> property.
- *
- * @param domains One or more strings or URLRequest objects that name
- * the domains from which you want to allow access.
- * You can specify the special domain "*" to allow access from all domains.
- *
- * @see flash.system.Security#allowInsecureDomain()
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Flex 4.5
- */
- function allowInsecureDomain(... domains):void;
-
- /**
- * A way to call a method in this IFlexModuleFactory's context
- *
- * @param fn The function or method to call.
- * @param thisArg The <code>this</code> pointer for the function.
- * @param argArray The arguments for the function.
- * @param returns If <code>true</code>, the function returns a value.
- *
- * @return Whatever the function returns, if anything.
- *
- * @see Function.apply
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 3
- */
- function callInContext(fn:Function, thisArg:Object,
- argArray:Array, returns:Boolean = true):*;
-
- /**
- * A factory method that requests
- * an instance of a definition known to the module.
- *
- * <p>You can provide an optional set of parameters to let
- * building factories change what they create based
- * on the input.
- * Passing <code>null</code> indicates that the default
- * definition is created, if possible.</p>
- *
- * @param parameters An optional list of arguments. You can pass any number
- * of arguments, which are then stored in an Array called <code>parameters</code>.
- *
- * @return An instance of the module, or <code>null</code>.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- function create(... parameters):Object;
-
- /**
- * Returns a block of key/value pairs
- * that hold static data known to the module.
- * This method always succeeds, but can return an empty object.
- *
- * @return An object containing key/value pairs. Typically, this object
- * contains information about the module or modules created by this
- * factory; for example:
- *
- * <pre>
- * return {"description": "This module returns 42."};
- * </pre>
- *
- * Other common values in the returned object include the following:
- * <ul>
- * <li><code>fonts</code>: A list of embedded font faces.</li>
- * <li><code>rsls</code>: A list of run-time shared libraries.</li>
- * <li><code>mixins</code>: A list of classes initialized at startup.</li>
- * </ul>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- function info():Object;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as
deleted file mode 100644
index 9b6ec90..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as
+++ /dev/null
@@ -1,61 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * The IMXMLObject interface defines the APIs that a non-visual component
- * must implement in order to work properly with the MXML compiler.
- * Currently, the only supported method is the <code>initialized()</code>
- * method.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-public interface IMXMLObject
-{
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
- /**
- * Called after the implementing object has been created and all
- * component properties specified on the MXML tag have been initialized.
- *
- * @param document The MXML document that created this object.
- *
- * @param id The identifier used by <code>document</code> to refer
- * to this object.
- * If the object is a deep property on <code>document</code>,
- * <code>id</code> is null.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- function initialized(document:Object, id:String):void;
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as
deleted file mode 100644
index fbef45e..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as
+++ /dev/null
@@ -1,97 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-import flash.events.IEventDispatcher;
-
-/**
- * The <code>IPropertyChangeNotifier</code> interface defines a marker
- * interface.
- * Classes that support this interface declare support for event propagation
- * in a specialized manner.
- * Classes that implement this interface must dispatch events for each property
- * of this class and any nested classes publicly exposed as properties.
- * For those properties that are anonymous (complex and not strongly typed),
- * implementing classes provide custom support or directly use the
- * ObjectProxy class.
- * Implementors of this interface should use the
- * <code>PropertyChangeEvent.createUpdateEvent()</code> method to construct an
- * appropriate update event for dispatch.
- * @example
- * <code><pre>
- *
- * function set myProperty(value:Object):void
- * {
- * var oldValue:IPropertyChangeNotifier = _myProperty;
- * var newValue:IPropertyChangeNotifier = value;
- *
- * // Need to ensure to dispatch changes on the new property.
- * // Listeners use the source property to determine which object
- * // actually originated the event.
- * // In their event handler code, they can tell if an event has been
- * // propagated from deep within the object graph by comparing
- * // event.target and event.source. If they are equal, then the property
- * // change is at the surface of the object. If they are not equal, the
- * // property change is somewhere deeper in the object graph.
- * newValue.addEventListener(
- * PropertyChangeEvent.PROPERTY_CHANGE,
- * dispatchEvent);
- *
- * // need to stop listening for events from the old property
- * oldValue.removeEventListener(
- * PropertyChangeEvent.PROPERTY_CHANGE,
- * dispatchEvent);
- *
- * _myProperty = newValue;
- *
- * // now notify anyone that is listening
- * if (dispatcher.hasEventListener(PropertyChangeEvent.PROPERTY_CHANGE))
- * {
- * var event:PropertyChangeEvent =
- * PropertyChangeEvent.createUpdateEvent(
- * this,
- * "myProperty",
- * newValue,
- * oldValue);
- * dispatchEvent(event);
- * }
- * }
- *
- *
- * </pre></code>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-public interface IPropertyChangeNotifier extends IEventDispatcher, IUID
-{
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- // Inherits uid property from IUID
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as
deleted file mode 100644
index ae21531..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as
+++ /dev/null
@@ -1,31 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @private
- * shim the mx classes for states. This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-package mx.core
-{
- public interface IStateClient2
- {
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as
deleted file mode 100644
index cd0f321..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as
+++ /dev/null
@@ -1,62 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * The IUID interface defines the interface for objects that must have
- * Unique Identifiers (UIDs) to uniquely identify the object.
- * UIDs do not need to be universally unique for most uses in Flex.
- * One exception is for messages send by data services.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
-public interface IUID
-{
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // uid
- //----------------------------------
-
- /**
- * The unique identifier for this object.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- function get uid():String;
-
- /**
- * @private
- */
- function set uid(value:String):void;
-}
-
-}