jInfer

cz.cuni.mff.ksi.jinfer.treeruledisplayer
Class TreeRuleDisplayer

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.treeruledisplayer.TreeRuleDisplayer
All Implemented Interfaces:
NamedModule, RuleDisplayer

public final class TreeRuleDisplayer
extends Object
implements RuleDisplayer

Helper class for displaying a list of rules.


Field Summary
 
Fields inherited from interface cz.cuni.mff.ksi.jinfer.base.interfaces.RuleDisplayer
RULE_DISPLAYER_DEFAULT, RULE_DISPLAYER_PROP
 
Constructor Summary
TreeRuleDisplayer()
           
 
Method Summary
 void createDisplayer(String panelName, List<Element> rules)
          Creates rule displayer window in which rules are displayed.
 String getDisplayName()
          Returns a user friendly name of the module.
 String getModuleDescription()
          Returns the information about this module's inner workings.
 String getName()
          Returns a user friendly yet unique name of the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeRuleDisplayer

public TreeRuleDisplayer()
Method Detail

createDisplayer

public void createDisplayer(String panelName,
                            List<Element> rules)
Description copied from interface: RuleDisplayer
Creates rule displayer window in which rules are displayed.

Specified by:
createDisplayer in interface RuleDisplayer
Parameters:
panelName - Name of the rule displayer window.
rules - Rules to be displayed in rule displayer.

getName

public String getName()
Description copied from interface: NamedModule
Returns a user friendly yet unique name of the module.

Specified by:
getName in interface NamedModule
Returns:
Unique module name.

getDisplayName

public String getDisplayName()
Description copied from interface: NamedModule
Returns a user friendly name of the module. This name is not neccessary unique.

Specified by:
getDisplayName in interface NamedModule
Returns:
Displayable module name.

getModuleDescription

public String getModuleDescription()
Description copied from interface: NamedModule
Returns the information about this module's inner workings. Most of the time will be equal to a call to NamedModule.getDisplayName(), but if the module for example consists of more sub-modules, their names should be listed here.

Specified by:
getModuleDescription in interface NamedModule
Returns:
String describing inner structure of the module.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011