Class ISelectors

java.lang.Object
org.zkoss.stateless.ui.ISelectors

public class ISelectors extends Object
A util API to seek IComponent by a selector, by its id, or by a path.
Author:
jumperchen
  • Constructor Details

    • ISelectors

      public ISelectors()
  • Method Details

    • findById

      public static <T extends IComponent> T findById(IComponent root, String id)
      Returns the icomponent that seeking from the root icomponent to match its id.
      Parameters:
      root - The root icomponent for seeking
      id - 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