Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.inference.protegeowl.log
Class DefaultConceptConsistencyLogRecord

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.inference.protegeowl.log.ReasonerLogRecord
      extended by edu.stanford.smi.protegex.owl.inference.protegeowl.log.DefaultConceptConsistencyLogRecord
All Implemented Interfaces:
ListCellRenderer, TreeCellRenderer

public class DefaultConceptConsistencyLogRecord
extends ReasonerLogRecord

User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Aug 23, 2004

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Constructor Summary
DefaultConceptConsistencyLogRecord(RDFSClass aClass, boolean consistent, ReasonerLogRecord parent)
           
 
Method Summary
 RDFSClass getInconsistentConcept()
           
 Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 String getMessage()
           
 Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
          Sets the value of the current tree cell to value.
 String toString()
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.inference.protegeowl.log.ReasonerLogRecord
getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultConceptConsistencyLogRecord

public DefaultConceptConsistencyLogRecord(RDFSClass aClass,
                                          boolean consistent,
                                          ReasonerLogRecord parent)
Method Detail

getInconsistentConcept

public RDFSClass getInconsistentConcept()

getMessage

public String getMessage()

toString

public String toString()
Overrides:
toString in class Object

getListCellRendererComponent

public Component getListCellRendererComponent(JList list,
                                              Object value,
                                              int index,
                                              boolean isSelected,
                                              boolean cellHasFocus)

getTreeCellRendererComponent

public Component getTreeCellRendererComponent(JTree tree,
                                              Object value,
                                              boolean selected,
                                              boolean expanded,
                                              boolean leaf,
                                              int row,
                                              boolean hasFocus)
Sets the value of the current tree cell to value. If selected is true, the cell will be drawn as if selected. If expanded is true the node is currently expanded and if leaf is true the node represets a leaf and if hasFocus is true the node currently has focus. tree is the JTree the receiver is being configured for. Returns the Component that the renderer uses to draw the value.

Returns:
the Component that the renderer uses to draw the value

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.