flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [10/17] git commit: [flex-asjs] [refs/heads/develop] - need to get model this way in case it hasn't been instantiated and placed on beads list yet
Date Mon, 06 Oct 2014 21:29:29 GMT
need to get model this way in case it hasn't been instantiated and placed on beads list yet


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/309da699
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/309da699
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/309da699

Branch: refs/heads/develop
Commit: 309da699065b87dbb8fca153760e260cc4b7a9a4
Parents: 81df22c
Author: Alex Harui <aharui@apache.org>
Authored: Mon Oct 6 13:13:34 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Oct 6 13:13:34 2014 -0700

----------------------------------------------------------------------
 .../org/apache/flex/core/IStrandWithModel.as    | 50 ++++++++++++++++++++
 1 file changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/309da699/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/IStrandWithModel.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/IStrandWithModel.as
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/IStrandWithModel.as
new file mode 100644
index 0000000..4e504cf
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/IStrandWithModel.as
@@ -0,0 +1,50 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.core
+{
+    /**
+     *  The IStrand interface is the basic interface for a host component for
+     *  a set of plug-ins known as Beads.
+     *  In FlexJS, the recommended pattern is to break out optional functionality
+     *  into small plug-ins that can be re-used in other components, or replaced with
+     *  different implementations optimized for different things such as size,
+     *  performance, advanced features, debugging, etc.
+     * 
+     *  Beads are added to and removed from a Strand and can find and coordinate with
+     *  other beads on the strand.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public interface IStrandWithModel extends IStrand
+	{
+        /**
+         *  Each Strand has an model object.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        function get model():IBeadModel;
+        	
+	}
+}
\ No newline at end of file


Mime
View raw message