public class DialogUtils
DialogUtils
Dialog Utilities Class
| Modifier and Type | Method and Description |
|---|---|
static void | buildDialogProperties(BBTranslator/BBTranslator.html">BBTranslator pTranslator!, BBjVector pCtrlVect!)Method buildDialogProperties: Create property files given a BBTranslator object and a set of controls |
static BBjNumber | checkFile(BBjControl pControl!, BBjString pFilePath$, BBjNumber pMustExist, BBjNumber pFileOnly, BBjNumber pQuiet)Method checkFile: Validity check for a given file path |
static BBjString | constructName(HashMap controlMap!)Method constructName: Construct a valid control name |
static BBjVector | getAllControls(BBjString pResFilePath$)Method getAllControls: Get all controls in a resource file |
static BBjVector | getAllControls(BBjString pResFilePath$, BBjNumber pWinId)Method getAllControls: Get all controls in a resource file for a particular window id |
static BBjVector | getAllControls(BBjWindow pWindow!)Method getAllControls: Get all controls using a window object |
static BBjVector | getAllControlsRecursive(BBjWindow pWindow!, BBjNumber pInclInstance)Method getAllControlsRecursive: Get all controls recursively |
static BBjNumber | getTopWindowId(BBjString pResFilePath$)Method getTopWindowId: Get the first top level window id in a resource file |
static BBjVector | getTopWindowIdList(BBjString pResFilePath$)Method getTopWindowIdList: Get a list of all the top level window ids in a resource file |
public static void buildDialogProperties(BBTranslator/BBTranslator.html">BBTranslator pTranslator!, BBjVector pCtrlVect!)
Method buildDialogProperties: Create property files given a BBTranslator object and a set of controls
BBTranslator BBTranslator objectBBjVector Vector of controls (built in getAllControlsRecursive())public static BBjNumber checkFile(BBjControl pControl!, BBjString pFilePath$, BBjNumber pMustExist, BBjNumber pFileOnly, BBjNumber pQuiet)Method checkFile: Validity check for a given file path
BBjControl Optional BBj control object on which to set focus if check failsBBjString Path to file to checkBBjNumber Must exist flag (0=must not exist, 1=must exist)BBjNumber File only flag (0=can be a file or directory, 1=has to be a file)BBjNumber Quiet flag (0=shows messages, 1=suppress messages)public static BBjString constructName(HashMap controlMap!)
Method constructName: Construct a valid control name
HashMap Control map (built in getAllControlsRecursive())public static BBjVector getAllControls(BBjString pResFilePath$)Method getAllControls: Get all controls in a resource file
BBjString Resource file path getTopWindowIdList(BBjString) getAllControlsRecursive(BBjWindow, BBjNumber)public static BBjVector getAllControls(BBjString pResFilePath$, BBjNumber pWinId)Method getAllControls: Get all controls in a resource file for a particular window id
BBjString Resource file pathBBjNumber Window ID getAllControlsRecursive(BBjWindow, BBjNumber)public static BBjVector getAllControls(BBjWindow pWindow!)Method getAllControls: Get all controls using a window object
BBjWindow Window object getAllControlsRecursive(BBjWindow, BBjNumber)public static BBjVector getAllControlsRecursive(BBjWindow pWindow!, BBjNumber pInclInstance)Method getAllControlsRecursive: Get all controls recursively
BBjWindow Window objectBBjNumber Flag as to whether to include the control instance constructName(HashMap)public static BBjNumber getTopWindowId(BBjString pResFilePath$)Method getTopWindowId: Get the first top level window id in a resource file
BBjString Resource file path getTopWindowIdList(BBjString)public static BBjVector getTopWindowIdList(BBjString pResFilePath$)Method getTopWindowIdList: Get a list of all the top level window ids in a resource file
BBjString Resource file path