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 |
| <static> |
Prompts the user for a file to open then returns the selected filename.
|
| <static> |
Prompts the user for a file to save then returns the selected filename.
|
Class Detail
jls.gui.CommonDialog()
Method Detail
<static>
{String}
jls.gui.CommonDialog.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.
<static>
{String}
jls.gui.CommonDialog.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 Fri Apr 29 2011 23:07:05 GMT+0200 (CEST)