edu.stanford.smi.protegex.owl.inference.protegeowl.log
Class DefaultConceptConsistencyLogRecord
java.lang.Object
edu.stanford.smi.protegex.owl.inference.protegeowl.log.ReasonerLogRecord
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
Fields inherited from class edu.stanford.smi.protegex.owl.inference.protegeowl.log.ReasonerLogRecord |
|
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()
|
aClass
private RDFSClass aClass
consistent
private boolean consistent
label
private JLabel label
DefaultConceptConsistencyLogRecord
public DefaultConceptConsistencyLogRecord(RDFSClass aClass,
boolean consistent,
ReasonerLogRecord parent)
getInconsistentConcept
public RDFSClass getInconsistentConcept()
getMessage
public String getMessage()
toString
public String toString()
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