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/03/05 09:41:20 UTC
[royale-asjs] branch develop updated: changes in 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 87d2ac3 changes in UIComponent
87d2ac3 is described below
commit 87d2ac3c1c8b39309c75370ca716b427fb48fde2
Author: alinakazi <al...@gmail.com>
AuthorDate: Fri Mar 5 14:41:14 2021 +0500
changes in UIComponent
---
.../src/main/royale/mx/core/UIComponent.as | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
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 7560dbe..da46b89 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -1173,6 +1173,29 @@ public class UIComponent extends UIBase
return 2 + lineMetrics.ascent;*/
return 0;
}
+
+ /**
+ * @private
+ * This method is called at the beginning of each getter
+ * for the baselinePosition property.
+ * If it returns false, the getter should return NaN
+ * because the baselinePosition can't be computed.
+ * If it returns true, the getter can do computations
+ * like textField.y + textField.baselinePosition
+ * because these properties will be valid.
+ */
+ mx_internal function validateBaselinePosition():Boolean
+ {
+ trace("UIComponent::validateBaselinePosition not implemented");
+
+ return true;
+ }
+
+ public function notifyStyleChangeInChildren(
+ styleProp:String, recursive:Boolean):void
+ {
+ trace("UIComponent::notifyStyleChangeInChildren not implemented");
+ }
//--------------------------------------------------------------------------
//