Class AbstractRearrangeableTreeModel

  • All Implemented Interfaces:
    RearrangeableTreeModel, TreeModel
    Direct Known Subclasses:
    DefaultRearrangeableTreeModel

    public abstract class AbstractRearrangeableTreeModel
    extends Object
    implements RearrangeableTreeModel
    Basically just a wrapper for an existing tree model. The 'canX' methods of the RearrangeableTreeModel interface are implemented to permit all reasonable node movements. Implementation of node removal/addition methods are left to the subclass. Many events may be fired in the course of a single operation. Tries to move nodes in batches to minimize number of events. Will not work if duplicate tree paths exist.