Class BindUiLifeCycle

java.lang.Object
org.zkoss.bind.tracker.impl.BindUiLifeCycle
All Implemented Interfaces:
org.zkoss.zk.ui.util.UiLifeCycle

public class BindUiLifeCycle extends Object implements org.zkoss.zk.ui.util.UiLifeCycle
Track Binding CRUD and dependent tracking management.
Since:
6.0.0
Author:
henrichen, jumperchen
  • Field Details

  • Constructor Details

    • BindUiLifeCycle

      public BindUiLifeCycle()
  • Method Details

    • afterComponentAttached

      public void afterComponentAttached(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.Page page)
      Specified by:
      afterComponentAttached in interface org.zkoss.zk.ui.util.UiLifeCycle
    • handleComponentAttached

      protected void handleComponentAttached(org.zkoss.zk.ui.Component comp)
    • afterComponentDetached

      public void afterComponentDetached(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.Page prevpage)
      Specified by:
      afterComponentDetached in interface org.zkoss.zk.ui.util.UiLifeCycle
    • handleComponentDetached

      protected void handleComponentDetached(org.zkoss.zk.ui.Component comp)
    • afterComponentMoved

      public void afterComponentMoved(org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component child, org.zkoss.zk.ui.Component prevparent)
      Specified by:
      afterComponentMoved in interface org.zkoss.zk.ui.util.UiLifeCycle
    • afterPageAttached

      public void afterPageAttached(org.zkoss.zk.ui.Page page, org.zkoss.zk.ui.Desktop desktop)
      Specified by:
      afterPageAttached in interface org.zkoss.zk.ui.util.UiLifeCycle
    • afterPageDetached

      public void afterPageDetached(org.zkoss.zk.ui.Page page, org.zkoss.zk.ui.Desktop prevdesktop)
      Specified by:
      afterPageDetached in interface org.zkoss.zk.ui.util.UiLifeCycle
    • afterShadowAttached

      public void afterShadowAttached(org.zkoss.zk.ui.ShadowElement shadow, org.zkoss.zk.ui.Component host)
      Specified by:
      afterShadowAttached in interface org.zkoss.zk.ui.util.UiLifeCycle
    • afterShadowDetached

      public void afterShadowDetached(org.zkoss.zk.ui.ShadowElement shadow, org.zkoss.zk.ui.Component prevhost)
      Specified by:
      afterShadowDetached in interface org.zkoss.zk.ui.util.UiLifeCycle
    • markLifeCycleHandling

      public static void markLifeCycleHandling(org.zkoss.zk.ui.Component comp)
      Internal use only. Mark a component and it's children are handling already in current execution. So, if the component attach to component tree(cause #afterComponentAttached(Component, Page), BindUiLifeCycle will not process it again.