Package org.zkoss.stateless.ui
Class ISelectors
java.lang.Object
org.zkoss.stateless.ui.ISelectors
A util API to seek
IComponent by a selector,
by its id, or by a path.- Author:
- jumperchen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IComponent>
TfindById(IComponent root, String id) Returns the icomponent that seeking from the root icomponent to match its id.static ISelectorselect(IComponent root) Returns the iselector fot the given root context.
-
Constructor Details
-
ISelectors
public ISelectors()
-
-
Method Details
-
findById
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
Returns the iselector fot the given root context.- Parameters:
root- The root icomponent for seeking
-