edu.stanford.smi.protegex.owl.ui.results
Class TripleDisplayUtil

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.results.TripleDisplayUtil

public class TripleDisplayUtil
extends Object

Author:
Holger Knublauch

Constructor Summary
TripleDisplayUtil()
           
 
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
 

Constructor Detail

TripleDisplayUtil

public TripleDisplayUtil()
Method Detail

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 traversal
triple - the Triple to display
Returns:
true if triple could be displayed