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/02/23 13:57:40 UTC
[royale-asjs] branch develop updated: Style and event added in
advancedDataGrid and UIComponent
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 6ea947f Style and event added in advancedDataGrid and UIComponent
6ea947f is described below
commit 6ea947fd36ba7b7e1b6a4aa419d495c0180f96e5
Author: alinakazi <al...@gmail.com>
AuthorDate: Tue Feb 23 18:57:26 2021 +0500
Style and event added in advancedDataGrid and UIComponent
---
.../main/royale/mx/controls/AdvancedDataGrid.as | 6 ++---
.../src/main/royale/mx/core/UIComponent.as | 27 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
index 033d579..0358200 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
@@ -275,7 +275,7 @@ use namespace mx_internal;
* @playerversion AIR 1.1
* @productversion Royale 0.9.4
*/
-//[Style(name="defaultLeafIcon", type="Class", format="EmbeddedFile", inherit="no")]
+[Style(name="defaultLeafIcon", type="Class", format="EmbeddedFile", inherit="no")]
/**
* The icon that is displayed next to an open branch node of the navigation tree.
@@ -311,7 +311,7 @@ use namespace mx_internal;
* @playerversion AIR 1.1
* @productversion Royale 0.9.4
*/
-//[Style(name="folderOpenIcon", type="Class", format="EmbeddedFile", inherit="no")]
+[Style(name="folderOpenIcon", type="Class", format="EmbeddedFile", inherit="no")]
/**
* Specifies the folder closed icon for a branch node of the navigation tree.
@@ -323,7 +323,7 @@ use namespace mx_internal;
* @playerversion AIR 1.1
* @productversion Royale 0.9.4
*/
-//[Style(name="folderClosedIcon", type="Class", format="EmbeddedFile", inherit="no")]
+[Style(name="folderClosedIcon", type="Class", format="EmbeddedFile", inherit="no")]
/**
* The indentation for each node of the navigation tree, in pixels.
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 17069ff..7560dbe 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -295,6 +295,33 @@ import mx.display.NativeMenu;
[Event(name="change", type="org.apache.royale.events.Event")]
//--------------------------------------
+// Tooltip events
+//--------------------------------------
+
+/**
+ * Dispatched by the component when it is time to create a ToolTip.
+ *
+ * <p>If you create your own IToolTip object and place a reference
+ * to it in the <code>toolTip</code> property of the event object
+ * that is passed to your <code>toolTipCreate</code> handler,
+ * the ToolTipManager displays your custom ToolTip.
+ * Otherwise, the ToolTipManager creates an instance of
+ * <code>ToolTipManager.toolTipClass</code> to display.</p>
+ *
+ * <p>The sequence of ToolTip events is <code>toolTipStart</code>,
+ * <code>toolTipCreate</code>, <code>toolTipShow</code>,
+ * <code>toolTipShown</code>, <code>toolTipHide</code>,
+ * and <code>toolTipEnd</code>.</p>
+ *
+ * @eventType mx.events.ToolTipEvent.TOOL_TIP_CREATE
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Event(name="toolTipCreate", type="mx.events.ToolTipEvent")]
+//--------------------------------------
// Drag-and-drop events
//--------------------------------------