This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 949767d1e538c7d5e1544ae1bb115f4d92a97b08 Author: Alex Harui <[email protected]> AuthorDate: Mon Oct 1 17:50:51 2018 -0700 get more Jewel components to show up without crasing on SWF side --- frameworks/projects/Jewel/src/main/resources/defaults.css | 6 ++++++ .../org/apache/royale/jewel/supportClasses/list/DataGroup.as | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css index 226476f..58ac360 100644 --- a/frameworks/projects/Jewel/src/main/resources/defaults.css +++ b/frameworks/projects/Jewel/src/main/resources/defaults.css @@ -120,6 +120,12 @@ j|Form { } @media -royale-swf { + j|Button + { + IBeadModel: ClassReference("org.apache.royale.html.beads.models.TextModel"); + IBeadView: ClassReference("org.apache.royale.html.beads.CSSTextButtonView"); + } + j|Container { IContentView: ClassReference("org.apache.royale.html.supportClasses.ContainerContentArea"); } diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/list/DataGroup.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/list/DataGroup.as index 3962ca2..4309c85 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/list/DataGroup.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/list/DataGroup.as @@ -20,6 +20,8 @@ package org.apache.royale.jewel.supportClasses.list { import org.apache.royale.html.supportClasses.DataGroup; import org.apache.royale.html.DataContainer; + import org.apache.royale.core.IBead; + import org.apache.royale.core.IStrand; COMPILE::JS { @@ -38,7 +40,7 @@ package org.apache.royale.jewel.supportClasses.list * @playerversion AIR 2.6 * @productversion Royale 0.9.4 */ - public class DataGroup extends DataContainer + public class DataGroup extends DataContainer implements IBead { /** * constructor. @@ -55,6 +57,13 @@ package org.apache.royale.jewel.supportClasses.list typeNames = "jewel datagroup"; } + protected var host:IStrand; + + public function set strand(value:IStrand):void + { + host = value; + } + /** * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement */
