GDocFolderSelectionDialog
Description
In BBj 11.0 and higher, the GDocFolderSelectionDialog class is one of the BBj CustomObjects that comprises the GApps utility. This class can used in a BBj application to enable end users to select or specify a Google folder via a dialog.
Creation
The GDocFolderSelectionDialog class is found in <bbj install>/utils/gapps/gapps.bbj.
GDocFolderSelectionDialog()
Parameters
None.
Methods of GDocFolderSelectionDialog
Return Value |
Method |
string |
getDocumentFolder() |
Methods of GDocFolderSelectionDialog inherited from GSelectionDialog
Return Value |
Method |
void |
addFilter(string filterName, BBjVector filter) |
int |
doModal() |
string |
|
string |
|
string |
|
boolean |
|
string |
getTitle() |
void |
|
void |
removeFilter(string filterName) |
void |
selectFilter(string filterName) |
void |
setDefaultDocument(string document) |
void |
setDefaultFolder(string folder) |
void |
setDefaultType(string type) |
void |
setMultipleSelection(boolean multipleSelection) |
void |
setTitle(string title) |
Remarks
Requires a GUI client.
Constants
Name |
Value |
CANCELED |
0 |
SELECTED |
1 |
ALL_DOCUMENTS_FILTER_NAME |
ALL_DOCUMENTS |
TEXT_DOCUMENTS_FILTER_NAME |
TEXT_DOCUMENTS |
SPREADSHEETS_FILTER_NAME |
SPREADSHEETS |
PRESENTATIONS_FILTER_NAME |
PRESENTATIONS |
DRAWINGS_FILTER_NAME |
DRAWINGS |
PDF_FILES_FILTER_NAME |
PDF_FILES |
Example
|