Package org.graffiti.help
Class HelpContext
java.lang.Object
org.graffiti.help.HelpContext
public class HelpContext extends Object
Represents the help context of an algorithm or a gui element in the editor.
- Version:
- $Revision: 1.6 $
- Author:
- flierl
- 
Constructor SummaryConstructors Constructor Description HelpContext(Class<?> clazz)Constructs a new help context from the given class.HelpContext(String helpID)Constructs a new help context from the given helpID.HelpContext(URL helpURL)Constructs a new help context from the given URL.
- 
Method SummaryModifier and Type Method Description HelpContextfindHelp(JComponent comp)Returns a help context for the given gui component.StringgetHelpID()Returns the java help id of this help context.URLgetHelpURL()Returns the url of this help context.StringtoString()Returns a human readable string of this help context.
- 
Constructor Details- 
HelpContextConstructs a new help context from the given URL.- Parameters:
- helpURL- the URL to create a help context from.
 
- 
HelpContextConstructs a new help context from the given helpID.- Parameters:
- helpID- the javahelp help id.
 
- 
HelpContextConstructs a new help context from the given class.- Parameters:
- clazz- the class to construct a help context from.
 
 
- 
- 
Method Details- 
getHelpIDReturns the java help id of this help context.- Returns:
- the java help id of thie help context.
 
- 
getHelpURLReturns the url of this help context.- Returns:
- the url of this help context.
 
- 
findHelpReturns a help context for the given gui component.- Parameters:
- comp- the component to search the help context for.
- Returns:
- DOCUMENT ME!
 
- 
toStringReturns a human readable string of this help context. This method is for debugging purposes only.
 
-