Class ADTreeFavoriteOnDropListener

java.lang.Object
org.adempiere.webui.component.ADTreeFavoriteOnDropListener
All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class ADTreeFavoriteOnDropListener extends Object implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Register listener for Drag&Drop item, Context Menu, Delete Item, Summary folder default Collapsed/Expanded Operation
Since:
June 20, 2017
Author:
Logilite Technologies
  • Field Details

  • Constructor Details

    • ADTreeFavoriteOnDropListener

      public ADTreeFavoriteOnDropListener(org.zkoss.zul.Tree tree, FavoriteSimpleTreeModel treeModel)
      Parameters:
      tree -
      treeModel -
  • Method Details

    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
      Events For Right Click And Menu Item Dragged Source to Target Folder
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      Throws:
      Exception
    • insertMenuInTree

      public void insertMenuInTree(int menuID, int parentNodeID, org.zkoss.zul.DefaultTreeNode<Object> stn)
      Insert Node into Tree it's contains only Menu type node, Dragged from Menu Tab.
      Parameters:
      menuID -
      parentNodeID -
      stn -