|
Protege 4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.protege.editor.owl.model.selection.OWLSelectionModelImpl
public class OWLSelectionModelImpl
Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: Mar 21, 2006
| Constructor Summary | |
|---|---|
OWLSelectionModelImpl()
|
|
| Method Summary | |
|---|---|
void |
addListener(OWLSelectionModelListener listener)
Adds an OWLSelectionModelListener to the list of listeners. |
void |
clearLastSelectedEntity(org.semanticweb.owl.model.OWLEntity entity)
If any of the last selected entities are equal to the specified entity then the selection is cleared. |
org.semanticweb.owl.model.OWLAxiom |
getLastSelectedAxiom()
|
OWLAxiomInstance |
getLastSelectedAxiomInstance()
Instances of an axiom wrt the containing ontology |
org.semanticweb.owl.model.OWLClass |
getLastSelectedClass()
Gets the most recently selected class. |
org.semanticweb.owl.model.OWLDataProperty |
getLastSelectedDataProperty()
Gets the most recently selected property |
org.semanticweb.owl.model.OWLIndividual |
getLastSelectedIndividual()
Gets the most recently selected individual. |
org.semanticweb.owl.model.OWLObjectProperty |
getLastSelectedObjectProperty()
Gets the most recently selected property |
org.semanticweb.owl.model.OWLEntity |
getSelectedEntity()
Gets the last selected entity. |
org.semanticweb.owl.model.OWLObject |
getSelectedObject()
|
void |
removeListener(OWLSelectionModelListener listener)
Removes a previously added OWLSelectionModelListener. |
void |
setSelectedAxiom(org.semanticweb.owl.model.OWLAxiom axiom)
|
void |
setSelectedAxiom(OWLAxiomInstance axiomInstance)
Instances of an axiom wrt the containing ontology |
void |
setSelectedEntity(org.semanticweb.owl.model.OWLEntity entity)
A convenience method that will delegate to the appropriate selection method depending on the type of entity. |
void |
setSelectedObject(org.semanticweb.owl.model.OWLObject object)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OWLSelectionModelImpl()
| Method Detail |
|---|
public void addListener(OWLSelectionModelListener listener)
OWLSelectionModelOWLSelectionModelListener to the list of listeners.
addListener in interface OWLSelectionModellistener - The listener to to be added. This listener will be notified
of any changes to the set of selected objects.public void removeListener(OWLSelectionModelListener listener)
OWLSelectionModelOWLSelectionModelListener. If the
listener was not added then this method will have no effect.
removeListener in interface OWLSelectionModellistener - The listener to remove.public org.semanticweb.owl.model.OWLObject getSelectedObject()
getSelectedObject in interface OWLSelectionModelpublic void setSelectedObject(org.semanticweb.owl.model.OWLObject object)
setSelectedObject in interface OWLSelectionModelpublic org.semanticweb.owl.model.OWLEntity getSelectedEntity()
OWLSelectionModel
getSelectedEntity in interface OWLSelectionModelOWLEntity that was last selected.public void setSelectedEntity(org.semanticweb.owl.model.OWLEntity entity)
OWLSelectionModel
setSelectedEntity in interface OWLSelectionModelentity - The entity to be selected. Must not be null.public void setSelectedAxiom(OWLAxiomInstance axiomInstance)
OWLSelectionModel
setSelectedAxiom in interface OWLSelectionModelpublic OWLAxiomInstance getLastSelectedAxiomInstance()
OWLSelectionModel
getLastSelectedAxiomInstance in interface OWLSelectionModelpublic void setSelectedAxiom(org.semanticweb.owl.model.OWLAxiom axiom)
setSelectedAxiom in interface OWLSelectionModelpublic void clearLastSelectedEntity(org.semanticweb.owl.model.OWLEntity entity)
OWLSelectionModel
clearLastSelectedEntity in interface OWLSelectionModelpublic org.semanticweb.owl.model.OWLClass getLastSelectedClass()
OWLSelectionModel
getLastSelectedClass in interface OWLSelectionModelOWLClass, or null
if a class is not selected.public org.semanticweb.owl.model.OWLObjectProperty getLastSelectedObjectProperty()
OWLSelectionModel
getLastSelectedObjectProperty in interface OWLSelectionModelOWLProperty, or null
if there is no selected property.public org.semanticweb.owl.model.OWLDataProperty getLastSelectedDataProperty()
OWLSelectionModel
getLastSelectedDataProperty in interface OWLSelectionModelOWLProperty, or null
if there is no selected property.public org.semanticweb.owl.model.OWLIndividual getLastSelectedIndividual()
OWLSelectionModel
getLastSelectedIndividual in interface OWLSelectionModelnull if
there is no selected individual.public org.semanticweb.owl.model.OWLAxiom getLastSelectedAxiom()
getLastSelectedAxiom in interface OWLSelectionModel
|
Protege 4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||