Class UITreeDragDropConfiguration

java.lang.Object
net.datenwerke.gf.client.treedb.dnd.UITreeDragDropConfiguration

public class UITreeDragDropConfiguration extends Object
  • Constructor Details

    • UITreeDragDropConfiguration

      public UITreeDragDropConfiguration()
  • Method Details

    • addDropTarget

      public void addDropTarget(Class<? extends AbstractNodeDto> target, Class<? extends AbstractNodeDto>... dragTypes)
      Marks the target a drop target for the supplied types.
      Parameters:
      target -
      dragTypes -
    • denyDropCombination

      public void denyDropCombination(Class<? extends AbstractNodeDto> dropTarget, Class<? extends AbstractNodeDto>... dragSources)
    • denyDragSource

      public void denyDragSource(Class<? extends AbstractNodeDto> target)
    • isDropTarget

      public boolean isDropTarget(Class<? extends AbstractNodeDto> source, Class<? extends AbstractNodeDto> target)