edu.stanford.smi.protege.widget
Class SlotWidgetComparer
java.lang.Object
edu.stanford.smi.protege.widget.SlotWidgetComparer
- All Implemented Interfaces:
- Comparator
public class SlotWidgetComparer
- extends Object
- implements Comparator
A comparer for slot widgets. This class doesn't actually compare the widgets, just their types. The widgets are
then "sorted" in such a way that their display will look reasonable (big widgets on the right and bottom). A better
algorithm would actually look at the sizes of the widgets themselves.
- Author:
- Ray Fergerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlotWidgetComparer
public SlotWidgetComparer()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.