public class Selectors
extends java.lang.Object
Constructor and Description |
---|
Selectors() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<org.zkoss.zk.ui.Component> |
find(org.zkoss.zk.ui.Component root,
java.lang.String selector)
Returns a list of Components that match the selector.
|
static java.util.List<org.zkoss.zk.ui.Component> |
find(org.zkoss.zk.ui.Page page,
java.lang.String selector)
Returns a list of Components that match the selector.
|
static java.lang.Iterable<org.zkoss.zk.ui.Component> |
iterable(org.zkoss.zk.ui.Component root,
java.lang.String selector)
Returns an Iterable that iterates through all Components matched by the
selector.
|
static java.lang.Iterable<org.zkoss.zk.ui.Component> |
iterable(org.zkoss.zk.ui.Page page,
java.lang.String selector)
Returns an Iterable that iterates through all Components matched by the
selector.
|
public static java.lang.Iterable<org.zkoss.zk.ui.Component> iterable(org.zkoss.zk.ui.Page page, java.lang.String selector)
page
- the reference page for selectorselector
- the selector stringpublic static java.lang.Iterable<org.zkoss.zk.ui.Component> iterable(org.zkoss.zk.ui.Component root, java.lang.String selector)
root
- the reference component for selectorselector
- the selector stringpublic static java.util.List<org.zkoss.zk.ui.Component> find(org.zkoss.zk.ui.Page page, java.lang.String selector)
page
- the reference page for selectorselector
- the selector stringpublic static java.util.List<org.zkoss.zk.ui.Component> find(org.zkoss.zk.ui.Component root, java.lang.String selector)
root
- the reference component for selectorselector
- the selector stringCopyright © 2019 Potix Corporation. All rights reserved.