Package adams.gui.help
Class MOAObjectHelpGenerator
- java.lang.Object
-
- adams.gui.help.AbstractHelpGenerator
-
- adams.gui.help.MOAObjectHelpGenerator
-
public class MOAObjectHelpGenerator extends adams.gui.help.AbstractHelpGeneratorHelp generator for MOA objects.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description MOAObjectHelpGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(Class cls)Generates and returns the help for the specified class.Stringgenerate(Object obj)Generates and returns the help for the specified object.booleanhandles(Class cls)Returns whether this class is handled by this generator.booleanisHtml(Class cls)Returns whether the generated help is HTML or plain text.
-
-
-
Method Detail
-
handles
public boolean handles(Class cls)
Returns whether this class is handled by this generator.- Specified by:
handlesin classadams.gui.help.AbstractHelpGenerator- Parameters:
cls- the class to check- Returns:
- true if handled
-
isHtml
public boolean isHtml(Class cls)
Returns whether the generated help is HTML or plain text.- Specified by:
isHtmlin classadams.gui.help.AbstractHelpGenerator- Parameters:
cls- the class to generate the help for- Returns:
- true if HTML
-
generate
public String generate(Class cls)
Generates and returns the help for the specified class.- Specified by:
generatein classadams.gui.help.AbstractHelpGenerator- Parameters:
cls- the class to generate the help for- Returns:
- the help, null if failed to produce
-
-