Package org.zkoss.stateless.ui
Class ISelectors
- java.lang.Object
-
- org.zkoss.stateless.ui.ISelectors
-
public class ISelectors extends java.lang.Object
A util API to seekIComponent
by a selector, by itsid
, or by a path.- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description ISelectors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends IComponent>
TfindById(IComponent root, java.lang.String id)
Returns the icomponent that seeking from the root icomponent to match its id.static ISelector
select(IComponent root)
Returns the iselector fot the given root context.
-
-
-
Method Detail
-
findById
public static <T extends IComponent> T findById(IComponent root, java.lang.String id)
Returns the icomponent that seeking from the root icomponent to match its id.- Parameters:
root
- The root icomponent for seekingid
- The id of the icomponent to match
-
select
public static ISelector select(IComponent root)
Returns the iselector fot the given root context.- Parameters:
root
- The root icomponent for seeking
-
-