Package javax.help

Class NoMerge


  • public class NoMerge
    extends Merge
    No merge type
    • Constructor Detail

      • NoMerge

        public NoMerge​(NavigatorView master,
                       NavigatorView slave)
        Constructs NoMerge
        Parameters:
        master - The master NavigatorView
        slave - The slave NavigatorView
    • Method Detail

      • processMerge

        public javax.swing.tree.TreeNode processMerge​(javax.swing.tree.TreeNode node)
        Processes no merge
        Specified by:
        processMerge in class Merge
        Parameters:
        node - The master node
        Returns:
        the master node
      • mergeNodes

        public static void mergeNodes​(javax.swing.tree.TreeNode master,
                                      javax.swing.tree.TreeNode slave)
        Merge Nodes. Merge two nodes according to the merging rules of the masterNode. Each Subclass should override this implementation.
        Parameters:
        master - The master node to merge with
        slave - The node to merge into the master
      • mergeNodeChildren

        public static void mergeNodeChildren​(javax.swing.tree.TreeNode node)
        Merge Node Children. Merge the children of a node according to the merging rules of the parent. Each subclass must implement this method
        Parameters:
        node - The parent node from which the children are merged