|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.help.HelpTreeNode
Helper class to HelpDialog; your
DefaultMutableTreeNodes need to
contain instances of this class when creating a HelpDialog.
| Field Summary | |
java.lang.String |
title
The text of the node. |
java.net.URL |
url
The help page that will be loaded when the user clicks on this node in the Contents tree. |
| Constructor Summary | |
HelpTreeNode(java.lang.String title)
Creates a HelpTreeNode with no URL. |
|
HelpTreeNode(java.lang.String title,
java.lang.String urlString)
Creates a HelpTreeNode. |
|
HelpTreeNode(java.lang.String title,
java.net.URL url)
Creates a HelpTreeNode. |
|
| Method Summary | |
java.lang.String |
toString()
Returns the title of this node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.net.URL url
public java.lang.String title
| Constructor Detail |
public HelpTreeNode(java.lang.String title)
HelpTreeNode with no URL. This constructor should
be used for nodes that you do not wish to associate a help page with, such
as expandable ("folder") nodes.
title - The text displayed beside this Contents tree node.
public HelpTreeNode(java.lang.String title,
java.net.URL url)
HelpTreeNode.
title - The text displayed beside this Contents tree node.url - The help page that will be loaded when the user clicks on
this node.
public HelpTreeNode(java.lang.String title,
java.lang.String urlString)
HelpTreeNode.
title - The text displayed beside this Contents tree node.urlString - The URL path to the help page that will be loaded when
the user clicks on this node.| Method Detail |
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||