Interface I_CmsLazyOpenHandler<I extends CmsLazyTreeItem>

Type Parameters:
I - the specific lazy tree item implementation
All Superinterfaces:
com.google.gwt.event.shared.EventHandler, com.google.gwt.event.logical.shared.OpenHandler<I>
All Known Implementing Classes:
A_CmsDeepLazyOpenHandler, A_CmsLazyOpenHandler, CmsSitemapView.TreeOpenHandler

public interface I_CmsLazyOpenHandler<I extends CmsLazyTreeItem> extends com.google.gwt.event.logical.shared.OpenHandler<I>
Lazy tree open handler interface.

Since:
8.0.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(I target, Runnable callback)
    Load the children of the given tree item.
    void
    onOpen(com.google.gwt.event.logical.shared.OpenEvent<I> event)
     
  • Method Details

    • load

      void load(I target, Runnable callback)
      Load the children of the given tree item.

      Parameters:
      target - the tree item to be loaded
      callback - the callback to execute after loading
    • onOpen

      void onOpen(com.google.gwt.event.logical.shared.OpenEvent<I> event)
      Specified by:
      onOpen in interface com.google.gwt.event.logical.shared.OpenHandler<I extends CmsLazyTreeItem>
      See Also:
      • OpenHandler.onOpen(com.google.gwt.event.logical.shared.OpenEvent)