|
Protege 4.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.man.cs.mig.util.graph.model.impl.AbstractGraphModel
uk.ac.man.cs.mig.coode.owlviz.model.AbstractOWLClassGraphModel
public class AbstractOWLClassGraphModel
Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: 08-Jun-2006
| Field Summary |
|---|
| Fields inherited from class uk.ac.man.cs.mig.util.graph.model.impl.AbstractGraphModel |
|---|
listeners |
| Fields inherited from interface uk.ac.man.cs.mig.util.graph.model.GraphModel |
|---|
DIRECTION_BACK, DIRECTION_BOTH, DIRECTION_FORWARD, DIRECTION_NONE |
| Constructor Summary | |
|---|---|
AbstractOWLClassGraphModel(OWLModelManager owlModelManager,
OWLObjectHierarchyProvider provider)
|
|
| Method Summary | |
|---|---|
boolean |
contains(Object obj)
Tests whether or not the specified object is contained within the graph model. |
void |
dispose()
Disposed of the graph model. |
int |
getChildCount(Object obj)
Retrives the number of children that the specified object has. |
Iterator |
getChildren(Object obj)
Gets the children of the specified object |
protected Set<org.semanticweb.owlapi.model.OWLObject> |
getChildren(org.semanticweb.owlapi.model.OWLObject obj)
|
int |
getParentCount(Object obj)
Retrives the number of parents that the specified object has. |
Iterator |
getParents(Object obj)
Retrieves the parents of the specified object |
protected Set<org.semanticweb.owlapi.model.OWLObject> |
getParents(org.semanticweb.owlapi.model.OWLObject obj)
|
Iterator |
getRelatedObjectsToAdd(Object obj)
In some situations when an object is displayed in a graph it is necessary to display other (related) objects automatically. |
Iterator |
getRelatedObjectsToRemove(Object obj)
In some situations when an object displayed in a graph is made invisible it might be useful to make other related objects invisible. |
int |
getRelationshipDirection(Object parentObject,
Object childObject)
Gets the direction of the relationship. |
Object |
getRelationshipType(Object parentObject,
Object childObject)
Retrieves the type of relationship between the specified objects. |
| Methods inherited from class uk.ac.man.cs.mig.util.graph.model.impl.AbstractGraphModel |
|---|
addGraphModelListener, fireChildAddedEvent, fireChildRemovedEvent, fireModelChangedEvent, fireObjectsAddedEvent, fireObjectsChangedEvent, fireObjectsRemovedEvent, fireParentAddedEvent, fireParentRemovedEvent, getListeners, objectChanged, removeGraphModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOWLClassGraphModel(OWLModelManager owlModelManager,
OWLObjectHierarchyProvider provider)
| Method Detail |
|---|
public void dispose()
GraphModel
protected Set<org.semanticweb.owlapi.model.OWLObject> getChildren(org.semanticweb.owlapi.model.OWLObject obj)
protected Set<org.semanticweb.owlapi.model.OWLObject> getParents(org.semanticweb.owlapi.model.OWLObject obj)
public int getChildCount(Object obj)
GraphModel
obj - The object
public Iterator getChildren(Object obj)
GraphModel
public int getParentCount(Object obj)
GraphModel
obj - The object
public Iterator getParents(Object obj)
GraphModel
obj - The object
public boolean contains(Object obj)
GraphModel
obj - The object to test for.
true if the specified object is contained in the model,
or false if the specified object is not contained in the model.
public Object getRelationshipType(Object parentObject,
Object childObject)
GraphModel
parentObject - The parent object.childObject - The child object.
String
that represents the name of the relationship, such as "is-a".
public int getRelationshipDirection(Object parentObject,
Object childObject)
GraphModelEdge between two objects to
be customised.
parentObject - The parent object.childObject - The child object.
GraphModel interface. A forward direction
represents and parent-to-child relationship. A back direction represents
a child-to-parent relationship.public Iterator getRelatedObjectsToAdd(Object obj)
GraphModel
obj - The object for which related objects are to be
retrieved.
public Iterator getRelatedObjectsToRemove(Object obj)
GraphModel
obj - The object being made invisible.
obj
that should also be made invisible.
|
Protege 4.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||