flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Adding Viewport JS code.
Date Wed, 15 Jul 2015 17:48:35 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 3a6ed918e -> a1336f92c


Adding Viewport JS code.


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

Branch: refs/heads/develop
Commit: a1336f92cc2aebfe1907d134103630eee7379618
Parents: 3a6ed91
Author: Peter Ent <pent@apache.org>
Authored: Wed Jul 15 13:48:31 2015 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Wed Jul 15 13:48:31 2015 -0400

----------------------------------------------------------------------
 .../js/src/org/apache/flex/core/IViewport.js    |  53 +++++++++
 .../src/org/apache/flex/core/IViewportModel.js  | 108 +++++++++++++++++++
 2 files changed, 161 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1336f92/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js
new file mode 100644
index 0000000..8ba8483
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js
@@ -0,0 +1,53 @@
+/**
+ * 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.
+ */
+
+/**
+ * org_apache_flex_core_IViewport
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('org_apache_flex_core_IViewport');
+
+goog.require('org_apache_flex_core_IBead');
+
+
+
+/**
+ * @interface
+ * @extends {org_apache_flex_core_IBead}
+ */
+org_apache_flex_core_IViewport = function() {
+};
+
+
+Object.defineProperties(org_apache_flex_core_IViewport.prototype, {
+    /** @export */
+    model: {
+        set: function(value) {},
+        get: function() {}
+    }
+});
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+org_apache_flex_core_IViewport.prototype.FLEXJS_CLASS_INFO =
+{ names: [{ name: 'IViewport', qName: 'org_apache_flex_core_IViewport'}],
+  interfaces: [org_apache_flex_core_IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1336f92/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js
new file mode 100644
index 0000000..1e2e40d
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js
@@ -0,0 +1,108 @@
+/**
+ * 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.
+ */
+
+/**
+ * org_apache_flex_core_IViewportModel
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('org_apache_flex_core_IViewportModel');
+
+goog.require('org_apache_flex_core_IBeadModel');
+
+
+
+/**
+ * @interface
+ * @extends {org_apache_flex_core_IBeadModel}
+ */
+org_apache_flex_core_IViewportModel = function() {
+};
+
+
+Object.defineProperties(org_apache_flex_core_IViewportModel.prototype, {
+    /** @export */
+    contentIsHost: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    contentArea: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    viewportX: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    viewportY: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    viewportWidth: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    viewportHeight: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    contentX: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    contentY: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    contentWidth: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    contentHeight: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    verticalScrollPosition: {
+        set: function(value) {},
+        get: function() {}
+    },
+    /** @export */
+    horizontalScrollPosition: {
+        set: function(value) {},
+        get: function() {}
+    }
+});
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+org_apache_flex_core_IViewportModel.prototype.FLEXJS_CLASS_INFO =
+{ names: [{ name: 'IViewportModel', qName: 'org_apache_flex_core_IViewportModel'}],
+  interfaces: [org_apache_flex_core_IBeadModel] };


Mime
View raw message