You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by an...@apache.org on 2020/10/07 17:54:34 UTC

[royale-docs] branch master updated: Update jewel-datacontainer.md

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

andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new c7472c1  Update jewel-datacontainer.md
c7472c1 is described below

commit c7472c11abaf0f4d5b2ac64009f43b476e52d838
Author: Andrew Wetmore <an...@cottage14.com>
AuthorDate: Wed Oct 7 14:54:28 2020 -0300

    Update jewel-datacontainer.md
    
    Minor text edits
---
 component-sets/jewel/jewel-datacontainer.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/component-sets/jewel/jewel-datacontainer.md b/component-sets/jewel/jewel-datacontainer.md
index e497283..e50ebad 100644
--- a/component-sets/jewel/jewel-datacontainer.md
+++ b/component-sets/jewel/jewel-datacontainer.md
@@ -38,9 +38,9 @@ Available since version __0.9.4__.
 
 The Jewel DataContainer class is a component that displays multiple data items.
 
-This component gets the data through its `dataProvider` property that receives an `ArrayList` of data objects. To represent each item the component use an [ItemRenderer](features/item-renderers) class that can be configured and customized. The component generate dynamically as many instances of ItemRenderer as items in the data provider array and fill each instance with the appropiate data. By default it uses `StringItemRenderer` as the item renderer.
+This component gets the data through its `dataProvider` property that receives an `ArrayList` of data objects. To represent each item the component uses a suitably-configured [ItemRenderer](features/item-renderers) class. The component generates dynamically as many instances of its ItemRenderer as there are items in the data provider array, and fills each instance with the appropiate data. By default it uses `StringItemRenderer` as the item renderer.
 
-By default items are layout vertically using Jewel `VerticalLayout`. This component has a `Viewport` that clip generated items.
+By default items are laid out vertically using Jewel `VerticalLayout`. This component has a `Viewport` that clips generated items.
 
 ## Example of use
 
@@ -52,7 +52,7 @@ In __MXML__ declare a `DataContainer` like this:
 </j:DataContainer>
 ```
 
-> Notice that we can nest the ArrayList directly to the DataContainer tag because "dataProvider" is its [DefaultProperty](features/as3/metadata#default-property).
+> Note that we can nest the ArrayList directly to the DataContainer tag because "dataProvider" is its [DefaultProperty](features/as3/metadata#default-property).
 
 In __ActionScript__ we can do the same in the following way: 
 
@@ -93,9 +93,9 @@ where `parent` is the container where the control will be added.
 
 ## Relevant Events
 
-The most important event is `initComplete`, which indicates that the initialization of the container is complete.
+The most important event is `initComplete`, which indicates that initialization of the container is complete.
 
-Is needed when some action coded in a callback function need to be triggered as the data container is ready to use after initialization.
+Is needed when some action coded in a callback function needs to be triggered when the data container is ready to use after initialization.
 
 You can attach callback listeners to the _initComplete_ event in __MXML__ as follows:
 
@@ -140,7 +140,7 @@ parent.addElement(dc);
 
 ### Common Beads
 
-Jewel `DataContainer` can use any of the layout beads available in Jewel library. Also you can check [Related controls](component-sets/jewel/datacontainer.html#related-controls) section to see some advanced or preconfigured data containers.
+Jewel `DataContainer` can use any of the layout beads available in the Jewel library. Also you can check the [Related controls](component-sets/jewel/datacontainer.html#related-controls) section to see some advanced or preconfigured data containers.
 
 ## More examples