incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject svn commit: r1415642 [1/3] - in /incubator/flex/whiteboard/erikdebruin/asjs: ./ published/ published/examples/ published/examples/FlexJSTest/ published/examples/FlexJSTest/js/ source/ source/examples/ source/examples/FlexJSTest/ source/examples/FlexJST...
Date Fri, 30 Nov 2012 14:11:09 GMT
Author: erikdebruin
Date: Fri Nov 30 14:11:04 2012
New Revision: 1415642

URL: http://svn.apache.org/viewvc?rev=1415642&view=rev
Log:
Initial commit.

Added:
    incubator/flex/whiteboard/erikdebruin/asjs/
    incubator/flex/whiteboard/erikdebruin/asjs/published/
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/FlexJSTest.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyController.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyInitialView.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyModel.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MySimpleValuesImpl.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/index.html   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/adobe.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/framework.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTest.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTestMXML.mxml   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialView.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialViewMXML.mxml   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MySimpleValuesImpl.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/MyController.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/
    incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/MyModel.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/SimpleBinding.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/Application.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBead.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBeadModel.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitModel.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitSkin.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IStrand.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextBead.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextModel.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IValuesImpl.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/SimpleValuesImpl.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/UIBase.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ValuesManager.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ViewBase.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/events/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/events/ValueChangeEvent.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/Button.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/DropDownList.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/Label.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/TextButton.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/IButtonBead.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/ITextButtonBead.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonBead.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBead.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/models/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/html/staticControls/beads/models/TextModel.as   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/tests/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/README   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/build.xml   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/release/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/Event.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/EventDispatcher.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/adobe.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/binding/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/binding/SimpleBinding.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/core/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/core/Application.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/core/SimpleValuesImpl.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/core/UIBase.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/core/ValuesManager.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/core/ViewBase.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/framework.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/html/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/html/staticControls/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/html/staticControls/Label.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/html/staticControls/TextButton.js   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/src/org/apache/flex/html/staticControls/beads/
    incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/js/tests/
    incubator/flex/whiteboard/erikdebruin/asjs/source/publisher/
    incubator/flex/whiteboard/erikdebruin/asjs/source/publisher/README   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/publisher/build.xml   (with props)
    incubator/flex/whiteboard/erikdebruin/asjs/source/publisher/index.html.template

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/FlexJSTest.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/FlexJSTest.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/FlexJSTest.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/FlexJSTest.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,97 @@
+/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:57
+ */
+/**
+ * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:56
+ *
+ * Class: FlexJSTest
+ * @constructor
+ * @extends org.apache.flex.core.Application
+ */
+FlexJSTest = adobe.extend( "FlexJSTest", org.apache.flex.core.Application, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: FlexJSTest()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {FlexJSTest} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+		self.valuesImplClass = MySimpleValuesImpl;
+		self.initialViewClass = MyInitialView;
+		self.model = adobe.newObject(models.MyModel, []);
+		self.model.set_labelText("Hello World!");
+		self.controller = adobe.newObject(controllers.MyController, [self]);
+		return self;
+	}
+,
+
+	/**
+	 * Member: FlexJSTest.controller
+	 * @private
+	 * @type {controllers.MyController}
+	 */
+	controller /* : MyController */ : undefined,
+
+	/**
+	 * Member: FlexJSTest.model
+	 * @type {models.MyModel}
+	 */
+	model /* : MyModel */ : undefined
+});
+
+
+/**
+ * Member: FlexJSTest.prototype._CLASS
+ * @const
+ * @type {FlexJSTest}
+ */
+FlexJSTest.prototype._CLASS = FlexJSTest;
+
+
+/**
+ * Member: FlexJSTest._PACKAGE
+ * @const
+ * @type {FlexJSTest}
+ */
+FlexJSTest._PACKAGE = adobe.globals;
+
+
+/**
+ * Member: FlexJSTest._NAME
+ * @const
+ * @type {string}
+ */
+FlexJSTest._NAME = "FlexJSTest";
+
+/**
+ * Member: FlexJSTest._FULLNAME
+ * @const
+ * @type {string}
+ */
+FlexJSTest._FULLNAME = "FlexJSTest";
+
+/**
+ * Member: FlexJSTest._SUPER
+ * @const
+ * @type {org.apache.flex.core.Application}
+ */
+FlexJSTest._SUPER = org.apache.flex.core.Application;
+
+/**
+ * Member: FlexJSTest._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+FlexJSTest._NAMESPACES = {
+	"controller::7:FlexJSTest" : true,
+	"model::2" : true
+}
+
+adobe.classes["FlexJSTest"]  = FlexJSTest;
+

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/FlexJSTest.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyController.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyController.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyController.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyController.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,116 @@
+/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:06
+ */
+/**
+ * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:56
+ *
+ * Class: controllers.MyController
+ */
+controllers.MyController = adobe.extend( "MyController", Object, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: controllers.MyController()
+	 * @constructor
+	 * @this {controllers}
+	 * @param {FlexJSTest} app
+	 */
+	init : function(app /* : FlexJSTest */)
+	{
+		/** @type {controllers.MyController} */
+		var self = this;
+		
+		self.app = app;
+		app.addEventListener("viewChanged", adobe.createProxy(self, self.viewChangeHandler));
+		return self;
+	}
+,
+
+	/**
+	 * Member: controllers.MyController.app
+	 * @private
+	 * @type {FlexJSTest}
+	 */
+	app /* : FlexJSTest */ : undefined,
+	
+
+	/**
+	 * Method: controllers.MyController.viewChangeHandler()
+	 * @this {controllers.MyController}
+	 * @private
+	 * @param {flash.events.Event} event
+	 */
+	viewChangeHandler : function(event /* : Event */) /* : void */
+	{
+		/** @type {controllers.MyController} */
+		var self = this;
+		self.app.initialView.addEventListener("buttonClicked", adobe.createProxy(self, self.buttonClickHandler));
+	},
+	
+
+	/**
+	 * Method: controllers.MyController.buttonClickHandler()
+	 * @this {controllers.MyController}
+	 * @private
+	 * @param {flash.events.Event} event
+	 */
+	buttonClickHandler : function(event /* : Event */) /* : void */
+	{
+		/** @type {controllers.MyController} */
+		var self = this;
+		self.app.model.set_labelText("Hello Universe");
+	}
+});
+
+
+/**
+ * Member: controllers.MyController.prototype._CLASS
+ * @const
+ * @type {controllers.MyController}
+ */
+controllers.MyController.prototype._CLASS = controllers.MyController;
+
+
+/**
+ * Member: controllers.MyController._PACKAGE
+ * @const
+ * @type {controllers}
+ */
+controllers.MyController._PACKAGE = controllers;
+
+
+/**
+ * Member: controllers.MyController._NAME
+ * @const
+ * @type {string}
+ */
+controllers.MyController._NAME = "MyController";
+
+/**
+ * Member: controllers.MyController._FULLNAME
+ * @const
+ * @type {string}
+ */
+controllers.MyController._FULLNAME = "controllers.MyController";
+
+/**
+ * Member: controllers.MyController._SUPER
+ * @const
+ * @type {Object}
+ */
+controllers.MyController._SUPER = Object;
+
+/**
+ * Member: controllers.MyController._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+controllers.MyController._NAMESPACES = {
+	"app::7:controllers.MyController" : true,
+	"viewChangeHandler::7:controllers.MyController" : true,
+	"buttonClickHandler::7:controllers.MyController" : true
+}
+
+adobe.classes["controllers.MyController"]  = controllers.MyController;
+

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyController.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyInitialView.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyInitialView.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyInitialView.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyInitialView.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,116 @@
+/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:00
+ */
+/**
+ * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:57
+ *
+ * Class: MyInitialView
+ * @constructor
+ * @extends org.apache.flex.core.ViewBase
+ */
+// protected: ProtectedNs:"MyInitialView"
+MyInitialView = adobe.extend( "MyInitialView", org.apache.flex.core.ViewBase, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: MyInitialView()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {MyInitialView} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+		self._super();
+		return self;
+	}
+,
+
+	/**
+	 * Member: MyInitialView.lbl
+	 * @type {org.apache.flex.html.staticControls.Label}
+	 */
+	lbl /* : Label */ : undefined,
+	
+
+	/**
+	 * Method: MyInitialView.get_uiDescriptors()
+	 * @this {MyInitialView}
+	 * @override
+	 * @return {Array}
+	 */
+	get_uiDescriptors : function() /* : Array */
+	{
+		/** @type {MyInitialView} */
+		var self = this;
+		return [org.apache.flex.html.staticControls.Label, null, "lbl", 2, "x", 100, "y", 25, 0, 0, 1, "text", 0, "model", "labelText", "labelTextChanged", org.apache.flex.html.staticControls.TextButton, null, null, 3, "text", "OK", "x", 100, "y", 75, 0, 1, "click", self.clickHandler, 0];
+	},
+	
+
+	/**
+	 * Method: MyInitialView.clickHandler()
+	 * @this {MyInitialView}
+	 * @private
+	 * @param {flash.events.Event} event
+	 */
+	clickHandler : function(event /* : Event */) /* : void */
+	{
+		/** @type {MyInitialView} */
+		var self = this;
+		self.dispatchEvent(adobe.newObject(flash.events.Event, ["buttonClicked"]));
+	}
+});
+
+
+/**
+ * Member: MyInitialView.prototype._CLASS
+ * @const
+ * @type {MyInitialView}
+ */
+MyInitialView.prototype._CLASS = MyInitialView;
+
+
+/**
+ * Member: MyInitialView._PACKAGE
+ * @const
+ * @type {MyInitialView}
+ */
+MyInitialView._PACKAGE = adobe.globals;
+
+
+/**
+ * Member: MyInitialView._NAME
+ * @const
+ * @type {string}
+ */
+MyInitialView._NAME = "MyInitialView";
+
+/**
+ * Member: MyInitialView._FULLNAME
+ * @const
+ * @type {string}
+ */
+MyInitialView._FULLNAME = "MyInitialView";
+
+/**
+ * Member: MyInitialView._SUPER
+ * @const
+ * @type {org.apache.flex.core.ViewBase}
+ */
+MyInitialView._SUPER = org.apache.flex.core.ViewBase;
+
+/**
+ * Member: MyInitialView._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+MyInitialView._NAMESPACES = {
+	"uiDescriptors::2" : true,
+	"lbl::2" : true,
+	"clickHandler::7:MyInitialView" : true
+}
+
+adobe.classes["MyInitialView"]  = MyInitialView;
+

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyInitialView.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyModel.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyModel.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyModel.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyModel.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,117 @@
+/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:04
+ */
+/**
+ * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:56
+ *
+ * Class: models.MyModel
+ * @constructor
+ * @extends flash.events.EventDispatcher
+ */
+models.MyModel = adobe.extend( "MyModel", flash.events.EventDispatcher, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: models.MyModel()
+	 * @constructor
+	 * @this {models}
+	 */
+	init : function()
+	{
+	var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+		return self;
+	}
+,
+
+	/**
+	 * Member: models.MyModel._labelText
+	 * @private
+	 * @type {string}
+	 */
+	_labelText /* : String */ : undefined,
+	
+
+	/**
+	 * Method: models.MyModel.get_labelText()
+	 * @this {models.MyModel}
+	 * @return {string}
+	 */
+	get_labelText : function() /* : String */
+	{
+		/** @type {models.MyModel} */
+		var self = this;
+		return self._labelText;
+	},
+	
+
+	/**
+	 * Method: models.MyModel.set_labelText()
+	 * @this {models.MyModel}
+	 * @param {string} value
+	 */
+	set_labelText : function(value /* : String */) /* : void */
+	{
+		/** @type {models.MyModel} */
+		var self = this;
+		if((value != self._labelText))
+		{
+			self._labelText = value;
+			self.dispatchEvent(adobe.newObject(flash.events.Event, ["labelTextChanged"]));
+		}
+	}
+});
+
+
+/**
+ * Member: models.MyModel.prototype._CLASS
+ * @const
+ * @type {models.MyModel}
+ */
+models.MyModel.prototype._CLASS = models.MyModel;
+
+
+/**
+ * Member: models.MyModel._PACKAGE
+ * @const
+ * @type {models}
+ */
+models.MyModel._PACKAGE = models;
+
+
+/**
+ * Member: models.MyModel._NAME
+ * @const
+ * @type {string}
+ */
+models.MyModel._NAME = "MyModel";
+
+/**
+ * Member: models.MyModel._FULLNAME
+ * @const
+ * @type {string}
+ */
+models.MyModel._FULLNAME = "models.MyModel";
+
+/**
+ * Member: models.MyModel._SUPER
+ * @const
+ * @type {flash.events.EventDispatcher}
+ */
+models.MyModel._SUPER = flash.events.EventDispatcher;
+
+/**
+ * Member: models.MyModel._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+models.MyModel._NAMESPACES = {
+	"_labelText::7:models.MyModel" : true,
+	"labelText::2" : true,
+	"labelText::2" : true
+}
+
+adobe.classes["models.MyModel"]  = models.MyModel;
+

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MyModel.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MySimpleValuesImpl.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MySimpleValuesImpl.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MySimpleValuesImpl.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MySimpleValuesImpl.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,78 @@
+/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:02
+ */
+/**
+ * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:57
+ *
+ * Class: MySimpleValuesImpl
+ * @constructor
+ * @extends org.apache.flex.core.SimpleValuesImpl
+ */
+MySimpleValuesImpl = adobe.extend( "MySimpleValuesImpl", org.apache.flex.core.SimpleValuesImpl, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: MySimpleValuesImpl()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {MySimpleValuesImpl} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+		self._super();
+		self.values = {ITextButtonBead : org.apache.flex.html.staticControls.beads.TextButtonBead, ITextBead : org.apache.flex.html.staticControls.beads.TextFieldBead, ITextModel : org.apache.flex.html.staticControls.beads.models.TextModel};
+		return self;
+	}
+
+});
+
+
+/**
+ * Member: MySimpleValuesImpl.prototype._CLASS
+ * @const
+ * @type {MySimpleValuesImpl}
+ */
+MySimpleValuesImpl.prototype._CLASS = MySimpleValuesImpl;
+
+
+/**
+ * Member: MySimpleValuesImpl._PACKAGE
+ * @const
+ * @type {MySimpleValuesImpl}
+ */
+MySimpleValuesImpl._PACKAGE = adobe.globals;
+
+
+/**
+ * Member: MySimpleValuesImpl._NAME
+ * @const
+ * @type {string}
+ */
+MySimpleValuesImpl._NAME = "MySimpleValuesImpl";
+
+/**
+ * Member: MySimpleValuesImpl._FULLNAME
+ * @const
+ * @type {string}
+ */
+MySimpleValuesImpl._FULLNAME = "MySimpleValuesImpl";
+
+/**
+ * Member: MySimpleValuesImpl._SUPER
+ * @const
+ * @type {org.apache.flex.core.SimpleValuesImpl}
+ */
+MySimpleValuesImpl._SUPER = org.apache.flex.core.SimpleValuesImpl;
+
+/**
+ * Member: MySimpleValuesImpl._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+MySimpleValuesImpl._NAMESPACES = {};
+
+adobe.classes["MySimpleValuesImpl"]  = MySimpleValuesImpl;
+

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/MySimpleValuesImpl.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/index.html
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/index.html?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/index.html (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/index.html Fri Nov 30 14:11:04 2012
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<script type="text/javascript" src="js/adobe.js"></script>
+<script type="text/javascript" src="js/framework.js"></script>
+<script type="text/javascript" src="MySimpleValuesImpl.js"></script>
+<script type="text/javascript" src="MyInitialView.js"></script>
+<script type="text/javascript" src="MyController.js"></script>
+<script type="text/javascript" src="MyModel.js"></script>
+<script type="text/javascript" src="FlexJSTest.js"></script>
+<script type="text/javascript">
+	var app = new FlexJSTest();
+</script>
+<title>FlexJSTest</title>
+</head>
+
+<body onload="app.start()">
+</body>
+</html>

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/adobe.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/adobe.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/adobe.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/adobe.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,103 @@
+// JavaScript Document
+/* Simple JavaScript Inheritance
+ * By John Resig http://ejohn.org/
+ * MIT Licensed.
+ */
+// Inspired by base2 and Prototype
+
+// Modifications from original:
+// - "Class" replaced by "adobe"
+// - Refactored as a singleton class factory.  You call adobe.extend for all classes
+// instead of calling the class's extend method as shown in the blog aritcle
+// - createProxy added
+// - newObject added
+// - eventMap added
+(function(){
+  var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
+  // The base Class implementation (does nothing)
+  this.adobe = function(){};
+  
+  adobe.eventMap = {
+  	click: "onClick"
+  }
+  
+  adobe.classes = {
+  }
+  
+  adobe.createProxy = function(context, method)
+  {
+	  var self = context;
+	  return function(e) { method.apply(self, [e]) };
+  }
+  
+  adobe.newObject = function(ctor, ctorArgs)
+  {
+	  if (ctor === flash.events.Event && ctorArgs.length == 1)
+	  {
+		  var evt = document.createEvent('Event');
+		  evt.initEvent(ctorArgs[0], false, false);
+		  return evt;
+	  }
+	  
+	  if (ctorArgs.length == 1)
+		return new ctor(ctorArgs[0]);
+	  if (ctorArgs.length == 0)
+	  	return new ctor();
+  }
+  
+  adobe.prototype.init = function () {};
+  
+  // Create a new Class that inherits from this class
+  adobe.extend = function(className, superClass, prop) {
+    var _super = superClass.prototype;
+    
+    // Instantiate a base class (but only create the instance,
+    // don't run the init constructor)
+    initializing = true;
+    var prototype = new superClass();
+    initializing = false;
+    
+    // Copy the properties over onto the new prototype
+    for (var name in prop) {
+      // Check if we're overwriting an existing function
+      prototype[name] = typeof prop[name] == "function" && 
+        typeof _super[name] == "function" && fnTest.test(prop[name]) ?
+        (function(name, fn){
+          return function() {
+            var tmp = this._super;
+            
+            // Add a new ._super() method that is the same method
+            // but on the super-class
+            this._super = _super[name];
+            
+            // The method only need to be bound temporarily, so we
+            // remove it when we're done executing
+            var ret = fn.apply(this, arguments);        
+            this._super = tmp;
+            
+            return ret;
+          };
+        })(name, prop[name]) :
+        prop[name];
+    }
+    
+    // The dummy class constructor
+    function adobe() {
+      // All construction is actually done in the init method
+      if ( !initializing && this.init )
+        this.init.apply(this, arguments);
+    }
+    
+	// Populate our constructed prototype object
+    adobe.prototype = prototype;
+    
+    // Enforce the constructor to be what we expect
+    adobe.prototype.constructor = adobe;
+
+	// AJH remove this for now
+    // And make this class extendable
+    // adobe.extend = arguments.callee;
+    
+    return adobe;
+  };
+})();
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/adobe.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/framework.js
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/framework.js?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/framework.js (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/framework.js Fri Nov 30 14:11:04 2012
@@ -0,0 +1,1030 @@
+// JavaScript Document
+if (!("models" in window))
+	window.models = {};
+	
+if (!("controllers" in window))
+	window.controllers = {};
+	
+if (!("flash" in window))
+	window.flash = {};
+	
+if (!("events" in flash))
+	flash.events = {};
+	
+if (!("org" in window))
+	window.org = {};
+
+if (!("apache" in org))
+	org.apache = {};
+	
+if (!("flex" in org.apache))
+	org.apache.flex = {};
+
+if (!("core" in org.apache.flex))
+	org.apache.flex.core = {};
+	
+if (!("html" in org.apache.flex))
+	org.apache.flex.html = {};
+
+if (!("binding" in org.apache.flex))
+	org.apache.flex.binding = {};
+
+if (!("static" in org.apache.flex.html))
+	org.apache.flex.html.staticControls = {};
+
+if (!("beads" in org.apache.flex.html.staticControls))
+	org.apache.flex.html.staticControls.beads = {};
+
+if (!("static" in org.apache.flex.html.staticControls.beads))
+	org.apache.flex.html.staticControls.beads.models = {};
+
+/*******************************
+*
+* Application
+*
+********************************/
+
+org.apache.flex.core.Application = adobe.extend("org.apache.flex.core.Application", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.core.Application()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.core.Application} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+    
+    queuedListeners : undefined,
+    
+    addEventListener : function(type, handler)
+    {
+        // at contructor time, the element may not be available yet
+        if (typeof this.element == "undefined")
+        {
+            if (typeof this.queuedListeners == "undefined")
+                this.queuedListeners = [];
+            this.queuedListeners.push ({ type: type, handler: handler});
+            return;
+        }
+        
+        if (typeof this.element.attachEvent == "function")
+            this.element.attachEvent(adobe.eventMap[type], handler);
+        else if (typeof this.element.addEventListener == "function")
+        {
+            this.element.addEventListener(type, handler);
+        }
+    },
+    
+    start : function()
+    {
+		/** @type {org.apache.flex.core.Application} */
+		var self = this;
+
+        this.element = document.getElementsByTagName('body')[0];
+        
+        if (typeof this.queuedListeners != "undefined")
+        {
+            var n = this.queuedListeners.length;
+            for (var i = 0; i < n; i++)
+            {
+                var q = this.queuedListeners[i];
+                this.addEventListener(q.type, q.handler);
+            }
+        }
+
+        self.valuesImpl = new self.valuesImplClass;
+        org.apache.flex.core.ValuesManager.valuesImpl = self.valuesImpl;
+			
+        self.initialView = new self.initialViewClass;
+        self.initialView.addToParent(this.element);
+        self.initialView.initUI(self);
+        // create the event
+        var evt = document.createEvent('Event');
+        // define that the event name is `build`
+        evt.initEvent('viewChanged', true, true);
+
+        // elem is any element
+        this.element.dispatchEvent(evt);
+
+    }
+    
+});
+
+
+/**
+ * Member: org.apache.flex.core.Application.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.core.Application}
+ */
+org.apache.flex.core.Application.prototype._CLASS = org.apache.flex.core.Application;
+
+
+/**
+ * Member: org.apache.flex.core.Application._PACKAGE
+ * @const
+ * @type {org.apache.flex.core.Application}
+ */
+org.apache.flex.core.Application._PACKAGE = org.apache.flex.core;
+
+
+/**
+ * Member: org.apache.flex.core.Application._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.Application._NAME = "org.apache.flex.core.Application";
+
+/**
+ * Member: org.apache.flex.core.Application._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.Application._FULLNAME = "org.apache.flex.core.Application";
+
+/**
+ * Member: org.apache.flex.core.Application._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.Application._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.core.Application._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.Application._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.core.Application"]  = org.apache.flex.core.Application;
+
+/*******************************
+*
+* UIBase
+*
+********************************/
+
+org.apache.flex.core.UIBase = adobe.extend("org.apache.flex.core.UIBase", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.core.UIBase()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.core.UIBase} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+    
+    addEventListener : function(type, handler)
+    {
+        if (typeof this.element.attachEvent == "function")
+            this.element.attachEvent(adobe.eventMap[type], handler);
+        else if (typeof this.element.addEventListener == "function")
+            this.element.addEventListener(type, handler);
+    },
+    
+    dispatchEvent : function(evt)
+    {
+		/** @type {org.apache.flex.core.UIBase} */
+		var self = this;
+
+        // elem is any element
+        this.element.dispatchEvent(evt);
+    },
+    
+    set_x : function(n)
+    {
+        this.positioner.style.position = "absolute";
+        this.positioner.style.left = n.toString() + "px";
+    },
+
+    set_y : function(n)
+    {
+        this.positioner.style.position = "absolute";
+        this.positioner.style.top = n.toString() + "px";
+    }
+    
+});
+
+
+/**
+ * Member: org.apache.flex.core.UIBase.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.core.UIBase}
+ */
+org.apache.flex.core.UIBase.prototype._CLASS = org.apache.flex.core.UIBase;
+
+
+/**
+ * Member: org.apache.flex.core.UIBase._PACKAGE
+ * @const
+ * @type {org.apache.flex.core.UIBase}
+ */
+org.apache.flex.core.UIBase._PACKAGE = org.apache.flex.core;
+
+
+/**
+ * Member: org.apache.flex.core.UIBase._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.UIBase._NAME = "org.apache.flex.core.UIBase";
+
+/**
+ * Member: org.apache.flex.core.UIBase._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.UIBase._FULLNAME = "org.apache.flex.core.UIBase";
+
+/**
+ * Member: org.apache.flex.core.UIBase._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.UIBase._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.core.UIBase._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.UIBase._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.core.UIBase"]  = org.apache.flex.core.UIBase;
+
+/*******************************
+*
+* ViewBase
+*
+********************************/
+
+org.apache.flex.core.ViewBase = adobe.extend("org.apache.flex.core.ViewBase", org.apache.flex.core.UIBase, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.core.ViewBase()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.core.ViewBase} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+    
+    addToParent : function(p)
+    {
+        this.element = document.createElement("div");
+        p.appendChild(this.element);
+    },
+
+    initUI: function(app)
+    {
+		/** @type {org.apache.flex.core.ViewBase} */
+		var self = this;
+
+        // cache this for speed
+        var descriptors = self.get_uiDescriptors();
+			
+        var n = descriptors.length;
+        var i = 0;
+        
+        var value;
+        var valueName;
+        
+        while (i < n)
+        {
+            var c = descriptors[i++];					// class
+            var o = new c();
+            o.addToParent(this.element);
+            c = descriptors[i++];							// model
+            if (c)
+            {
+                value = new c();
+                o.addBead(value);
+            }
+            if (typeof o.initModel == "function")
+                o.initModel();
+            var j;
+            var m;
+            valueName = descriptors[i++];					// id
+            if (valueName)
+                this[valueName] = o;
+
+            m = descriptors[i++];							// num props
+            for (j = 0; j < m; j++)
+            {
+                valueName = descriptors[i++];
+                value = descriptors[i++];
+                o["set_" + valueName](value);
+            }
+            m = descriptors[i++];							// num beads
+            for (j = 0; j < m; j++)
+            {
+                c = descriptors[i++];
+                value = new c();
+                o.addBead(value);
+            }
+            if (typeof o.initSkin == "function")
+                o.initSkin();
+            m = descriptors[i++];							// num events
+            for (j = 0; j < m; j++)
+            {
+                valueName = descriptors[i++];
+                value = descriptors[i++];
+                o.addEventListener(valueName, adobe.createProxy(this, value));
+            }
+            m = descriptors[i++];							// num bindings
+            for (j = 0; j < m; j++)
+            {
+                valueName = descriptors[i++];
+                var bindingType = descriptors[i++];
+                switch (bindingType)
+                {
+                    case 0: 
+                        var sb = new org.apache.flex.binding.SimpleBinding();
+                        sb.destination = o;
+                        sb.destinationPropertyName = valueName;
+                        sb.source = app[descriptors[i++]];
+                        sb.sourcePropertyName = descriptors[i++];
+                        sb.eventName = descriptors[i++];
+                        sb.initialize();
+                }
+            }
+        }
+    }
+
+});
+
+
+/**
+ * Member: org.apache.flex.core.ViewBase.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.core.ViewBase}
+ */
+org.apache.flex.core.ViewBase.prototype._CLASS = org.apache.flex.core.ViewBase;
+
+
+/**
+ * Member: org.apache.flex.core.ViewBase._PACKAGE
+ * @const
+ * @type {org.apache.flex.core.ViewBase}
+ */
+org.apache.flex.core.ViewBase._PACKAGE = org.apache.flex.core;
+
+
+/**
+ * Member: org.apache.flex.core.ViewBase._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.ViewBase._NAME = "org.apache.flex.core.ViewBase";
+
+/**
+ * Member: org.apache.flex.core.ViewBase._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.ViewBase._FULLNAME = "org.apache.flex.core.ViewBase";
+
+/**
+ * Member: org.apache.flex.core.ViewBase._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.ViewBase._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.core.ViewBase._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.ViewBase._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.core.ViewBase"]  = org.apache.flex.core.ViewBase;
+
+/*******************************
+*
+* Label
+*
+********************************/
+
+org.apache.flex.html.staticControls.Label = adobe.extend("org.apache.flex.html.staticControls.Label", org.apache.flex.core.UIBase, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.html.staticControls.Label()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.html.staticControls.Label} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+    
+    addToParent : function(p)
+    {
+        this.element = document.createElement("div");
+        this.positioner = this.element;
+        p.appendChild(this.element);
+    },
+    
+    get_text : function()
+    {
+        return this.element.innerHTML;
+    },
+    
+    set_text : function(s)
+    {
+        this.element.innerHTML = s; 
+    }
+
+});
+
+
+/**
+ * Member: org.apache.flex.html.staticControls.Label.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.html.staticControls.Label}
+ */
+org.apache.flex.html.staticControls.Label.prototype._CLASS = org.apache.flex.html.staticControls.Label;
+
+
+/**
+ * Member: org.apache.flex.html.staticControls.Label._PACKAGE
+ * @const
+ * @type {org.apache.flex.html.staticControls.Label}
+ */
+org.apache.flex.html.staticControls.Label._PACKAGE = org.apache.flex.html.staticControls;
+
+
+/**
+ * Member: org.apache.flex.html.staticControls.Label._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.html.staticControls.Label._NAME = "org.apache.flex.html.staticControls.Label";
+
+/**
+ * Member: org.apache.flex.html.staticControls.Label._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.html.staticControls.Label._FULLNAME = "org.apache.flex.html.staticControls.Label";
+
+/**
+ * Member: org.apache.flex.html.staticControls.Label._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.html.staticControls.Label._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.html.staticControls.Label._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.html.staticControls.Label._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.html.staticControls.Label"]  = org.apache.flex.html.staticControls.Label;
+
+/*******************************
+*
+* TextButton
+*
+********************************/
+org.apache.flex.html.staticControls.TextButton = adobe.extend("org.apache.flex.html.staticControls.TextButton", org.apache.flex.core.UIBase, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.html.staticControls.TextButton()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.html.staticControls.TextButton} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+    
+    addToParent : function(p)
+    {
+        this.positioner = document.createElement("input");
+        this.element = this.positioner;
+        this.element.setAttribute("type", "button");
+        p.appendChild(this.positioner);
+    },
+    
+    get_text : function()
+    {
+        return this.element.getAttribute("value");
+    },
+    
+    set_text : function(s)
+    {
+        this.element.setAttribute("value", s); 
+    }
+    
+});
+
+
+/**
+ * Member: org.apache.flex.html.staticControls.TextButton.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.html.staticControls.TextButton}
+ */
+org.apache.flex.html.staticControls.TextButton.prototype._CLASS = org.apache.flex.html.staticControls.TextButton;
+
+
+/**
+ * Member: org.apache.flex.html.staticControls.TextButton._PACKAGE
+ * @const
+ * @type {org.apache.flex.html.staticControls.TextButton}
+ */
+org.apache.flex.html.staticControls.TextButton._PACKAGE = org.apache.flex.html.staticControls;
+
+
+/**
+ * Member: org.apache.flex.html.staticControls.TextButton._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.html.staticControls.TextButton._NAME = "org.apache.flex.html.staticControls.TextButton";
+
+/**
+ * Member: org.apache.flex.html.staticControls.TextButton._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.html.staticControls.TextButton._FULLNAME = "org.apache.flex.html.staticControls.TextButton";
+
+/**
+ * Member: org.apache.flex.html.staticControls.TextButton._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.html.staticControls.TextButton._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.html.staticControls.TextButton._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.html.staticControls.TextButton._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.html.staticControls.TextButton"]  = org.apache.flex.html.staticControls.TextButton;
+
+/*******************************
+*
+* SimpleValuesImpl
+*
+********************************/
+
+org.apache.flex.core.SimpleValuesImpl = adobe.extend("org.apache.flex.core.SimpleValuesImpl", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.core.SimpleValuesImpl()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.core.SimpleValuesImpl} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+        
+});
+
+
+/**
+ * Member: org.apache.flex.core.SimpleValuesImpl.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.core.SimpleValuesImpl}
+ */
+org.apache.flex.core.SimpleValuesImpl.prototype._CLASS = org.apache.flex.core.SimpleValuesImpl;
+
+
+/**
+ * Member: org.apache.flex.core.SimpleValuesImpl._PACKAGE
+ * @const
+ * @type {org.apache.flex.core.SimpleValuesImpl}
+ */
+org.apache.flex.core.SimpleValuesImpl._PACKAGE = org.apache.flex.core;
+
+
+/**
+ * Member: org.apache.flex.core.SimpleValuesImpl._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.SimpleValuesImpl._NAME = "org.apache.flex.core.SimpleValuesImpl";
+
+/**
+ * Member: org.apache.flex.core.SimpleValuesImpl._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.SimpleValuesImpl._FULLNAME = "org.apache.flex.core.SimpleValuesImpl";
+
+/**
+ * Member: org.apache.flex.core.SimpleValuesImpl._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.SimpleValuesImpl._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.core.SimpleValuesImpl._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.SimpleValuesImpl._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.core.SimpleValuesImpl"]  = org.apache.flex.core.SimpleValuesImpl;
+
+/*******************************
+*
+* ValuesManager
+*
+********************************/
+
+org.apache.flex.core.ValuesManager = adobe.extend("org.apache.flex.core.ValuesManager", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.core.ValuesManager()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.core.ValuesManager} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+        
+});
+
+
+/**
+ * Member: org.apache.flex.core.ValuesManager.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.core.ValuesManager}
+ */
+org.apache.flex.core.ValuesManager.prototype._CLASS = org.apache.flex.core.ValuesManager;
+
+
+/**
+ * Member: org.apache.flex.core.ValuesManager._PACKAGE
+ * @const
+ * @type {org.apache.flex.core.ValuesManager}
+ */
+org.apache.flex.core.ValuesManager._PACKAGE = org.apache.flex.core;
+
+
+/**
+ * Member: org.apache.flex.core.ValuesManager._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.ValuesManager._NAME = "org.apache.flex.core.ValuesManager";
+
+/**
+ * Member: org.apache.flex.core.ValuesManager._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.core.ValuesManager._FULLNAME = "org.apache.flex.core.ValuesManager";
+
+/**
+ * Member: org.apache.flex.core.ValuesManager._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.ValuesManager._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.core.ValuesManager._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.core.ValuesManager._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.core.ValuesManager"]  = org.apache.flex.core.ValuesManagerValuesManager;
+
+/*******************************
+*
+* SimpleBinding
+*
+********************************/
+
+org.apache.flex.binding.SimpleBinding = adobe.extend("org.apache.flex.binding.SimpleBinding", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: org.apache.flex.binding.SimpleBinding()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {org.apache.flex.binding.SimpleBinding} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+    
+    source: null,
+    sourcePropertyName: null,
+    eventName: null,
+    destination: null,
+    destinationPropertyName: null,
+    
+    changeHandler : function()
+    {
+		/** @type {org.apache.flex.binding.SimpleBinding} */
+		var self = this;
+
+        self.destination["set_" + self.destinationPropertyName](self.source["get_" + self.sourcePropertyName]());
+    },
+    
+    initialize : function()
+    {
+		/** @type {org.apache.flex.binding.SimpleBinding} */
+		var self = this;
+
+        self.source.addEventListener(self.eventName, adobe.createProxy(self, self.changeHandler));
+        self.destination["set_" + self.destinationPropertyName](self.source["get_" + self.sourcePropertyName]());
+    }
+    
+    
+    
+});
+
+
+/**
+ * Member: org.apache.flex.binding.SimpleBinding.prototype._CLASS
+ * @const
+ * @type {org.apache.flex.binding.SimpleBinding}
+ */
+org.apache.flex.binding.SimpleBinding.prototype._CLASS = org.apache.flex.binding.SimpleBinding;
+
+
+/**
+ * Member: org.apache.flex.binding.SimpleBinding._PACKAGE
+ * @const
+ * @type {org.apache.flex.binding.SimpleBinding}
+ */
+org.apache.flex.binding.SimpleBinding._PACKAGE = org.apache.flex.binding;
+
+
+/**
+ * Member: org.apache.flex.binding.SimpleBinding._NAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.binding.SimpleBinding._NAME = "org.apache.flex.binding.SimpleBinding";
+
+/**
+ * Member: org.apache.flex.binding.SimpleBinding._FULLNAME
+ * @const
+ * @type {string}
+ */
+org.apache.flex.binding.SimpleBinding._FULLNAME = "org.apache.flex.binding.SimpleBinding";
+
+/**
+ * Member: org.apache.flex.binding.SimpleBinding._SUPER
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.binding.SimpleBinding._SUPER = Object;
+
+/**
+ * Member: org.apache.flex.binding.SimpleBinding._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+org.apache.flex.binding.SimpleBinding._NAMESPACES = {};
+
+adobe.classes["org.apache.flex.binding.SimpleBinding"]  = org.apache.flex.binding.SimpleBinding;
+
+/*******************************
+*
+* EventDispatcher
+*
+********************************/
+
+flash.events.EventDispatcher = adobe.extend("flash.events.EventDispatcher", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: flash.events.EventDispatcher()
+	 * @constructor
+	 */
+	init : function()
+	{
+		/** @type {flash.events.EventDispatcher} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+		return self;
+	},
+
+    listeners : {},
+    
+    addEventListener : function(type, handler)
+    {
+        if (typeof this.listeners.type === "undefined")
+            this.listeners[type] = [];
+            
+        this.listeners[type].push(handler);
+    },
+    
+    dispatchEvent : function(event)
+    {
+        var self = this;
+        var type = event.type;
+        if (typeof this.listeners[type] !== "undefined")
+        {
+            var arr = this.listeners[type];
+            var n = arr.length;
+            for (var i = 0; i < n; i++)
+                arr[i](event);
+        }
+    }    
+    
+});
+
+
+/**
+ * Member: flash.events.EventDispatcher.prototype._CLASS
+ * @const
+ * @type {flash.events.EventDispatcher}
+ */
+flash.events.EventDispatcher.prototype._CLASS = flash.events.EventDispatcher;
+
+
+/**
+ * Member: flash.events.EventDispatcher._PACKAGE
+ * @const
+ * @type {flash.events.EventDispatcher}
+ */
+flash.events.EventDispatcher._PACKAGE = flash.events;
+
+
+/**
+ * Member: flash.events.EventDispatcher._NAME
+ * @const
+ * @type {string}
+ */
+flash.events.EventDispatcher._NAME = "flash.events.EventDispatcher";
+
+/**
+ * Member: flash.events.EventDispatcher._FULLNAME
+ * @const
+ * @type {string}
+ */
+flash.events.EventDispatcher._FULLNAME = "flash.events.EventDispatcher";
+
+/**
+ * Member: flash.events.EventDispatcher._SUPER
+ * @const
+ * @type {Object}
+ */
+flash.events.EventDispatcher._SUPER = Object;
+
+/**
+ * Member: flash.events.EventDispatcher._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+flash.events.EventDispatcher._NAMESPACES = {};
+
+adobe.classes["flash.events.EventDispatcher"]  = flash.events.EventDispatcher;
+
+/*******************************
+*
+* Event
+*
+********************************/
+
+flash.events.Event = adobe.extend("flash.events.Event", adobe, {
+
+	// Constructor
+	
+
+	/**
+	 * Constructor: flash.events.Event()
+	 * @constructor
+	 */
+	init : function(type)
+	{
+		/** @type {flash.events.Event} */
+		var self = this;
+		
+		self._super(); /* Call to super() was missing in ctor! */
+        
+        self.type = type;
+		return self;
+	},
+
+    type : undefined
+        
+});
+
+
+/**
+ * Member: flash.events.Event.prototype._CLASS
+ * @const
+ * @type {flash.events.Event}
+ */
+flash.events.Event.prototype._CLASS = flash.events.Event;
+
+
+/**
+ * Member: flash.events.Event._PACKAGE
+ * @const
+ * @type {flash.events.Event}
+ */
+flash.events.Event._PACKAGE = flash.events;
+
+
+/**
+ * Member: flash.events.Event._NAME
+ * @const
+ * @type {string}
+ */
+flash.events.Event._NAME = "flash.events.Event";
+
+/**
+ * Member: flash.events.Event._FULLNAME
+ * @const
+ * @type {string}
+ */
+flash.events.Event._FULLNAME = "flash.events.Event";
+
+/**
+ * Member: flash.events.Event._SUPER
+ * @const
+ * @type {Object}
+ */
+flash.events.Event._SUPER = Object;
+
+/**
+ * Member: flash.events.Event._NAMESPACES
+ * @const
+ * @type {Object}
+ */
+flash.events.Event._NAMESPACES = {};
+
+adobe.classes["flash.events.Event"]  = flash.events.Event;
+

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/published/examples/FlexJSTest/js/framework.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTest.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTest.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTest.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTest.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,39 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	import org.apache.flex.core.Application;
+	import models.MyModel;
+	import controllers.MyController;
+	
+	public class FlexJSTest extends Application
+	{
+		public function FlexJSTest()
+		{
+			valuesImplClass = MySimpleValuesImpl;
+			initialViewClass = MyInitialView;
+			model = new MyModel();
+			model.labelText = "Hello World!";
+			controller = new MyController(this);
+		}
+		
+		private var controller:MyController;
+		public var model:MyModel;
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTest.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTestMXML.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTestMXML.mxml?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTestMXML.mxml (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTestMXML.mxml Fri Nov 30 14:11:04 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+				   xmlns:local="*"
+				   xmlns:basic="http://ns.apache.org/flex/basic" 
+				   xmlns:html="http://ns.apache.org/flex/html" 
+				   xmlns:models="models.*" 
+				   xmlns:controllers="controllers.*">
+	<basic:valuesImpl>
+		<local:MySimpleValuesImpl />
+	</basic:valuesImpl>
+	<basic:initialView>
+		<local:MyInitialView />
+	</basic:initialView>
+	<basic:model>
+		<models:MyModel />
+	</basic:model>
+	<basic:controller>
+		<controllers:MyController />
+	</basic:controller>
+</basic:Application>
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/FlexJSTestMXML.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialView.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialView.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialView.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialView.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,69 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 
+{
+	import flash.events.Event;
+	
+	import org.apache.flex.core.ViewBase;
+	import org.apache.flex.html.staticControls.TextButton;
+	import org.apache.flex.html.staticControls.Label;
+	import org.apache.flex.html.staticControls.beads.models.TextModel;
+	
+	public class MyInitialView extends ViewBase
+	{
+		public function MyInitialView()
+		{
+			super();
+		}
+		
+		override public function get uiDescriptors():Array
+		{
+			return [
+				Label,
+				null,
+				"lbl",
+				2,
+				"x", 100,
+				"y", 25,
+				0,
+				0,
+				1, 
+				"text", 0, "model", "labelText", "labelTextChanged",
+				TextButton,
+				null,
+				null,
+				3,
+				"text", "OK",
+				"x", 100,
+				"y", 75,
+				0,
+				1,
+				"click", clickHandler,
+				0
+				];
+		}
+		
+		public var lbl:Label;
+		
+		private function clickHandler(event:Event):void
+		{
+			dispatchEvent(new Event("buttonClicked"));
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialView.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialViewMXML.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialViewMXML.mxml?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialViewMXML.mxml (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialViewMXML.mxml Fri Nov 30 14:11:04 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+				   xmlns:basic="http://ns.apache.org/flex/basic" 
+				   xmlns:html="http://ns.apache.org/flex/html" 
+				   >
+	<basic:Label id="lbl" x="100" y="25" text="{model.labelText}" />
+	<basic:Button text="OK" x="100" y="75" click="dispatchEvent(new Event('buttonClicked'))" />
+</basic:ViewBase>

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MyInitialViewMXML.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MySimpleValuesImpl.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MySimpleValuesImpl.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MySimpleValuesImpl.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MySimpleValuesImpl.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 
+{
+	import flash.events.IEventDispatcher;
+	
+	import org.apache.flex.core.SimpleValuesImpl;
+	import org.apache.flex.html.staticControls.beads.TextButtonBead;
+	import org.apache.flex.html.staticControls.beads.TextFieldBead;
+	import org.apache.flex.html.staticControls.beads.models.TextModel;
+	
+	public class MySimpleValuesImpl extends SimpleValuesImpl
+	{
+		public function MySimpleValuesImpl()
+		{
+			super();
+			values = { 
+				ITextButtonBead: TextButtonBead,
+				ITextBead: TextFieldBead,
+				ITextModel: TextModel				
+			}
+		}
+		
+		
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/MySimpleValuesImpl.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/MyController.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/MyController.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/MyController.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/MyController.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 controllers
+{
+	import flash.events.Event;
+
+	public class MyController
+	{
+		public function MyController(app:FlexJSTest)
+		{
+			this.app = app;
+			app.addEventListener("viewChanged", viewChangeHandler);
+		}
+		
+		private var app:FlexJSTest;
+		
+		private function viewChangeHandler(event:Event):void
+		{
+			app.initialView.addEventListener("buttonClicked", buttonClickHandler);
+		}
+		
+		private function buttonClickHandler(event:Event):void
+		{
+			app.model.labelText = "Hello Universe";
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/controllers/MyController.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/MyModel.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/MyModel.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/MyModel.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/MyModel.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 models
+{
+	import flash.events.EventDispatcher;
+	import flash.events.Event;
+	
+	public class MyModel extends EventDispatcher
+	{
+		public function MyModel()
+		{
+		}
+		
+		private var _labelText:String;
+		
+		public function get labelText():String
+		{
+			return _labelText;
+		}
+		
+		public function set labelText(value:String):void
+		{
+			if (value != _labelText)
+			{
+				_labelText = value;
+				dispatchEvent(new Event("labelTextChanged"));
+			}
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/examples/FlexJSTest/src/models/MyModel.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/SimpleBinding.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/SimpleBinding.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/SimpleBinding.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/SimpleBinding.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+	import flash.events.Event;
+	import flash.events.IEventDispatcher;
+
+	public class SimpleBinding
+	{
+		public function SimpleBinding()
+		{
+		}
+		
+		public var source:IEventDispatcher;
+		public var sourcePropertyName:String;
+		public var eventName:String;
+		public var destination:Object;
+		public var destinationPropertyName:String;
+		
+		public function initialize():void
+		{
+			source.addEventListener(eventName, changeHandler);
+			destination[destinationPropertyName] = source[sourcePropertyName];
+		}
+		
+		private function changeHandler(event:Event):void
+		{
+			destination[destinationPropertyName] = source[sourcePropertyName];
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/binding/SimpleBinding.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/Application.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/Application.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/Application.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/Application.as Fri Nov 30 14:11:04 2012
@@ -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
+{
+	import flash.display.Sprite;
+	import flash.events.Event;
+	
+	public class Application extends Sprite
+	{
+		public function Application()
+		{
+			super();
+			loaderInfo.addEventListener(Event.INIT, initHandler);
+		}
+		
+		private function initHandler(event:Event):void
+		{
+			valuesImpl = new valuesImplClass as IValuesImpl;
+			ValuesManager.valuesImpl = valuesImpl;
+			
+			initialView = new initialViewClass as ViewBase;
+			initialView.addToParent(this);
+			initialView.initUI(this);
+			dispatchEvent(new Event("viewChanged"));
+		}
+		
+		public var valuesImplClass:Class;
+		public var valuesImpl:IValuesImpl;
+		
+		public var initialViewClass:Class;
+		public var initialView:ViewBase;
+		
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/Application.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBead.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBead.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBead.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBead.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	public interface IBead
+	{
+		function set strand(value:IStrand):void
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBead.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBeadModel.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBeadModel.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBeadModel.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBeadModel.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	import flash.events.IEventDispatcher;
+
+	/** 
+	 *  Marker interface for models
+	 */
+	public interface IBeadModel extends IEventDispatcher
+	{
+		
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IBeadModel.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitModel.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitModel.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitModel.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitModel.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	public interface IInitModel
+	{
+		function initModel():void;
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitModel.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitSkin.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitSkin.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitSkin.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitSkin.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	public interface IInitSkin
+	{
+		function initSkin():void;
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IInitSkin.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IStrand.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IStrand.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IStrand.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IStrand.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,27 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	public interface IStrand
+	{
+		function addBead(bead:IBead):void;
+		function getBeadByType(classOrInterface:Class):IBead;
+		function removeBead(bead:IBead):IBead;		
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/IStrand.as
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextBead.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextBead.as?rev=1415642&view=auto
==============================================================================
--- incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextBead.as (added)
+++ incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextBead.as Fri Nov 30 14:11:04 2012
@@ -0,0 +1,29 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	public interface ITextBead extends IBead
+	{
+		function get text():String;
+		function set text(value:String):void;
+		
+		function get html():String;
+		function set html(value:String):void;
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/whiteboard/erikdebruin/asjs/source/frameworks/as/src/org/apache/flex/core/ITextBead.as
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message