|
org.netbeans.modules.javahelp/1 2.27 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.javahelp.Help
public abstract class Help
An implementation of the JavaHelp system. Get the concrete instance using lookup.
| Constructor Summary | |
|---|---|
protected |
Help()
constructor for subclasses |
| Method Summary | |
|---|---|
abstract void |
addChangeListener(ChangeListener l)
Add a change listener for when help sets change. |
abstract Boolean |
isValidID(String id,
boolean force)
Test whether a given ID is valid in some known helpset. |
abstract void |
removeChangeListener(ChangeListener l)
Remove a change listener. |
void |
showHelp(HelpCtx ctx)
Shows help. |
abstract void |
showHelp(HelpCtx ctx,
boolean showmaster)
Shows help. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Help()
| Method Detail |
|---|
public abstract Boolean isValidID(String id,
boolean force)
id - the ID to check for validityforce - if false, do not do too much work (be lazy) and if necessary return null;
if true, must return non-null (meaning the call may block loading helpsets)
public void showHelp(HelpCtx ctx)
Note that for basic usage it may suffice to call HelpCtx.display(),
avoiding any direct dependency on this module.
ctx - help context
public abstract void showHelp(HelpCtx ctx,
boolean showmaster)
ctx - help contextshowmaster - whether to force the master helpset
to be shown (full navigators) even
though the supplied ID only applies
to one subhelpsetpublic abstract void addChangeListener(ChangeListener l)
l - the listener to addpublic abstract void removeChangeListener(ChangeListener l)
l - the listener to remove
|
org.netbeans.modules.javahelp/1 2.27 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||