Module:libextPackage:wrap.extParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.DomQuery

Inheritance : Object

Constructors

Signature
public DomQuery()

Methods

NameSignature
compileFunction compile(String selector)
compileFunction compile(String selector, String type)
filterArray<Element> filter(Array<Element> el, String selector, boolean nonMatches)
isboolean is(Element el, String selector)
isboolean is(Array<Element> el, String selector)
isboolean is(String el, String selector)
selectArray<Element> select(String selector)
selectArray<Element> select(String selector, Node root)
selectNodeElement selectNode(String selector)
selectNodeElement selectNode(String selector, Node root)
selectNumberint selectNumber(String selector, int defaultValue)
selectNumberint selectNumber(String selector, Node root, int defaultValue)
selectValueString selectValue(String selector, String defaultValue)
selectValueString selectValue(String selector, Node root, String defaultValue)

Properties

NameTypeComment
matchers
core.Array<core.Object>
operators
core.Array<core.Object>
pseudos
core.Array<core.Object>

Constructors

public DomQuery()


Methods

compile

Function compile(String selector)

Returns
core.Function

Parameters

NameTypeDescription
selectorcore.String

compile

Function compile(String selector, String type)

Returns
core.Function

Parameters

NameTypeDescription
selectorcore.String
typecore.String

filter

Array<Element> filter(Array<Element> el, String selector, boolean nonMatches)

Returns
core.Array<wrap.ext.Element>

Parameters

NameTypeDescription
elcore.Array<wrap.ext.Element>
selectorcore.String
nonMatchescore.boolean

is

boolean is(Element el, String selector)

Returns
core.boolean

Parameters

NameTypeDescription
elwrap.ext.Element
selectorcore.String

is

boolean is(Array<Element> el, String selector)

Returns
core.boolean

Parameters

NameTypeDescription
elcore.Array<wrap.ext.Element>
selectorcore.String

is

boolean is(String el, String selector)

Returns
core.boolean

Parameters

NameTypeDescription
elcore.String
selectorcore.String

select

Array<Element> select(String selector)

Returns
core.Array<wrap.ext.Element>

Parameters

NameTypeDescription
selectorcore.String

select

Array<Element> select(String selector, Node root)

Returns
core.Array<wrap.ext.Element>

Parameters

NameTypeDescription
selectorcore.String
rootwrap.ext.data.Node

selectNode

Element selectNode(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

selectNode

Element selectNode(String selector, Node root)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
rootwrap.ext.data.Node

selectNumber

int selectNumber(String selector, int defaultValue)

Returns
core.int

Parameters

NameTypeDescription
selectorcore.String
defaultValuecore.int

selectNumber

int selectNumber(String selector, Node root, int defaultValue)

Returns
core.int

Parameters

NameTypeDescription
selectorcore.String
rootwrap.ext.data.Node
defaultValuecore.int

selectValue

String selectValue(String selector, String defaultValue)

Returns
core.String

Parameters

NameTypeDescription
selectorcore.String
defaultValuecore.String

selectValue

String selectValue(String selector, Node root, String defaultValue)

Returns
core.String

Parameters

NameTypeDescription
selectorcore.String
rootwrap.ext.data.Node
defaultValuecore.String

Module:libextPackage:wrap.extParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation