Class jls.gui.CommonDialog

CommonDialog helps to deal with standard dialogs.
Defined in: CommonDialog.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
getOpenFileName(element)
Prompts the user for a file to open then returns the selected filename.
 
getSaveFileName(element, confirmOverwrite)
Prompts the user for a file to save then returns the selected filename.
Class Detail
jls.gui.CommonDialog()
Method Detail
{String} getOpenFileName(element)
Prompts the user for a file to open then returns the selected filename.
Parameters:
{jls.gui.Element} element Optional
The parent element.
Returns:
{String} The selected filename.

{String} getSaveFileName(element, confirmOverwrite)
Prompts the user for a file to save then returns the selected filename.
Parameters:
{jls.gui.Element} element Optional
The parent element.
{Boolean} confirmOverwrite Optional
true if the user must confirm when an existing file is selected.
Returns:
{String} The selected filename.

Documentation generated by JsDoc Toolkit 2.3.2 on Sat Jan 08 2011 02:00:12 GMT+0100 (CET)