Class ComponentHandler


  • public final class ComponentHandler
    extends java.lang.Object
    ComponentHandler is a utility class to provide methods for operations on zul components.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.zkoss.zk.ui.Component findComponentById​(org.zkoss.zk.ui.Component comp, java.lang.String id)
      Searches all children of the given component (incl.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findComponentById

        public static org.zkoss.zk.ui.Component findComponentById​(org.zkoss.zk.ui.Component comp,
                                                                  java.lang.String id)
        Searches all children of the given component (incl. children of children) for a child with the given ID. If no child is found null is returned.
        Parameters:
        comp - Component
        id - Component id
        Returns:
        Component