TreeModel

trait TreeModel[A]
Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def filter(p: A => Boolean): TreeModel[A]
def getChildrenOf(parentPath: IndexedSeq[A]): Seq[A]
def insertUnder(parentPath: IndexedSeq[A], newValue: A, index: Int): Boolean
def isExternalModel: Boolean
def map[B : ClassTag](f: A => B): TreeModel[B]
def move(pathFrom: IndexedSeq[A], pathTo: IndexedSeq[A], indexTo: Int): Boolean
def pathToTreePath(path: IndexedSeq[A]): TreePath
def peer: TreeModel
def remove(pathToRemove: IndexedSeq[A]): Boolean
def roots: Seq[A]
def treePathToPath(tp: TreePath): IndexedSeq[A]
def update(path: IndexedSeq[A], newValue: A): Unit

Replace the item at the given path in the tree with a new value. Events are fired as appropriate.

Replace the item at the given path in the tree with a new value. Events are fired as appropriate.

Concrete methods

def breadthFirstIterator: Iterator[A]
def depthFirstIterator: Iterator[A]
def foreach[U](f: A => U): Unit
def getChildPathsOf(parentPath: IndexedSeq[A]): Seq[IndexedSeq[A]]
def insertAfter(path: IndexedSeq[A], newValue: A): Boolean
def insertBefore(path: IndexedSeq[A], newValue: A): Boolean
def size: Int
def unpackNode(node: Any): A