edu.stanford.smi.protegex.owl.ui.results
Class TripleDisplayUtil
java.lang.Object
edu.stanford.smi.protegex.owl.ui.results.TripleDisplayUtil
- public class TripleDisplayUtil
- extends Object
- Author:
- Holger Knublauch
Method Summary |
static TripleDisplay |
displayTriple(Component comp,
Triple triple)
Does a simple depth-first traversal into the component tree and asks all
of them whether they can display a given Triple, until one of them says Yes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TripleDisplayUtil
public TripleDisplayUtil()
displayTriple
public static TripleDisplay displayTriple(Component comp,
Triple triple)
- Does a simple depth-first traversal into the component tree and asks all
of them whether they can display a given Triple, until one of them says Yes.
- Parameters:
comp
- the root component of traversaltriple
- the Triple to display
- Returns:
- true if triple could be displayed