edu.stanford.smi.protegex.owl.ui.explorer.filter
Class DefaultExplorerFilter
java.lang.Object
edu.stanford.smi.protegex.owl.ui.explorer.filter.DefaultExplorerFilter
- All Implemented Interfaces:
- ExplorerFilter
public class DefaultExplorerFilter
- extends Object
- implements ExplorerFilter
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExplorerFilter
public DefaultExplorerFilter()
addAllValidClasses
public void addAllValidClasses()
addValidClass
public void addValidClass(Class cls)
getValidClasses
public Set getValidClasses()
getValidProperty
public RDFProperty getValidProperty()
getUseInferredSuperclasses
public boolean getUseInferredSuperclasses()
- Description copied from interface:
ExplorerFilter
- Checks if the tree should display inferred relationships instead
of asserted ones.
- Specified by:
getUseInferredSuperclasses
in interface ExplorerFilter
- Returns:
- true if inferred superclasses shall be displayed
isValidChild
public boolean isValidChild(RDFSClass parentClass,
RDFSClass childClass)
- Description copied from interface:
ExplorerFilter
- Checks whether a given superclass (childClass) shall be be displayed
as a child of a given subclass node (parentClass).
- Specified by:
isValidChild
in interface ExplorerFilter
- Parameters:
parentClass
- the class displayed by the parent nodechildClass
- the class displayed by the potential child node
- Returns:
- true if childClass shall be used as child node for parentClass
removeAllValidClasses
public void removeAllValidClasses()
removeValidClass
public void removeValidClass(Class c)
setUseInferredSuperclasses
public void setUseInferredSuperclasses(boolean value)
setValidProperty
public void setValidProperty(RDFProperty property)
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.