move ImageBase to HTML

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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: ef2b90a1022989dc923fb610461f4714120f555d
Parents: e020ba8
Author: Alex Harui <aha...@apache.org>
Authored: Mon Oct 31 09:32:05 2016 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Tue Nov 1 08:02:15 2016 -0700

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/core/ImageBase.as | 84 --------------------
 .../main/flex/org/apache/flex/core/ImageBase.as | 84 ++++++++++++++++++++
 2 files changed, 84 insertions(+), 84 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef2b90a1/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as
deleted file mode 100644
index 71454a7..0000000
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as
+++ /dev/null
@@ -1,84 +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.core
-{
-       import org.apache.flex.core.IImage;
-       import org.apache.flex.core.IImageModel;
-       import org.apache.flex.core.UIBase;
-       
-       /**
-        *  The ImageBase class serves as a base class for components that 
displays a bitmap. The Image uses
-        *  the following beads:
-        * 
-        *  org.apache.flex.core.IBeadModel: the data model for the Image, 
including the url/binary property.
-        *  org.apache.flex.core.IBeadView: constructs the visual elements of 
the component.
-        *  
-        *  @langversion 3.0
-        *  @playerversion Flash 10.2
-        *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
-        */
-       public class ImageBase extends UIBase implements IImage
-       {
-               /**
-                *  constructor.
-                *
-                *  @langversion 3.0
-                *  @playerversion Flash 10.2
-                *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
-                */
-               public function ImageBase()
-               {
-                       super();
-               }
-               
-               /**
-                *  The location of the bitmap, usually a URL.
-                *
-                *  @langversion 3.0
-                *  @playerversion Flash 10.2
-                *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
-         *  @flexjsignorecoercion org.apache.flex.core.IImageModel
-                */
-               public function get url():String
-               {
-                       return (model as IImageModel).url;
-               }
-               public function set url(value:String):void
-               {
-                       (model as IImageModel).url = value;
-               }
-               
-               COMPILE::JS
-               public function get imageElement():Element
-               {
-                       return null;
-                       // override this
-               }
-               
-               COMPILE::JS
-               public function applyImageData(binaryDataAsString:String):void
-               {
-                       // override this
-               }
-               
-       }
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef2b90a1/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as
new file mode 100644
index 0000000..71454a7
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as
@@ -0,0 +1,84 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.core.IImage;
+       import org.apache.flex.core.IImageModel;
+       import org.apache.flex.core.UIBase;
+       
+       /**
+        *  The ImageBase class serves as a base class for components that 
displays a bitmap. The Image uses
+        *  the following beads:
+        * 
+        *  org.apache.flex.core.IBeadModel: the data model for the Image, 
including the url/binary property.
+        *  org.apache.flex.core.IBeadView: constructs the visual elements of 
the component.
+        *  
+        *  @langversion 3.0
+        *  @playerversion Flash 10.2
+        *  @playerversion AIR 2.6
+        *  @productversion FlexJS 0.0
+        */
+       public class ImageBase extends UIBase implements IImage
+       {
+               /**
+                *  constructor.
+                *
+                *  @langversion 3.0
+                *  @playerversion Flash 10.2
+                *  @playerversion AIR 2.6
+                *  @productversion FlexJS 0.0
+                */
+               public function ImageBase()
+               {
+                       super();
+               }
+               
+               /**
+                *  The location of the bitmap, usually a URL.
+                *
+                *  @langversion 3.0
+                *  @playerversion Flash 10.2
+                *  @playerversion AIR 2.6
+                *  @productversion FlexJS 0.0
+         *  @flexjsignorecoercion org.apache.flex.core.IImageModel
+                */
+               public function get url():String
+               {
+                       return (model as IImageModel).url;
+               }
+               public function set url(value:String):void
+               {
+                       (model as IImageModel).url = value;
+               }
+               
+               COMPILE::JS
+               public function get imageElement():Element
+               {
+                       return null;
+                       // override this
+               }
+               
+               COMPILE::JS
+               public function applyImageData(binaryDataAsString:String):void
+               {
+                       // override this
+               }
+               
+       }
+}

Reply via email to