Protege 4.1.0

org.protege.editor.owl.ui.frame
Interface OWLFrameSection<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>

All Superinterfaces:
MListSectionHeader, OWLFrameObject<R,A,E>
All Known Implementing Classes:
AbstractOWLClassAxiomFrameSection, AbstractOWLFrameSection, AbstractPropertyDomainFrameSection, AxiomListFrameSection, InferredAxiomsFrameSection, InheritedAnonymousClassesFrameSection, OWLAnnotationFrameSection, OWLAnnotationPropertyDomainFrameSection, OWLAnnotationPropertyRangeFrameSection, OWLClassAssertionAxiomMembersSection, OWLClassAssertionAxiomTypeFrameSection, OWLDataPropertyAssertionAxiomFrameSection, OWLDataPropertyDomainFrameSection, OWLDataPropertyRangeFrameSection, OWLDatatypeDefinitionFrameSection, OWLDifferentIndividualsAxiomFrameSection, OWLDisjointClassesAxiomFrameSection, OWLDisjointDataPropertiesFrameSection, OWLDisjointObjectPropertiesFrameSection, OWLDisjointUnionAxiomFrameSection, OWLEquivalentClassesAxiomFrameSection, OWLEquivalentDataPropertiesFrameSection, OWLEquivalentObjectPropertiesAxiomFrameSection, OWLGeneralClassAxiomsFrameSection, OWLInverseObjectPropertiesAxiomFrameSection, OWLKeySection, OWLNegativeDataPropertyAssertionFrameSection, OWLNegativeObjectPropertyAssertionFrameSection, OWLObjectPropertyAssertionAxiomFrameSection, OWLObjectPropertyDomainFrameSection, OWLObjectPropertyRangeFrameSection, OWLPropertyChainAxiomFrameSection, OWLSameIndividualsAxiomFrameSection, OWLSubAnnotationPropertyFrameSection, OWLSubClassAxiomFrameSection, OWLSubDataPropertyAxiomSuperPropertyFrameSection, OWLSubObjectPropertyAxiomSuperPropertyFrameSection, SWRLRulesFrameSection

public interface OWLFrameSection<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>
extends OWLFrameObject<R,A,E>, MListSectionHeader

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 19-Jan-2007


Method Summary
 void dispose()
           
 List<A> getAxioms()
           
 OWLObjectEditor<E> getEditor()
           
 OWLFrame<? extends R> getFrame()
           
 String getLabel()
           
 R getRootObject()
           
 Comparator<OWLFrameSectionRow<R,A,E>> getRowComparator()
          Obtains a comparator which can be used to sort the rows in this section.
 int getRowIndex(OWLFrameSectionRow row)
          Gets the index of the specified section row.
 String getRowLabel(OWLFrameSectionRow<R,A,E> row)
           
 List<OWLFrameSectionRow<R,A,E>> getRows()
          Gets the rows that this section contains.
 void setRootObject(R rootObject)
           
 
Methods inherited from interface org.protege.editor.owl.ui.frame.OWLFrameObject
canAcceptDrop, checkEditorResults, dropObjects
 
Methods inherited from interface org.protege.editor.core.ui.list.MListSectionHeader
canAdd, getName
 

Method Detail

dispose

void dispose()

getFrame

OWLFrame<? extends R> getFrame()

setRootObject

void setRootObject(R rootObject)

getLabel

String getLabel()

getRowLabel

String getRowLabel(OWLFrameSectionRow<R,A,E> row)

getRootObject

R getRootObject()

getRows

List<OWLFrameSectionRow<R,A,E>> getRows()
Gets the rows that this section contains.


getAxioms

List<A> getAxioms()

getRowIndex

int getRowIndex(OWLFrameSectionRow row)
Gets the index of the specified section row.

Parameters:
row - The row whose index is to be obtained.
Returns:
The index of the row, or -1 if the row is not contained within this section.

getEditor

OWLObjectEditor<E> getEditor()
Specified by:
getEditor in interface OWLFrameObject<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>

getRowComparator

Comparator<OWLFrameSectionRow<R,A,E>> getRowComparator()
Obtains a comparator which can be used to sort the rows in this section.

Returns:
A comparator if to sort the rows in this section, or null if the rows shouldn't be sorted.

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research