You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/04/23 21:00:47 UTC
[royale-asjs] branch develop updated: jewel-listview: maybe
something to consider at somepoint
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 f445b4d jewel-listview: maybe something to consider at somepoint
f445b4d is described below
commit f445b4d4b19e9cf9abd941808df62fab2b7c164b
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Apr 23 23:00:43 2020 +0200
jewel-listview: maybe something to consider at somepoint
---
.../royale/org/apache/royale/jewel/beads/views/ListView.as | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ListView.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ListView.as
index 117b7be..dc8dba5 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ListView.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ListView.as
@@ -37,6 +37,7 @@ package org.apache.royale.jewel.beads.views
import org.apache.royale.jewel.beads.models.ListPresentationModel;
import org.apache.royale.jewel.supportClasses.list.IListPresentationModel;
import org.apache.royale.utils.getSelectionRenderBead;
+ // import org.apache.royale.core.IFocusable;
/**
* The ListView class creates the visual elements of the org.apache.royale.jewel.List
@@ -208,6 +209,16 @@ package org.apache.royale.jewel.beads.views
return oldScroll != scrollArea.scrollTop;
}
+
+ /**
+ *
+ * @param index
+ */
+ // public function setFocusOnItem(index:int):void
+ // {
+ // var ir:IFocusable = dataGroup.getItemRendererForIndex(index) as IFocusable;
+ // ir.setFocus();
+ // }
}
COMPILE::SWF