Package org.adempiere.webui.component
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 Summary
-
Constructor Summary
ConstructorDescriptionADTreeFavoriteOnDropListener
(org.zkoss.zul.Tree tree, FavoriteSimpleTreeModel treeModel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
onEvent
(org.zkoss.zk.ui.event.Event event) Events For Right Click And Menu Item Dragged Source to Target Folder
-
Field Details
-
MENU_ITEM_DELETE
- See Also:
-
NODE_MOVEINTO
- See Also:
-
NODE_INSERTAFTER
- See Also:
-
MENU_ITEM_DEFAULT_EXPANDED
- See Also:
-
MENU_ITEM_DEFAULT_COLLAPSED
- See Also:
-
-
Constructor Details
-
ADTreeFavoriteOnDropListener
- Parameters:
tree
-treeModel
-
-
-
Method Details
-
onEvent
Events For Right Click And Menu Item Dragged Source to Target Folder- Specified by:
onEvent
in interfaceorg.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
-
-