Protege 3.4.4

edu.stanford.smi.protege.util
Class TreeSelectionHelper<X>

java.lang.Object
  extended by edu.stanford.smi.protege.util.TreeSelectionHelper<X>

public abstract class TreeSelectionHelper<X>
extends Object


Constructor Summary
TreeSelectionHelper(JTree tree)
           
 
Method Summary
protected  Collection<X> filterHiddenRoots(Collection<X> roots)
           
protected abstract  Collection<X> getParents(X child)
           
protected  Collection<X> getRoots()
           
 void getVisiblePathToRoot(X elem, Collection<X> path)
           
protected  boolean isVisible(X element)
           
 void setSelectedNode(X value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSelectionHelper

public TreeSelectionHelper(JTree tree)
Method Detail

getParents

protected abstract Collection<X> getParents(X child)

isVisible

protected boolean isVisible(X element)

getRoots

protected Collection<X> getRoots()

setSelectedNode

public void setSelectedNode(X value)

filterHiddenRoots

protected Collection<X> filterHiddenRoots(Collection<X> roots)

getVisiblePathToRoot

public void getVisiblePathToRoot(X elem,
                                 Collection<X> path)

Protege 3.4.4

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2010 Stanford University.