This is an automated email from the ASF dual-hosted git repository.
pushminakazi 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 440b05f Update List.as Added editorDataField and rendererIsEditor
440b05f is described below
commit 440b05f49eccbb04f452585048ccd5693d1b62a6
Author: pashminakazi <[email protected]>
AuthorDate: Wed Mar 24 13:52:37 2021 +0500
Update List.as Added editorDataField and rendererIsEditor
---
.../MXRoyale/src/main/royale/mx/controls/List.as | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/List.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/List.as
index 31b21ef..c1a875d 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/List.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/List.as
@@ -350,6 +350,47 @@ public class List extends ListBase // implements
IIMESupport
super.dataProvider = value;
}
*/
+
+ //----------------------------------
+ // editorDataField
+ //----------------------------------
+
+ [Inspectable(category="Data")]
+
+ /**
+ * The name of the property of the item editor that contains the new
+ * data for the list item.
+ * For example, the default <code>itemEditor</code> is
+ * TextInput, so the default value of the <code>editorDataField</code>
property is
+ * <code>"text"</code>, which specifies the <code>text</code> property of
the
+ * the TextInput control.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var editorDataField:String = "text";
+
+ //----------------------------------
+ // rendererIsEditor
+ //----------------------------------
+
+ [Inspectable(category="Data", defaultValue="false")]
+
+ /**
+ * Specifies whether the item renderer is also an item
+ * editor. If this property is <code>true</code>, Flex
+ * ignores the <code>itemEditor</code> property.
+ *
+ * @default false
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var rendererIsEditor:Boolean = false;
}