public final class ExplanationManager
extends java.util.Observable
implements java.util.Observer
| Constructor and Description |
|---|
ExplanationManager() |
public ConceptExplanation getExplanation(Concept c)
c - the concept to be explainedpublic ConceptExplanation getExplanation(AttributeDesc desc)
desc - the attribute description to be explainedpublic ConceptExplanation getExplanation(SimpleAttribute att)
att - the simple attribute to be explainedpublic ConceptExplanation getExplanation(Instance i)
i - the instance to be explainedpublic void setExplanation(ConceptExplanation exp, SimpleAttribute att)
exp - the new explanation for the given attributeatt - the attribute to be explainedpublic void setExplanation(ConceptExplanation exp, Instance i)
exp - the explanation for the given instancei - the instance to be explainedpublic void setExplanation(ConceptExplanation exp, Concept c)
exp - the explanation for the given conceptc - the concept to be explainedpublic void setExplanation(ConceptExplanation exp, AttributeDesc desc)
exp - the explanation for the given attribute descdesc - the description to be explainedpublic ConceptExplanation explain(Concept c, java.lang.String desc)
c - the concept to be explaineddesc - the text for the explanationpublic ConceptExplanation explain(AttributeDesc desc, java.lang.String description)
desc - the attribute description to be explaineddescription - the text for the explanationpublic ConceptExplanation explain(SimpleAttribute att, java.lang.String description)
att - the simple attribute to be explaineddescription - the text for the explanationpublic ConceptExplanation explain(Instance i, java.lang.String description)
i - the instance to be explaineddescription - the text for the explanationpublic java.util.LinkedList<ConceptExplanation> getExplanations()
public ConceptExplanation explain(IExplainable exp, java.lang.String desc)
exp - the object to be explaineddesc - the text for the explanationpublic void setEnabled(boolean enabled)
enabled - true, when the explanation manager should be enabled,
false otherwisepublic boolean isEnabeled()
public void removeExplanation(IExplainable exp)
public void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observer