Package org.zkoss.zk.ui.util

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


    }
  }
  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

    }
  }
  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

    }
  }
  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

    }
  }
  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

Related Classes of org.zkoss.zk.ui.util.UiLifeCycle

Copyright © 2018 www.massapicom. 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.