edu.stanford.smi.protegex.widget.scatterbox
Class BasicOrder
java.lang.Object
edu.stanford.smi.protegex.widget.scatterbox.BasicOrder
- All Implemented Interfaces:
- Constants, Order
- Direct Known Subclasses:
- Cls_Filling, Instance_Filling, Integer_Filling, Symbol_Filling
public abstract class BasicOrder
- extends Object
- implements Order, Constants
Description of the class
- Author:
- William Grosso
Fields inherited from interface edu.stanford.smi.protegex.widget.scatterbox.Constants |
DIRECT_INSTANCES_ONLY, DOMAIN_VALUE_SLOTS, ENTRY_METACLASS_NAME, ENTRY_SLOT_NAME, FUNCTION_NAME, HIERARCHICAL_INCLUDE_EVERYTHING, HIERARCHICAL_OMIT_ROOTS, HIERARCHICAL_ONLY_INCLUDE_LEAVES, HIERARCHICAL_ONLY_INCLUDE_LEVEL_1_CHILDREN, NULL_SELECTED_COLOR, RANGE_VALUE_SLOTS, RECURSIVE_COPY_DEPTH_FOR_DND, TEXT_SCALING_FACTOR, USE_ALL_INSTANCES |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_elements
protected ArrayList _elements
_numberOfElements
protected int _numberOfElements
_slot
protected edu.stanford.smi.protege.model.Slot _slot
_widget
protected ScatterboxWidget _widget
_name
protected String _name
_queryUtilsObject
protected KBQueryUtils _queryUtilsObject
BasicOrder
public BasicOrder(ScatterboxWidget widget,
edu.stanford.smi.protege.model.Slot slot,
KBQueryUtils queryUtilsObject)
appendList
protected void appendList(List mainList,
List newValues)
concatenateWithoutDuplicates
protected ArrayList concatenateWithoutDuplicates(Collection collectionOfListsOfClasses)
fillObjectWithIndexedValue
public void fillObjectWithIndexedValue(edu.stanford.smi.protege.model.Instance instance,
int index)
- Specified by:
fillObjectWithIndexedValue
in interface Order
getIndexForEntry
public int getIndexForEntry(edu.stanford.smi.protege.model.Instance entry)
- Specified by:
getIndexForEntry
in interface Order
getIndexForValue
public int getIndexForValue(Object value)
- Specified by:
getIndexForValue
in interface Order
getName
public String getName()
- Specified by:
getName
in interface Order
getSize
public int getSize()
- Specified by:
getSize
in interface Order
getSlot
public edu.stanford.smi.protege.model.Slot getSlot()
- Specified by:
getSlot
in interface Order
getValueForEntry
public Object getValueForEntry(edu.stanford.smi.protege.model.Instance entry)
- Specified by:
getValueForEntry
in interface Order
getValueForIndex
public Object getValueForIndex(int index)
- Specified by:
getValueForIndex
in interface Order
getValues
protected abstract Collection getValues()
setName
public void setName(String name)
- Specified by:
setName
in interface Order
setSlot
public void setSlot(edu.stanford.smi.protege.model.Slot slot)
- Specified by:
setSlot
in interface Order
Submit a bug report or feature request