|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ca.commons.cbutil.CBHelpSystem
A wrapper around the JavaHelp system.
| Constructor Summary | |
CBHelpSystem(java.lang.String helpset_Name)
fires up the Help Broker, using the passed help file name (which is checked for localisation). |
|
CBHelpSystem(java.lang.String helpset_Name,
java.lang.ClassLoader cl)
fires up the Help Broker, using the passed help file name (which is checked for localisation). |
|
| Method Summary | |
void |
addHelpSet(HelpSet newSet)
|
void |
addHelpSet(java.lang.String pluginHelpSet,
java.lang.ClassLoader loader)
Appends a new help set to the main help set - useful for plugin help sets. |
static void |
addToDefaultHelpSystem(java.lang.String newHelpSet,
java.lang.ClassLoader loader)
|
protected void |
doDelayedConstructor()
A piece of performance evil; delay actually doing all the help initialisation until we *really* have to ('cause it's so darn expensive) |
static CBHelpSystem |
getDefaultHelpSystem()
|
HelpBroker |
getHelpBroker()
|
HelpSet |
getHelpSet()
|
static HelpSet |
getHelpSet(java.lang.String newHelpSetName,
java.lang.ClassLoader loader)
Uses the specified class loader (or the default, if the class loader is null) to look up the named help set, and return it. |
void |
open()
Show the help window |
void |
open(java.lang.String contentID)
Shows the help window at a defined location (specifically set up for dialog help buttons). |
boolean |
ready()
|
static void |
setdefaultHelpSystem(CBHelpSystem set)
|
static void |
useDefaultHelp(javax.swing.JButton button,
java.lang.String helpString)
Sets up a help button with a listener that when clicked will open the at the defined location in java help. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CBHelpSystem(java.lang.String helpset_Name)
public CBHelpSystem(java.lang.String helpset_Name,
java.lang.ClassLoader cl)
cl - the class loader used to load the help set url.| Method Detail |
public boolean ready()
protected void doDelayedConstructor()
public HelpSet getHelpSet()
public HelpBroker getHelpBroker()
public static HelpSet getHelpSet(java.lang.String newHelpSetName,
java.lang.ClassLoader loader)
newHelpSetName - the base name of the help set (without any
localisation extensions.)
public void addHelpSet(java.lang.String pluginHelpSet,
java.lang.ClassLoader loader)
loader - - the class loader used to find the plugin help setpluginHelpSet - - thepublic void addHelpSet(HelpSet newSet)
public void open()
public void open(java.lang.String contentID)
contentID - the location (or topic ID) to be displayed when the help opens.public static void setdefaultHelpSystem(CBHelpSystem set)
public static CBHelpSystem getDefaultHelpSystem()
public static void addToDefaultHelpSystem(java.lang.String newHelpSet,
java.lang.ClassLoader loader)
public static void useDefaultHelp(javax.swing.JButton button,
java.lang.String helpString)
button - the help button.helpString - the map ID (java help location that is to be displayed).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||