Class HelpViewer
java.lang.Object
|
+----HelpViewer
- abstract class HelpViewer
- extends Object
The abstract super class of all help text viewer classes. It gets its
texts from a HelpTexts instance that is passed to the constructor of
this class. This way, the texts that are displayed are independent of
the way they are displayed, so the same texts can be used in several
HelpViewers specialized in several contexts.
- Version:
- $Revision: 1.2 $
- See Also:
- HelpTexts
-
texts
- The HelpTexts instance this HelpViewer uses to manage its texts.
-
HelpViewer(HelpTexts)
- Constructs a new HelpViewer that uses the texts from the specified
HelpTexts object.
-
view(String)
- Displays the help text corresponding to a specified subject.
texts
protected HelpTexts texts
- The HelpTexts instance this HelpViewer uses to manage its texts. It
is set by the constructor.
- See Also:
- HelpViewer, HelpTexts
HelpViewer
HelpViewer(HelpTexts texts)
- Constructs a new HelpViewer that uses the texts from the specified
HelpTexts object.
- Parameters:
- texts - the HelpTexts instance to get texts from.
- See Also:
- HelpTexts
view
abstract void view(String subject)
- Displays the help text corresponding to a specified subject. This
method must be overridden by subclasses.