The following new functionality was added in the 3.8 release.
selectDescendants - new method
Select objects from the DOM using a CSS3-like selection syntax. This method considers the DOM tree whose root is this object. The following constructs are supported:
| Additional content needed If you have experience in using this method, please provide some examples of usage for each item below. |
- jsx3_gui_ClassName - matches objects by their exact class. Replace "." with "_" in the selector.
- * - matches any object
- #id - matches objects whose name equals id
- .class-name - matches objects for which getClassName() is defined and returns a string that contains the token class-name
- :first and :last - matches objects that are their parents' first and last children
- :nth( n ) and nth-child( n ) - matches objects whose child index is equal to n
- :instanceof(ClassName) - matches objects that are instances of the class or interface ClassName
- [prop="value"] and [prop*="value"] - matches objects whose value for field prop equals value
- or, with "*", contains value. The quotes around value are optional. [getter()="value"] and [getter()*="value"] - matches objects whose return value for method getter equals value
- or, with "*", contains value. The quotes around value are optional. AB - matches objects that match both A and B
- A B - matches descendants of objects matching A that match B
- A > B - matches immediate children of objects matching A that match B
API Reference
http://www.generalinterface.org/api/versions/latest/jsx3/app/Model.html#method:selectDescendants
