You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2014/02/05 21:32:53 UTC

[2/2] git commit: [flex-asjs] [refs/heads/develop] - Use BarChart from FlexJSJX.swc libary

Use BarChart from FlexJSJX.swc libary


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

Branch: refs/heads/develop
Commit: 6148bd4faf323be221202eb50a68d1c998862089
Parents: c8f4a89
Author: Om <bi...@gmail.com>
Authored: Fri Jan 31 21:29:52 2014 -0800
Committer: Om <bi...@gmail.com>
Committed: Wed Feb 5 12:31:18 2014 -0800

----------------------------------------------------------------------
 .../src/org/apache/flex/html/custom/BarChart.as | 46 --------------------
 .../flex/html/custom/beads/BarChartView.as      | 45 -------------------
 .../org/apache/flex/html/custom/beads/IChart.as | 26 -----------
 .../apache/flex/html/custom/beads/IChartAxis.as | 25 -----------
 .../html/custom/beads/IChartItemRenderer.as     | 39 -----------------
 5 files changed, 181 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6148bd4f/examples/BarChartExample/src/org/apache/flex/html/custom/BarChart.as
----------------------------------------------------------------------
diff --git a/examples/BarChartExample/src/org/apache/flex/html/custom/BarChart.as b/examples/BarChartExample/src/org/apache/flex/html/custom/BarChart.as
deleted file mode 100644
index 3232e94..0000000
--- a/examples/BarChartExample/src/org/apache/flex/html/custom/BarChart.as
+++ /dev/null
@@ -1,46 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.html.custom
-{
-	import org.apache.flex.core.ISelectionModel;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.html.custom.beads.BarChartView;
-	import org.apache.flex.html.custom.beads.IChart;
-	import org.apache.flex.html.staticControls.List;
-	import org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup;
-
-	public class BarChart extends List implements IChart
-	{
-		public function BarChart()
-		{
-			super();
-		}
-		
-		private var _series:Array;
-		public function get series():Array
-		{
-			return _series;
-		}
-		public function set series(value:Array):void
-		{
-			_series = value;
-			dispatchEvent(new Event("seriesChanged"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6148bd4f/examples/BarChartExample/src/org/apache/flex/html/custom/beads/BarChartView.as
----------------------------------------------------------------------
diff --git a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/BarChartView.as b/examples/BarChartExample/src/org/apache/flex/html/custom/beads/BarChartView.as
deleted file mode 100644
index 481ac98..0000000
--- a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/BarChartView.as
+++ /dev/null
@@ -1,45 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.html.custom.beads
-{
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.IParent;
-	import org.apache.flex.core.ISelectionModel;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.ValuesManager;
-	import org.apache.flex.html.staticControls.beads.ListView;
-	import org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup;
-
-	public class BarChartView extends ListView
-	{
-		public function BarChartView()
-		{
-			super();
-		}
-		
-		private var _strand:IStrand;
-		private var listModel:ISelectionModel;
-		
-		override public function set strand(value:IStrand):void
-		{
-			_strand = value;
-			super.strand = value;
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6148bd4f/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChart.as
----------------------------------------------------------------------
diff --git a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChart.as b/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChart.as
deleted file mode 100644
index 49f7eea..0000000
--- a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChart.as
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.html.custom.beads
-{
-	public interface IChart
-	{
-		function get series():Array;
-		function set series(value:Array):void;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6148bd4f/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartAxis.as
----------------------------------------------------------------------
diff --git a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartAxis.as b/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartAxis.as
deleted file mode 100644
index 5131a50..0000000
--- a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartAxis.as
+++ /dev/null
@@ -1,25 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.html.custom.beads
-{
-	public interface IChartAxis
-	{
-		
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6148bd4f/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartItemRenderer.as
----------------------------------------------------------------------
diff --git a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartItemRenderer.as b/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartItemRenderer.as
deleted file mode 100644
index d484b9d..0000000
--- a/examples/BarChartExample/src/org/apache/flex/html/custom/beads/IChartItemRenderer.as
+++ /dev/null
@@ -1,39 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.html.custom.beads
-{
-	import org.apache.flex.core.IItemRenderer;
-	
-	public interface IChartItemRenderer extends IItemRenderer
-	{
-		function get xField():String;
-		function set xField(value:String):void;
-		
-		function get yField():String;
-		function set yField(value:String):void;
-		
-		function get fillColor():uint;
-		function set fillColor(value:uint):void;
-		
-		function set x(value:Number):void;
-		function set y(value:Number):void;
-		function set width(value:Number):void;
-		function set height(value:Number):void;
-	}
-}
\ No newline at end of file