You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/10/07 05:57:28 UTC
[1/2] git commit: [flex-sdk] [refs/heads/release4.11.0] - Renamed
supportClazzes package to be called supoortClasses
Updated Branches:
refs/heads/release4.11.0 c4aa9eecc -> ad7b214c5
Renamed supportClazzes package to be called supoortClasses
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4bb95c69
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4bb95c69
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4bb95c69
Branch: refs/heads/release4.11.0
Commit: 4bb95c6918cfd1d3e67c88c54ad68cbe16025ba9
Parents: acc1b96
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Oct 7 14:56:39 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Oct 7 14:56:39 2013 +1100
----------------------------------------------------------------------
.../experimental/src/ExperimentalClasses.as | 4 +-
.../supportClasses/AnimationTarget.as | 68 ++++++++++
.../supportClazzes/AnimationTarget.as | 68 ----------
.../src/spark/containers/DeferredGroup.as | 2 +-
.../src/spark/containers/NavigatorGroup.as | 2 +-
.../supportClasses/DeferredCreationPolicy.as | 128 +++++++++++++++++++
.../supportClazzes/DeferredCreationPolicy.as | 128 -------------------
.../AnimationNavigatorLayoutBase.as | 2 +-
8 files changed, 201 insertions(+), 201 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/ExperimentalClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/ExperimentalClasses.as b/frameworks/projects/experimental/src/ExperimentalClasses.as
index 21d4304..e017a91 100644
--- a/frameworks/projects/experimental/src/ExperimentalClasses.as
+++ b/frameworks/projects/experimental/src/ExperimentalClasses.as
@@ -33,9 +33,9 @@ package
import spark.components.itemRenderers.MenuCoreItemRenderer; MenuCoreItemRenderer;
import spark.components.itemRenderers.MenuItemRenderer; MenuItemRenderer;
import spark.components.listClasses.IListItemRenderer; IListItemRenderer;
- import spark.components.supportClazzes.AnimationTarget; AnimationTarget;
+ import spark.components.supportClasses.AnimationTarget; AnimationTarget;
import spark.components.supportClasses.IDropDownContainer; IDropDownContainer;
- import spark.containers.supportClazzes.DeferredCreationPolicy; DeferredCreationPolicy;
+ import spark.containers.supportClasses.DeferredCreationPolicy; DeferredCreationPolicy;
import spark.containers.Accordion; Accordion;
import spark.events.ColorChangeEvent; ColorChangeEvent;
import spark.events.MenuEvent; MenuEvent;
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as b/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as
new file mode 100644
index 0000000..2c09ca9
--- /dev/null
+++ b/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as
@@ -0,0 +1,68 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 spark.components.supportClasses
+{
+ import spark.effects.animation.Animation;
+ import spark.effects.animation.IAnimationTarget;
+
+ public class AnimationTarget implements IAnimationTarget
+ {
+ public var updateFunction:Function;
+ public var startFunction:Function;
+ public var stopFunction:Function;
+ public var endFunction:Function;
+ public var repeatFunction:Function;
+
+ public function AnimationTarget(updateFunction:Function = null)
+ {
+ this.updateFunction = updateFunction;
+ }
+
+ public function animationStart(animation:Animation):void
+ {
+ if (startFunction != null)
+ startFunction(animation);
+ }
+
+ public function animationEnd(animation:Animation):void
+ {
+ if (endFunction != null)
+ endFunction(animation);
+ }
+
+ public function animationStop(animation:Animation):void
+ {
+ if (stopFunction != null)
+ stopFunction(animation);
+ }
+
+ public function animationRepeat(animation:Animation):void
+ {
+ if (repeatFunction != null)
+ repeatFunction(animation);
+ }
+
+ public function animationUpdate(animation:Animation):void
+ {
+ if (updateFunction != null)
+ updateFunction(animation);
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/components/supportClazzes/AnimationTarget.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/components/supportClazzes/AnimationTarget.as b/frameworks/projects/experimental/src/spark/components/supportClazzes/AnimationTarget.as
deleted file mode 100644
index ce776b1..0000000
--- a/frameworks/projects/experimental/src/spark/components/supportClazzes/AnimationTarget.as
+++ /dev/null
@@ -1,68 +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 spark.components.supportClazzes
-{
- import spark.effects.animation.Animation;
- import spark.effects.animation.IAnimationTarget;
-
- public class AnimationTarget implements IAnimationTarget
- {
- public var updateFunction:Function;
- public var startFunction:Function;
- public var stopFunction:Function;
- public var endFunction:Function;
- public var repeatFunction:Function;
-
- public function AnimationTarget(updateFunction:Function = null)
- {
- this.updateFunction = updateFunction;
- }
-
- public function animationStart(animation:Animation):void
- {
- if (startFunction != null)
- startFunction(animation);
- }
-
- public function animationEnd(animation:Animation):void
- {
- if (endFunction != null)
- endFunction(animation);
- }
-
- public function animationStop(animation:Animation):void
- {
- if (stopFunction != null)
- stopFunction(animation);
- }
-
- public function animationRepeat(animation:Animation):void
- {
- if (repeatFunction != null)
- repeatFunction(animation);
- }
-
- public function animationUpdate(animation:Animation):void
- {
- if (updateFunction != null)
- updateFunction(animation);
- }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/containers/DeferredGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/containers/DeferredGroup.as b/frameworks/projects/experimental/src/spark/containers/DeferredGroup.as
index 1bb6553..0425917 100644
--- a/frameworks/projects/experimental/src/spark/containers/DeferredGroup.as
+++ b/frameworks/projects/experimental/src/spark/containers/DeferredGroup.as
@@ -50,7 +50,7 @@ package spark.containers
import spark.layouts.BasicLayout;
import spark.layouts.supportClasses.LayoutBase;
- import spark.containers.supportClazzes.DeferredCreationPolicy;
+ import spark.containers.supportClasses.DeferredCreationPolicy;
use namespace mx_internal;
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/containers/NavigatorGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/containers/NavigatorGroup.as b/frameworks/projects/experimental/src/spark/containers/NavigatorGroup.as
index 3a4cb9f..83a7d3a 100644
--- a/frameworks/projects/experimental/src/spark/containers/NavigatorGroup.as
+++ b/frameworks/projects/experimental/src/spark/containers/NavigatorGroup.as
@@ -31,7 +31,7 @@ package spark.containers
import spark.events.IndexChangeEvent;
import spark.layouts.supportClasses.LayoutBase;
- import spark.containers.supportClazzes.DeferredCreationPolicy;
+ import spark.containers.supportClasses.DeferredCreationPolicy;
import spark.layouts.StackLayout;
import spark.layouts.supportClasses.AnimationNavigatorLayoutBase;
import spark.layouts.supportClasses.INavigatorLayout;
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/containers/supportClasses/DeferredCreationPolicy.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/containers/supportClasses/DeferredCreationPolicy.as b/frameworks/projects/experimental/src/spark/containers/supportClasses/DeferredCreationPolicy.as
new file mode 100644
index 0000000..954abd9
--- /dev/null
+++ b/frameworks/projects/experimental/src/spark/containers/supportClasses/DeferredCreationPolicy.as
@@ -0,0 +1,128 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 spark.containers.supportClasses
+{
+
+
+ /**
+ * The DeferredCreationPolicy class defines the constant values
+ * for the <code>creationPolicy</code> property of the DeferedGroup class.
+ *
+ * @see spark.containers.DeferredGroup#creationPolicy
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10
+ * @playerversion AIR 1.5
+ * @productversion Flex 4
+ */
+ public class DeferredCreationPolicy
+ {
+
+
+
+ //--------------------------------------------------------------------------
+ //
+ // Class constants
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Immediately create all descendants.
+ *
+ * <p>Avoid using this <code>creationPolicy</code> because
+ * it increases the startup time of your application.
+ * There is usually no good reason to create components at startup
+ * which the user cannot see.
+ * If you are using this policy so that you can "push" data into
+ * hidden components at startup, you should instead design your
+ * application so that the data is stored in data variables
+ * and components which are created later "pull" in this data,
+ * via databinding or an <code>initialize</code> handler.</p>
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const ALL:String = "all";
+
+ /**
+ * Construct all decendants immediately but only inialize those
+ * that are visible.
+ *
+ * <p>This is useful if you using the container as a dataProvider
+ * to a MenuBar, as the MenuBar requires all the children to be created
+ * to get the correct dataProvider to drive its content.</p>
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const CONSTRUCT:String = "construct";
+
+ /**
+ * Only construct the immediate descendants and initialize
+ * those that are visible.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const VISIBLE:String = "visible";
+
+ /**
+ * Do not create any children.
+ *
+ * <p>With this <code>creationPolicy</code>, it is the developer's
+ * responsibility to programmatically create the children
+ * from the UIComponentDescriptors by calling
+ * <code>createComponentsFromDescriptors()</code>
+ * on the parent container.</p>
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public static const NONE:String = "none";
+
+
+
+ //--------------------------------------------------------------------------
+ //
+ // Constructor
+ //
+ //--------------------------------------------------------------------------
+
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function DeferredCreationPolicy()
+ {
+
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/containers/supportClazzes/DeferredCreationPolicy.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/containers/supportClazzes/DeferredCreationPolicy.as b/frameworks/projects/experimental/src/spark/containers/supportClazzes/DeferredCreationPolicy.as
deleted file mode 100644
index 0d8d2d2..0000000
--- a/frameworks/projects/experimental/src/spark/containers/supportClazzes/DeferredCreationPolicy.as
+++ /dev/null
@@ -1,128 +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 spark.containers.supportClazzes
-{
-
-
- /**
- * The DeferredCreationPolicy class defines the constant values
- * for the <code>creationPolicy</code> property of the DeferedGroup class.
- *
- * @see spark.containers.DeferredGroup#creationPolicy
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- */
- public class DeferredCreationPolicy
- {
-
-
-
- //--------------------------------------------------------------------------
- //
- // Class constants
- //
- //--------------------------------------------------------------------------
-
- /**
- * Immediately create all descendants.
- *
- * <p>Avoid using this <code>creationPolicy</code> because
- * it increases the startup time of your application.
- * There is usually no good reason to create components at startup
- * which the user cannot see.
- * If you are using this policy so that you can "push" data into
- * hidden components at startup, you should instead design your
- * application so that the data is stored in data variables
- * and components which are created later "pull" in this data,
- * via databinding or an <code>initialize</code> handler.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const ALL:String = "all";
-
- /**
- * Construct all decendants immediately but only inialize those
- * that are visible.
- *
- * <p>This is useful if you using the container as a dataProvider
- * to a MenuBar, as the MenuBar requires all the children to be created
- * to get the correct dataProvider to drive its content.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const CONSTRUCT:String = "construct";
-
- /**
- * Only construct the immediate descendants and initialize
- * those that are visible.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const VISIBLE:String = "visible";
-
- /**
- * Do not create any children.
- *
- * <p>With this <code>creationPolicy</code>, it is the developer's
- * responsibility to programmatically create the children
- * from the UIComponentDescriptors by calling
- * <code>createComponentsFromDescriptors()</code>
- * on the parent container.</p>
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public static const NONE:String = "none";
-
-
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function DeferredCreationPolicy()
- {
-
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bb95c69/frameworks/projects/experimental/src/spark/layouts/supportClasses/AnimationNavigatorLayoutBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/layouts/supportClasses/AnimationNavigatorLayoutBase.as b/frameworks/projects/experimental/src/spark/layouts/supportClasses/AnimationNavigatorLayoutBase.as
index 7cbafe4..aa1fc3b 100644
--- a/frameworks/projects/experimental/src/spark/layouts/supportClasses/AnimationNavigatorLayoutBase.as
+++ b/frameworks/projects/experimental/src/spark/layouts/supportClasses/AnimationNavigatorLayoutBase.as
@@ -25,7 +25,7 @@ package spark.layouts.supportClasses
import spark.effects.easing.Linear;
import spark.effects.easing.Sine;
- import spark.components.supportClazzes.AnimationTarget;
+ import spark.components.supportClasses.AnimationTarget;
/**
* A AnimationNavigatorLayoutBase class is a base class for navigator layouts
[2/2] git commit: [flex-sdk] [refs/heads/release4.11.0] - Merge
branch 'release4.11.0' of https://git-wip-us.apache.org/repos/asf/flex-sdk
into release4.11.0
Posted by jm...@apache.org.
Merge branch 'release4.11.0' of https://git-wip-us.apache.org/repos/asf/flex-sdk into release4.11.0
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ad7b214c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ad7b214c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ad7b214c
Branch: refs/heads/release4.11.0
Commit: ad7b214c592c0096d23721f46d0d3ce442d453a1
Parents: 4bb95c6 c4aa9ee
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Oct 7 14:57:00 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Oct 7 14:57:00 2013 +1100
----------------------------------------------------------------------
----------------------------------------------------------------------