com.extjs.gxt.ui.client.core
Class DomQuery

java.lang.Object
  extended by com.extjs.gxt.ui.client.core.DomQuery

public class DomQuery
extends java.lang.Object

Provides high performance selector/xpath processing.

DomQuery supports most of the CSS3 selectors spec, along with some custom selectors and basic XPath.

All selectors, attribute filters and pseudos below can be combined infinitely in any order. For example "div.foo:nth-child(odd)[@foo=bar].bar:first" would be a perfectly valid selector. Node filters are processed in the order in which they appear, which allows you to optimize your queries for your document structure.

Element Selectors:

Attribute Selectors:

The use of '@' and quotes are optional. For example, div[@foo='bar'] is also a valid attribute selector.

Pseudo Classes:

CSS Value Selectors: