Class TreeNodeCollection

    • Constructor Detail

      • TreeNodeCollection

        public TreeNodeCollection​(Node[] nodes)
        Initializes the collection with all the nodes.
        Parameters:
        nodes - the nodes for the collection
    • Method Detail

      • fromTransferable

        public static TreeNodeCollection fromTransferable​(Tree tree,
                                                          Transferable t)
        Recreates the node collection from a transferable string.
        Parameters:
        tree - the tree the node collection is for
        t - the transferable to use
        Returns:
        the node collection, null in case of an error