nsIDialogParamBlock

IID:f76c0901-437a-11d3-b7a0-e35db351b4bc
Inherits From:nsISupports

An interface to pass strings, integers and nsISupports to a dialog

This interface is implemented by the following components:


Properties

nsIMutableArray objects

A place where you can store an nsIMutableArray to pass nsISupports


Methods

PRInt32 GetInt ( PRInt32 inIndex ) PRUnichar* GetString ( PRInt32 inIndex ) void SetInt ( PRInt32 inIndex , PRInt32 inInt ) void SetNumberStrings ( PRInt32 inNumStrings ) void SetString ( PRInt32 inIndex , PRUnichar* inString )

PRInt32 GetInt ( PRInt32 inIndex )

Get or set an interger to pass. Index must be in the range 0..7

Arguments:
inIndex

PRUnichar* GetString ( PRInt32 inIndex )

Get or set an string to pass. Index starts at 0

Arguments:
inIndex

void SetInt ( PRInt32 inIndex , PRInt32 inInt )

Arguments:
inIndex
inInt

void SetNumberStrings ( PRInt32 inNumStrings )

Set the maximum number of strings to pass. Default is 16. Use before setting any string (If you want to change it from the default).

Arguments:
inNumStrings

void SetString ( PRInt32 inIndex , PRUnichar* inString )

Arguments:
inIndex
inString

References

This interface is passed as an argument to the following methods:

nsPIPromptService.doDialog

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com