Skip to main content

Using presentations....

1 reply [Last post]
chimshaw
Offline
Joined: 2003-11-21

Hi,
I have a few questions about using presentations. The docs ain't very clear on it.
The presentation element in the help set file has a name attribute. Is this supposed to be used as the value of presentationname attribute in tocitem and indexitem elements in toc and index files?

What is presentationtype attribute in tocitem and indexitem elements in toc and index files? Is it supposed to be a fully qualified name of a class? e.g. javax.help.SecondaryWindow If yes, then does this class need to implement some interface or extend some class?

Regards.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Richard Gregor

Hi,

java-help@JAVADESKTOP.ORG wrote:

>Hi,
> I have a few questions about using presentations. The docs ain't very clear on it.
> The presentation element in the help set file has a [b]name[/b] attribute. Is this supposed to be used as the value of [b]presentationname[/b] attribute in [b]tocitem[/b] and [b]indexitem[/b] elements in toc and index files?
>
Yes, you can define few presentation with different attributes in hs
file. Then you can choose by name which one should be used for an item.

>
> What is [b]presentationtype[/b] attribute in [b]tocitem[/b] and [b]indexitem[/b] elements in toc and index files? Is it supposed to be a fully qualified name of a class? e.g. [b]javax.help.SecondaryWindow[/b] If yes, then does this class need to implement some interface or extend some class?
>
Yes, it is fully qualified name of a class. It should be Presentation
like class - extends e.g WindowPresentation or implements Presentation
interface. There are two default implementation - javax.help.Popup and
javax.help.SecondaryWindow .

Richard.

>
>Regards.
>
>********************************************************************************
>
>You may leave the list at any time by sending message with no subject and
>"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
>are available at http://archives.java.sun.com/archives/javahelp-interest.html.
>Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
>
>

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.