com.ibm.as400.opnav
Class WindowsServices

java.lang.Object
  |
  +--com.ibm.as400.opnav.WindowsServices

public class WindowsServices
extends java.lang.Object

Provides interfaces to Windows platform specific services.


Field Summary
static int HELP_CONTEXT
          Display help topic identified by integer identifier
static int HELP_CONTEXTPOPUP
          Display help topic identified by integer identifier in a pop-up window
static int HELP_KEY
          Display help topic identified by keyword
 
Method Summary
static boolean winHelp(java.lang.String helpfile, int command, int data)
          Calls the Windows WinHelp API to display help.
static boolean winHelp(java.lang.String helpfile, int command, java.lang.String keyword)
          Calls the Windows WinHelp API to display help.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP_CONTEXT

public static final int HELP_CONTEXT
Display help topic identified by integer identifier

HELP_CONTEXTPOPUP

public static final int HELP_CONTEXTPOPUP
Display help topic identified by integer identifier in a pop-up window

HELP_KEY

public static final int HELP_KEY
Display help topic identified by keyword
Method Detail

winHelp

public static boolean winHelp(java.lang.String helpfile,
                              int command,
                              int data)
Calls the Windows WinHelp API to display help. This method is used when the help topic is identified by an integer id.
Parameters:
helpfile - String containing the name of the help file to be displayed.
command - Specifies the type of help requested. Values include: HELP_CONTEXT or HELP_CONTEXTPOPUP
data - Identifies the help topic to be displayed.

winHelp

public static boolean winHelp(java.lang.String helpfile,
                              int command,
                              java.lang.String keyword)
Calls the Windows WinHelp API to display help. This method is used when the help topic is identified by a string.
Parameters:
helpfile - String containing the name of the help file to be displayed.
command - Specifies the type of help requested. Values include: HELP_KEY.
keyword - Identifies the help topic to be displayed.