GDocOpenDialog
Description
In BBj 11.0 and higher, the GDocOpenDialog 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 Google documents via a dialog.
Creation
The GDocOpenDialog class is found in <bbj install>/utils/gapps/gapps.bbj.
GDocOpenDialog()
Parameters
None.
Methods of GDocOpenDialog 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
|