Protege 3.4.3

edu.stanford.smi.protege.ui
Class ParentChildNodeComparator

java.lang.Object
  extended by edu.stanford.smi.protege.ui.ParentChildNodeComparator
All Implemented Interfaces:
Comparator

public class ParentChildNodeComparator
extends Object
implements Comparator

Special comparator for Parent-Child tree (class-subclass tree), in which the system frames have a lower value than the user frames. Assumes that the user objects are frames.


Constructor Summary
ParentChildNodeComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ParentChildNodeComparator

public ParentChildNodeComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

Protege 3.4.3

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