This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/develop by this push:
     new d7d57ec  TextField added in mx emulation
d7d57ec is described below

commit d7d57ec287de0a3b6b2f914b922c26bbad2d9f75
Author: alinakazi <[email protected]>
AuthorDate: Fri Mar 5 17:45:17 2021 +0500

    TextField added in mx emulation
---
 .../src/main/resources/mx-royale-manifest.xml      |  1 +
 .../MXRoyale/src/main/royale/mx/text/TextField.as  | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git 
a/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml 
b/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
index 2f56993..f263b0f 100644
--- a/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
+++ b/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
@@ -226,4 +226,5 @@
     <component id="Slider" class="mx.controls.sliderClasses.Slider"/>
     <component id="HorizontalList" class="mx.controls.HorizontalList"/>
     <component id="AddChild" class="mx.states.AddChild"/>
+       <component id="TextField" class="mx.text.TextField"/>
 </componentPackage>
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextField.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextField.as
new file mode 100644
index 0000000..fd5c9e9
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextField.as
@@ -0,0 +1,49 @@
+////////////////////////////////////////////////////////////////////////////////
 
+// 
+//  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 mx.text 
+{ 
+       import mx.core.UIComponent; 
+
+       /** 
+        *   
+        *  @langversion 3.0 
+        *  @playerversion Flash 9 
+        *  @playerversion AIR 1.1 
+        *  @productversion Flex 3 
+        *  
+        *  @royalesuppresspublicvarwarning 
+        */ 
+       public class TextField extends UIComponent 
+       { 
+               /** 
+
+                *  @langversion 3.0 
+                *  @playerversion Flash 9 
+                *  @playerversion AIR 1.1 
+                *  @productversion Flex 3 
+                */ 
+               public function TextField() 
+               { 
+                       super(); 
+               } 
+
+
+       } 
+
+} 

Reply via email to