flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [35/50] git commit: [flex-asjs] [refs/heads/develop] - add ContainerView
Date Thu, 25 Sep 2014 16:04:17 GMT
add ContainerView


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

Branch: refs/heads/develop
Commit: f7868c5604d22ad452e5399c9bae7d687dcb2640
Parents: d03c8a4
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 23 09:51:10 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 23 15:01:29 2014 -0700

----------------------------------------------------------------------
 .../org/apache/flex/html/beads/ContainerView.js | 67 ++++++++++++++++++++
 1 file changed, 67 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f7868c56/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js
new file mode 100644
index 0000000..c578c6d
--- /dev/null
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js
@@ -0,0 +1,67 @@
+/**
+ * Licensed 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.
+ */
+
+goog.provide('org.apache.flex.html.beads.ContainerView');
+
+goog.require('org.apache.flex.core.BeadViewBase');
+
+
+
+/**
+ * @constructor
+ * @extends {org.apache.flex.core.BeadViewBase}
+ */
+org.apache.flex.html.beads.ContainerView = function() {
+  this.lastSelectedIndex = -1;
+  org.apache.flex.html.beads.ContainerView.base(this, 'constructor');
+
+  this.className = 'ContainerView';
+};
+goog.inherits(
+    org.apache.flex.html.beads.ContainerView,
+    org.apache.flex.core.BeadViewBase);
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+org.apache.flex.html.beads.ContainerView.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'ContainerView',
+                qName: 'org.apache.flex.html.beads.ContainerView' }],
+    interfaces: [org.apache.flex.core.ILayoutParent]
+    };
+
+
+/**
+ * @expose
+ * @return {Object} value The content view.
+ */
+org.apache.flex.html.beads.ContainerView.prototype.get_contentView =
+    function() {
+
+  return this._strand;
+};
+
+
+/**
+ * @expose
+ * @return {Object} value The resizeable view.
+ */
+org.apache.flex.html.beads.ContainerView.prototype.get_resizableView =
+function() {
+
+  return this._strand;
+};


Mime
View raw message