This is an automated email from the ASF dual-hosted git repository.

carlosrovira 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 153aea8  jewel-buttonbarview: add getter/setter for buttonBar in view
153aea8 is described below

commit 153aea89f5f89489b73303c83e317bf41c4370cf
Author: Carlos Rovira <[email protected]>
AuthorDate: Sat Dec 14 19:29:30 2019 +0100

    jewel-buttonbarview: add getter/setter for buttonBar in view
---
 .../apache/royale/jewel/beads/views/ButtonBarView.as | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ButtonBarView.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ButtonBarView.as
index 77bef33..b4e08fb 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ButtonBarView.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ButtonBarView.as
@@ -45,7 +45,25 @@ package org.apache.royale.jewel.beads.views
                        super();
                }
                
-               public var buttonBar:ButtonBar;
+               private var _buttonBar:ButtonBar;
+               /**
+                *  the ButtonBar associated to this view
+                *  
+                *  @langversion 3.0
+                *  @playerversion Flash 10.2
+                *  @playerversion AIR 2.6
+                *  @productversion Royale 0.9.7
+                */
+               public function get buttonBar():ButtonBar
+               {
+                       return _buttonBar;
+               }
+
+               public function set buttonBar(value:ButtonBar):void
+               {
+                       _buttonBar = value;
+               }
+
                /**
                 *  @copy org.apache.royale.core.IBead#strand
                 *  

Reply via email to