tmozIDialogBar Interface Reference

Dialog-bar class. More...

List of all members.

Public Member Functions

void addParameter (in nsISupports param)
 Add parameter to the dialog.
void create (in tmozIFrame frame, in AString dlgBarId)
 Create dialog bar.
void destroy ()
 Destroy dialog bar.

Public Attributes

attribute AString dialogUrl
 Dialog URL.
readonly attribute boolean opened
 Flag if dialog opened.


Detailed Description

Dialog-bar class.

Class represents XUL based dialog-bar. Dialog bar is initialy empty and have to be initialized calling method create()

This class can be created using "@lightcomp.com/tahiti/dialogbarfactory;1".

Member Function Documentation

void addParameter ( in nsISupports  param  ) 

Add parameter to the dialog.

Add one or more parameteres to the dialog. Method can be called several times to add more parameters. These parameters can be used in the method onLoad.

Parameters:
param Parameter

void create ( in tmozIFrame  frame,
in AString  dlgBarId 
)

Create dialog bar.

Function will create new dialog bar.

Parameters:
frame Parent frame
dlgBarId ID of new dialog bar
Note:
Function will throw exception (NS_ERROR_FAILURE) if error occur.

void destroy (  ) 

Destroy dialog bar.

Function will destroy active dialog bar


Member Data Documentation

attribute AString dialogUrl

Dialog URL.

Dialog URL have to be set before activation. Example: 'chrome://tahiti/content/aboutDialog.xul'

readonly attribute boolean opened

Flag if dialog opened.

Flag is true if dialog is opened. Flag is false if dialog is closed.


Generated on Thu Aug 27 12:37:06 2009 for Tahiti XPCOM API