Class TreeGridDragSource<M>

    • Constructor Detail

      • TreeGridDragSource

        public TreeGridDragSource​(TreeGrid<M> widget)
        Creates a drag source for the specified tree grid.
        Parameters:
        widget - the tree grid to enable as a drag source
    • Method Detail

      • getTreeGridSource

        public DND.TreeSource getTreeGridSource()
        Returns the tree grid associated with this drag source.
        Returns:
        the tree grid associated with this drag source
      • setTreeGridSource

        public void setTreeGridSource​(DND.TreeSource treeGridSource)
        Sets the tree source (defaults to DND.TreeSource.BOTH).
        Parameters:
        treeGridSource - the tree source