dip.misc
Class Help

java.lang.Object
  extended bydip.misc.Help

public class Help
extends java.lang.Object

Encapsulates JavaHelp for the utmost in simplicity of adding help to GUI elements.


Nested Class Summary
static class Help.HelpID
          Constant Class which provides a master index of Help IDs
 
Method Summary
static void enableDialogHelp(javax.swing.JDialog dialog, Help.HelpID id)
          Sets the context-sensitive Dialog-Level help
static void enableHelpOnButton(javax.swing.AbstractButton button, Help.HelpID id)
          Set the Help for a button (and Swing menu items)
static void init()
          Initializes the Help system, to use the default Help file, for the given Locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init()
Initializes the Help system, to use the default Help file, for the given Locale. If a Help file cannot be found, an error message is displayed, and help will be unavailable.


enableDialogHelp

public static void enableDialogHelp(javax.swing.JDialog dialog,
                                    Help.HelpID id)
Sets the context-sensitive Dialog-Level help


enableHelpOnButton

public static void enableHelpOnButton(javax.swing.AbstractButton button,
                                      Help.HelpID id)
Set the Help for a button (and Swing menu items)



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.