You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2021/01/15 10:16:19 UTC
[royale-asjs] branch develop updated: Components Emulation:
DataGridColumn and DataGridListBase changes
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 9b75a9a Components Emulation: DataGridColumn and DataGridListBase changes
new bb94bf6 Merge pull request #1057 from javeiga-iest/develop
9b75a9a is described below
commit 9b75a9ab9953273947bd32137084bc1c01c4a1d6
Author: javeiga <jo...@gmail.com>
AuthorDate: Fri Jan 15 11:12:40 2021 +0100
Components Emulation: DataGridColumn and DataGridListBase changes
---
.../mx/controls/dataGridClasses/DataGridColumn.as | 27 ++++++++++++++++++++--
.../mx/controls/listClasses/DataGridListBase.as | 16 +++++++++++++
2 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as
index 0650ec9..3683e32 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridColumn.as
@@ -546,12 +546,35 @@ public class DataGridColumn extends org.apache.royale.html.supportClasses.DataGr
public function get textAlign():Object
{
- trace("textAlign not implemented");
+ trace("DataGridColumn::textAlign not implemented");
return 0;
}
public function set textAlign(value:Object):void
{
- trace("textAlign not implemented");
+ trace("DataGridColumn::textAlign not implemented");
+ }
+
+ /**
+ * Sets a style property on this DataGridColumn.
+ *
+ * @param styleProp The name of the style property.
+ *
+ * @param newValue The value of the style property.
+ * The value may be of any type.
+ * The values <code>null</code>, <code>""</code>, <code>false</code>,
+ * <code>NaN</code>, and <code>0</code> are all valid style values,
+ * but the value <code>undefined</code> is not.
+ * Setting a style property to the value <code>undefined</code>
+ * is the same as calling the <code>clearStyle()</code> method.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function setStyle(styleProp:String, newValue:*):void
+ {
+ trace("DataGridColumn::setStyle is not implemented");
}
//----------------------------------
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
index 8acddd3..33de8c5 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
@@ -168,6 +168,22 @@ use namespace mx_internal;
*/
[Event(name="itemDoubleClick", type="mx.events.ListEvent")]
+/**
+ * Dispatched by the drag initiator when starting a drag operation.
+ * This event is used internally by the list-based controls;
+ * you do not handle it when implementing drag and drop.
+ * If you want to control the start of a drag-and-drop operation,
+ * use the <code>mouseDown</code> or <code>mouseMove</code> event.
+ *
+ * @eventType mx.events.DragEvent.DRAG_START
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Event(name="dragStart", type="mx.events.DragEvent")]
+
//--------------------------------------
// Styles
//--------------------------------------