Examples of UiLifeCycle


Examples of org.zkoss.zk.ui.util.UiLifeCycle

  }

  public void afterComponentAttached(Component comp, Page page) {
    if (_uiCycles != null) {
      for (Iterator it = _uiCycles.iterator(); it.hasNext();) {
        final UiLifeCycle listener = (UiLifeCycle)it.next();
        try {
          listener.afterComponentAttached(comp, page);
        } catch (Throwable ex) {
          log.error("Failed to invoke "+listener, ex);
        }
      }
    }
View Full Code Here

Examples of org.zkoss.zk.ui.util.UiLifeCycle

    }
  }
  public void afterComponentDetached(Component comp, Page prevpage) {
    if (_uiCycles != null) {
      for (Iterator it = _uiCycles.iterator(); it.hasNext();) {
        final UiLifeCycle listener = (UiLifeCycle)it.next();
        try {
          listener.afterComponentDetached(comp, prevpage);
        } catch (Throwable ex) {
          log.error("Failed to invoke "+listener, ex);
        }
      }
    }
View Full Code Here

Examples of org.zkoss.zk.ui.util.UiLifeCycle

    }
  }
  public void afterComponentMoved(Component parent, Component child, Component prevparent) {
    if (_uiCycles != null) {
      for (Iterator it = _uiCycles.iterator(); it.hasNext();) {
        final UiLifeCycle listener = (UiLifeCycle)it.next();
        try {
          listener.afterComponentMoved(parent, child, prevparent);
        } catch (Throwable ex) {
          log.error("Failed to invoke "+listener, ex);
        }
      }
    }
View Full Code Here

Examples of org.zkoss.zk.ui.util.UiLifeCycle

    }
  }
  private void afterPageAttached(Page page, Desktop desktop) {
    if (_uiCycles != null) {
      for (Iterator it = _uiCycles.iterator(); it.hasNext();) {
        final UiLifeCycle listener = (UiLifeCycle)it.next();
        try {
          listener.afterPageAttached(page, desktop);
        } catch (Throwable ex) {
          log.error("Failed to invoke "+listener, ex);
        }
      }
    }
View Full Code Here

Examples of org.zkoss.zk.ui.util.UiLifeCycle

    }
  }
  private void afterPageDetached(Page page, Desktop prevdesktop) {
    if (_uiCycles != null) {
      for (Iterator it = _uiCycles.iterator(); it.hasNext();) {
        final UiLifeCycle listener = (UiLifeCycle)it.next();
        try {
          listener.afterPageDetached(page, prevdesktop);
        } catch (Throwable ex) {
          log.error("Failed to invoke "+listener, ex);
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.