royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject [royale-asjs] 01/01: Merge branch 'feature/MXRoyale' into feature/Merge_MXRoyale_To_Develop
Date Thu, 30 Aug 2018 13:12:51 GMT
This is an automated email from the ASF dual-hosted git repository.

piotrz pushed a commit to branch feature/Merge_MXRoyale_To_Develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 62ee61a9b6721dd72c3d1ab424478ec9c01cc422
Merge: fb8fb9e b984d84
Author: Piotr Zarzycki <piotrzarzycki21@gmail.com>
AuthorDate: Thu Aug 30 15:12:34 2018 +0200

    Merge branch 'feature/MXRoyale' into feature/Merge_MXRoyale_To_Develop
    
    # Conflicts:
    #	.gitignore
    #	build.xml
    #	examples/mxroyale/tourdeflexmodules/src/Welcome.mxml
    #	frameworks/projects/Basic/src/main/resources/basic-manifest.xml
    #	frameworks/projects/Basic/src/main/royale/BasicClasses.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/core/IList.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/core/IStrandWithPresentationModel.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DataGrid.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/AccordionCollapseBead.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataContainerView.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataItemRendererFactoryForCollectionView.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DynamicItemsRendererFactoryForArrayListData.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/PanelView.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TreeGridView.as
    #	frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/controllers/TreeSingleSelectionMouseController.as
    #	frameworks/projects/Charts/src/main/royale/org/apache/royale/charts/supportClasses/ChartDataGroup.as
    #	frameworks/projects/Core/src/main/royale/org/apache/royale/core/IItemRendererParent.as
    #	frameworks/projects/Core/src/main/royale/org/apache/royale/core/IList.as
    #	frameworks/projects/Core/src/main/royale/org/apache/royale/core/UIBase.as
    #	frameworks/projects/Core/src/main/royale/org/apache/royale/html/beads/ContainerView.as
    #	frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/beads/EasyAccordionCollapseBead.as
    #	frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/List.as
    #	frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/table/TBodyContentArea.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/AreaChart.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/PlotChart.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/ChartBase.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/Series.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/BarSeries.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/ColumnSeries.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/PieSeries.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/AdvancedListBase.as
    #	frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
    #	frameworks/projects/Network/src/main/royale/NetworkClasses.as
    #	frameworks/projects/Network/src/main/royale/org/apache/royale/net/RemoteObject.as
    #	frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/Operation.as
    #	frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/messages/AbstractMessage.as
    #	frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/messages/AcknowledgeMessageExt.as
    #	frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/messages/AsyncMessage.as
    #	frameworks/projects/SparkRoyale/pom.xml
    #	frameworks/projects/pom.xml

 .../mxroyale/tourdeflexmodules/src/Welcome.mxml    |   2 +-
 .../DateFieldDateChooser.as => core/IDataGrid.as}  |  30 ++----
 .../royale/core/IListWithPresentationModel.as      |  47 ----------
 .../royale/org/apache/royale/html/DataContainer.as |   2 +-
 .../royale/html/beads/AccordionCollapseBead.as     |   2 +-
 .../org/apache/royale/html/beads/AccordionView.as  |   2 +-
 .../DataItemRendererFactoryForCollectionView.as    |   4 +-
 .../DynamicItemsRendererFactoryForArrayListData.as |   2 +-
 .../org/apache/royale/core/IItemRendererParent.as  |   3 +-
 .../effects/beads/EasyAccordionCollapseBead.as     |   2 +-
 .../main/royale/org/apache/royale/jewel/List.as    |  17 ++--
 .../src/main/royale/mx/charts/AreaChart.as         |   6 +-
 .../src/main/royale/mx/charts/PlotChart.as         |  10 +-
 .../royale/mx/charts/chartClasses/ChartBase.as     |  22 ++++-
 .../main/royale/mx/charts/chartClasses/Series.as   |  33 +++++--
 .../src/main/royale/mx/charts/series/BarSeries.as  |  23 +++++
 .../main/royale/mx/charts/series/ColumnSeries.as   |  24 +++++
 .../src/main/royale/mx/charts/series/PieSeries.as  |  10 +-
 .../MXRoyale/src/main/royale/mx/controls/Button.as |  24 +++++
 .../src/main/royale/mx/controls/DataGrid.as        | 101 ++++++++++++++++++---
 .../mx/controls/listClasses/AdvancedListBase.as    |  27 ++++++
 .../MXRoyale/src/main/royale/mx/core/Container.as  |   9 ++
 .../src/main/royale/mx/core/UIComponent.as         |  28 +++++-
 .../MXRoyale/src/main/royale/mx/effects/Effect.as  |   3 +
 .../Network/src/main/royale/NetworkClasses.as      |  10 ++
 .../royale/org/apache/royale/net/RemoteObject.as   |   2 +
 frameworks/projects/pom.xml                        |   2 +-
 27 files changed, 319 insertions(+), 128 deletions(-)

diff --cc frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataItemRendererFactoryForCollectionView.as
index c95e7ba,5246fed..6131443
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataItemRendererFactoryForCollectionView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataItemRendererFactoryForCollectionView.as
@@@ -210,10 -209,10 +210,10 @@@ package org.apache.royale.html.bead
  			fillRenderer(event.index, event.item, ir, presentationModel);
  			
  			// update the index values in the itemRenderers to correspond to their shifted positions.
- 			var n:int = dataGroup.numElements;
+ 			var n:int = dataGroup.numItemRenderers;
  			for (var i:int = event.index; i < n; i++)
  			{
 -				ir = dataGroup.getItemRendererAt(i) as ISelectableItemRenderer;
 +				ir = dataGroup.getItemRendererForIndex(i) as ISelectableItemRenderer;
  				ir.index = i;
  				
  				// could let the IR know its index has been changed (eg, it might change its
@@@ -246,10 -245,10 +246,10 @@@
  			dataGroup.removeItemRenderer(ir);
  			
  			// adjust the itemRenderers' index to adjust for the shift
- 			var n:int = dataGroup.numElements;
+ 			var n:int = dataGroup.numItemRenderers;
  			for (var i:int = event.index; i < n; i++)
  			{
 -				ir = dataGroup.getItemRendererAt(i) as ISelectableItemRenderer;
 +				ir = dataGroup.getItemRendererForIndex(i) as ISelectableItemRenderer;
  				ir.index = i;
  				
  				// could let the IR know its index has been changed (eg, it might change its
diff --cc frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DynamicItemsRendererFactoryForArrayListData.as
index d6d1e89,8c424fc..39e8181
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DynamicItemsRendererFactoryForArrayListData.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DynamicItemsRendererFactoryForArrayListData.as
@@@ -191,10 -191,10 +191,10 @@@ package org.apache.royale.html.bead
              fillRenderer(event.index, event.item, ir, presentationModel);
  			
  			// update the index values in the itemRenderers to correspond to their shifted positions.
- 			var n:int = dataGroup.numElements;
+ 			var n:int = dataGroup.numItemRenderers;
  			for (var i:int = event.index; i < n; i++)
  			{
 -				ir = dataGroup.getItemRendererAt(i) as ISelectableItemRenderer;
 +				ir = dataGroup.getItemRendererForIndex(i) as ISelectableItemRenderer;
  				ir.index = i;
  			}
  
diff --cc frameworks/projects/Core/src/main/royale/org/apache/royale/core/IItemRendererParent.as
index 9acea4f,10ee019..2ce7f39
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IItemRendererParent.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IItemRendererParent.as
@@@ -45,11 -45,13 +45,12 @@@ package org.apache.royale.cor
           *  @playerversion AIR 2.6
           *  @productversion Royale 0.0
           */
 -		function addItemRenderer(renderer:IItemRenderer, dispatchAdded:Boolean):void;
 -		function addItemRendererAt(renderer:IItemRenderer, index:int):void;
 -		function removeItemRenderer(renderer:IItemRenderer):void;
 -		function getItemRendererForIndex(index:int):IItemRenderer;
 -        function getItemRendererAt(index:int):IItemRenderer;
 -		function removeAllItemRenderers():void;
 -		function updateAllItemRenderers():void;
 +        function addItemRenderer(renderer:IItemRenderer, dispatchAdded:Boolean):void;
 +        function addItemRendererAt(renderer:IItemRenderer, index:int):void;
 +        function removeItemRenderer(renderer:IItemRenderer):void;
 +        function getItemRendererForIndex(index:int):IItemRenderer;
 +        function removeAllItemRenderers():void;
 +        function updateAllItemRenderers():void;
+         function get numItemRenderers():int;
  	}
  }
diff --cc frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/beads/EasyAccordionCollapseBead.as
index add334a,e80a1a3..25f74ce
--- a/frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/beads/EasyAccordionCollapseBead.as
+++ b/frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/beads/EasyAccordionCollapseBead.as
@@@ -37,10 -37,10 +37,10 @@@ package org.apache.royale.effects.bead
  		
  		private function findPreviousNonCollapsedIndex():int
  		{
- 			var n:int = view.dataGroup.numElements;
+ 			var n:int = view.dataGroup.numItemRenderers;
  			for (var i:int = 0; i < n; i++)
  			{
 -				var collapsible:ICollapsible = view.dataGroup.getItemRendererAt(i) as ICollapsible;
 +				var collapsible:ICollapsible = view.dataGroup.getItemRendererForIndex(i) as ICollapsible;
  				if (collapsible.collapsedHeight != (collapsible as ILayoutChild).height)
  				{
  					return i;
diff --cc frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/List.as
index fbefff5,eb9cb0b..27e16c0
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/List.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/List.as
@@@ -18,12 -18,11 +18,13 @@@
  ////////////////////////////////////////////////////////////////////////////////
  package org.apache.royale.jewel
  {
+ 	import org.apache.royale.core.IListPresentationModel;
  	import org.apache.royale.core.IRollOverModel;
  	import org.apache.royale.core.ISelectionModel;
 -	import org.apache.royale.html.DataContainer;
 -    
 +    import org.apache.royale.core.DataContainerBase;
 +	import org.apache.royale.core.IDataProviderModel;
 +	import org.apache.royale.core.IListPresentationModel;
 +	import org.apache.royale.jewel.beads.models.ListPresentationModel;
  
  	COMPILE::JS
  	{
@@@ -177,16 -133,16 +178,16 @@@
  		 *  @langversion 3.0
  		 *  @playerversion Flash 10.2
  		 *  @playerversion AIR 2.6
 -		 *  @productversion Royale 0.9.3
 +		 *  @productversion Royale 0.9.4
  		 */
- 		public function get rowHeight():Number
- 		{
- 			return presentationModel.rowHeight;
- 		}
- 		public function set rowHeight(value:Number):void
- 		{
- 			presentationModel.rowHeight = value;
- 		}
+         public function get rowHeight():Number
+         {
+             return (presentationModel as IListPresentationModel).rowHeight;
+         }
+         public function set rowHeight(value:Number):void
+         {
+             (presentationModel as IListPresentationModel).rowHeight = value;
+         }
  
  		/**
  		 *  The item currently selected. Changing this value also
diff --cc frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
index 82c330d,3e24147..4ecc506
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
@@@ -253,18 -253,31 +253,42 @@@ public class Button extends UIComponen
  		typeNames = "Button";
  	}
  	
+ 	
+ 	// ------------------------------------------------
+ 	//  paddingRight
+ 	// ------------------------------------------------
+ 	
+ 	public function get paddingRight():Number
+ 	{
+ 		return 0;
+ 	}
+ 	public function set paddingRight(value:Number):void
+ 	{
+ 	}
+ 
+ 	// ------------------------------------------------
+ 	//  fontStyle
+ 	// ------------------------------------------------
+ 	
+ 	public function get fontStyle():String
+ 	{
+ 		return "BOLD";
+ 	}
+ 	public function set fontStyle(value:String):void
+ 	{
+ 	}
  	// ------------------------------------------------
 +	//  fontStyle
 +	// ------------------------------------------------
 +	
 +	public function get fontStyle():String
 +	{
 +		return "BOLD";
 +	}
 +	public function set fontStyle(value:String):void
 +	{
 +	}
 +	// ------------------------------------------------
  	//  icon
  	// ------------------------------------------------
  	
diff --cc frameworks/projects/Network/src/main/royale/NetworkClasses.as
index e3f3767,8326aee..93db34e
--- a/frameworks/projects/Network/src/main/royale/NetworkClasses.as
+++ b/frameworks/projects/Network/src/main/royale/NetworkClasses.as
@@@ -33,32 -33,21 +33,42 @@@ packag
          import org.apache.royale.net.events.ResultEvent; ResultEvent;
          import org.apache.royale.net.events.FaultEvent; FaultEvent;
          
 +        import org.apache.royale.net.remoting.messages.AcknowledgeMessage; AcknowledgeMessage;
          import org.apache.royale.net.remoting.messages.AcknowledgeMessageExt;
 -        import org.apache.royale.net.remoting.messages.CommandMessage;
          import org.apache.royale.net.remoting.messages.AsyncMessage; AsyncMessage;
 +        import org.apache.royale.net.remoting.messages.AsyncMessageExt;
 +        import org.apache.royale.net.remoting.messages.CommandMessage; CommandMessage;
 +        import org.apache.royale.net.remoting.messages.CommandMessageExt;
          import org.apache.royale.net.remoting.messages.RemotingMessage; RemotingMessage;
 -        import org.apache.royale.net.remoting.messages.AcknowledgeMessage; AcknowledgeMessage;
 +
 +        import org.apache.royale.net.remoting.messages.RoyaleClient; RoyaleClient;
 +        
 +        import org.apache.royale.reflection.registerClassAlias;
 +        //RpcClassAliasInitializer
 +        registerClassAlias("DSK", AcknowledgeMessageExt);
 +        registerClassAlias("DSA", AsyncMessageExt);
 +        registerClassAlias("DSC", CommandMessageExt);
 +        
 +
 +        import org.apache.royale.net.remoting.messages.RoyaleClient; RoyaleClient;
 +        import org.apache.royale.net.utils.RPCUIDUtil; RPCUIDUtil;
 +        
 +        
 +        import org.apache.royale.reflection.registerClassAlias;
 +        //RpcClassAliasInitializer
 +        registerClassAlias("org.apache.royale.net.remoting.messages.CommandMessage", CommandMessage);
 +        registerClassAlias("DSK", AcknowledgeMessageExt);
 +
+ 
+         import org.apache.royale.net.remoting.messages.RoyaleClient; RoyaleClient;
+         import org.apache.royale.net.utils.RPCUIDUtil; RPCUIDUtil;
+         
+         
+         import org.apache.royale.reflection.registerClassAlias;
+         //RpcClassAliasInitializer
+         registerClassAlias("org.apache.royale.net.remoting.messages.CommandMessage", CommandMessage);
+         registerClassAlias("DSK", AcknowledgeMessageExt);
+ 
      }
  }
  
diff --cc frameworks/projects/Network/src/main/royale/org/apache/royale/net/RemoteObject.as
index e625341,95d8b09..95e9018
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/RemoteObject.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/RemoteObject.as
@@@ -1,105 -1,103 +1,107 @@@
 -////////////////////////////////////////////////////////////////////////////////
 -//
 -//  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.royale.net
 -{
 -    
 -    import org.apache.royale.core.IBead;
 -    import org.apache.royale.core.IStrand;
 -    import org.apache.royale.events.EventDispatcher;
 -    import org.apache.royale.net.events.FaultEvent;
 -    import org.apache.royale.net.events.ResultEvent;
 -    import org.apache.royale.net.remoting.Operation;
 -    import org.apache.royale.net.remoting.amf.AMFNetConnection;
 -    import org.apache.royale.reflection.getClassByAlias;
 -    import org.apache.royale.reflection.registerClassAlias;
 +////////////////////////////////////////////////////////////////////////////////
 +//
 +//  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.royale.net
 +{
 +    
 +    import org.apache.royale.core.IBead;
 +    import org.apache.royale.core.IStrand;
 +    import org.apache.royale.events.EventDispatcher;
 +    import org.apache.royale.net.events.FaultEvent;
 +    import org.apache.royale.net.events.ResultEvent;
 +    import org.apache.royale.net.remoting.Operation;
 +    import org.apache.royale.net.remoting.amf.AMFNetConnection;
  	import org.apache.royale.net.remoting.messages.AcknowledgeMessage;
  	import org.apache.royale.net.remoting.messages.RoyaleClient;
 -
 -	[Event(name="result", type="org.apache.royale.net.events.ResultEvent")]
 -	[Event(name="fault", type="org.apache.royale.net.events.FaultEvent")]
 -	public class RemoteObject extends EventDispatcher implements IBead
 -	{
 -		private var _endPoint:String;
 -		private var _destination:String;
 -		private var _source:String;
 -        
 -        /**
 -         *  @private
 -         *  The connection to the server 
 -         * 
 -         *  @royalesuppresspublicvarwarning
 -         */
 -        public var nc:AMFNetConnection = new AMFNetConnection();
 -		
 -		/** 
 -		 * 
 -		 */ 
 -		public function RemoteObject()
 -		{
 -		}
 -		
 -        private var _strand:IStrand;
 -        
 -        public function set strand(value:IStrand):void
 -        {
 -            _strand = value;	
 -        }
 -        
 -		public function set endPoint(value:String):void
 -		{
 -			_endPoint = value;	
 -		}
 -		public function get endPoint():String
 -		{
 -			return _endPoint;	
 -		}
 -		
 -		public function set destination(value:String):void
 -		{
 -			_destination = value;	
 -		}
 -		public function get destination():String
 -		{
 -			return _destination;	
 -		}
 -		
 -		public function set source(value:String):void
 -		{
 -			_source = value;	
 -		}
 -		public function get source():String
 -		{
 -			return _source;	
 -		}
 -		
 -		public function send(operation:String, params:Array):void
 -		{
 -            nc.connect(endPoint);
 -            
 -            var op:Operation = new Operation(operation, this, params);
 -            op.send();
 -		}
 -		
 -		public function resultHandler(param:Object):void
 -		{
++	import org.apache.royale.net.remoting.messages.AcknowledgeMessage;
++	import org.apache.royale.net.remoting.messages.RoyaleClient;
 +
 +	[Event(name="result", type="org.apache.royale.net.events.ResultEvent")]
 +	[Event(name="fault", type="org.apache.royale.net.events.FaultEvent")]
 +	/**
 +	 * This is the RemoteObject that has a similar behaviour that Flex RemoteObject
 +	 * and can be use with BlazeDS, LCDS or CF backends
 +	 */
 +	public class RemoteObject extends EventDispatcher implements IBead
 +	{
 +		private var _endPoint:String;
 +		private var _destination:String;
 +        
 +        /**
 +         *  @private
 +         *  The connection to the server 
 +         * 
 +         *  @royalesuppresspublicvarwarning
 +         */
 +        public var nc:AMFNetConnection = new AMFNetConnection();
 +		
 +		/**
 +		 * @private
 +		 * A channel specific override to determine whether small messages should
 +		 * be used. If set to false, small messages will not be used even if they
 +		 * are supported by an endpoint.
 +		 * 
 +		 * @royalesuppresspublicvarwarning
 +		 */
 +		public var enableSmallMessages:Boolean = true;
 +
 +		/** 
 +		 * constructor
 +		 */ 
 +		public function RemoteObject()
 +		{
 +		}
 +		
 +        private var _strand:IStrand;
 +        
 +        public function set strand(value:IStrand):void
 +        {
 +            _strand = value;	
 +        }
 +        
 +		public function set endPoint(value:String):void
 +		{
 +			_endPoint = value;	
 +		}
 +		public function get endPoint():String
 +		{
 +			return _endPoint;	
 +		}
 +		
 +		public function set destination(value:String):void
 +		{
 +			_destination = value;	
 +		}
 +		public function get destination():String
 +		{
 +			return _destination;	
 +		}
 +		
 +		public function send(operation:String, params:Array):void
 +		{
 +            nc.connect(endPoint);
 +            
 +            var op:Operation = new Operation(operation, this, params);
 +            op.send();
 +		}
 +		
 +		public function resultHandler(param:Object):void
 +		{
  			if (param is AcknowledgeMessage)
  			{
  				// Set the server assigned RoyaleClient Id.
diff --cc frameworks/projects/pom.xml
index 59ac1a1,d562703..5bf3182
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@@ -61,8 -61,7 +61,8 @@@
      <module>TLF</module>
      <module>RoyaleSite</module>
      <module>MXRoyale</module>
-     <module>Icons</module>
      <module>SparkRoyale</module>
++    <module>Icons</module>
      <module>Jewel</module>
    </modules>
  


Mime
View raw message