|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--lwh.config
manages the V3 configuration files.
Field Summary | |
String |
appl
the application sub-dir. |
Type_ArrayStrings |
dir
the directory listing of all config files for current appl and user. |
{_appl_ArrayStrings} |
files
the config file names for all terminal types. |
String |
lang
the current language settings. |
Constructor Summary | |
lwh.config
(appl)
Constructs a new V3 configuration files manager. |
Method Summary | |
void
|
dirlist(<String> path)
load directory listing of all config files for current appl. |
void
|
dirlistResponse(obj, path)
callback from server dirlist(): the directory listing. |
int
|
keyboard(<String> f)
loads the specified keyboard config file for current appl. |
void
|
keyboardUpdate(<String> f)
callback after loading a keyboard file. |
int
|
language(<String> lang)
loads the language config files for the specified language. |
int
|
macro(<String> f)
loads the specified macro file for current appl. |
int
|
menu(<String> f)
loads the specified menu config file for current appl. |
void
|
menuUpdate(<String> f)
callback after loading a menu file. |
void
|
terminal(<String> appl)
loads the terminal config files for current appl. |
int
|
toolbar(<String> f)
loads the specified toolbar config file for current appl. |
void
|
toolbarUpdate(<String> f)
callback after loading a toolbar file. |
Field Detail |
String appl
Type_ArrayStrings dir
".": ["*97801_default.js","*_automacros.js"],
"keyboard": ["*97801_keyboard.js","*97801_keyboard_empty.js","*97801_keyboard_tm.js","97801_keyboard_empty.js"],
"macro": ["*97801_macro_empty.js","97801_macro_empty.js"],
"menu": ["*97801_menu_empty.js","*test1.js","97801_menu_empty.js"],
"toolbar": ["*97801_toolbar.js","*97801_toolbar_empty.js","97801_toolbar_empty.js"]
{_appl_ArrayStrings} files
String lang
Constructor Detail |
lwh.config(appl)
Method Detail |
void dirlist(<String> path)
path
- optional: the directory path; e.g. lwh.config.appl == "5250"
void dirlistResponse(obj, path)
obj
- the application file directories for current application and user. Elements (example): ".": ["*97801_default.js","*_automacros.js"],
"keyboard": ["*97801_keyboard.js","*97801_keyboard_empty.js","*97801_keyboard_tm.js","97801_keyboard_empty.js"],
"macro": ["*97801_macro_empty.js","97801_macro_empty.js"],
"macro/auto":["*S0Auto.js","*S1Auto.js",..,"*S8Auto.js","*S9Auto.js","S0Auto.js","S1Auto.js",..,"S8Auto.js","S9Auto.js"],
"menu": ["*97801_menu_empty.js","*test1.js","97801_menu_empty.js"],
"toolbar": ["*97801_toolbar.js","*97801_toolbar_empty.js","97801_toolbar_empty.js"]
int keyboard(<String> f)
f
- optional: the file name. If missing: returns the index of the current file (found in this.myFiles) into this.dir
void keyboardUpdate(<String> f)
f
- NOT SUPPORTED: if specified: the overlay file to be loaded
int language(<String> lang)
lang
- optional: the language to be used, e.g. de. if missing: returns index of current language.
int macro(<String> f)
f
- the file name
int menu(<String> f)
f
- optional: the file name. If missing: returns the index of the current file (found in this.myFiles) into this.dir
void menuUpdate(<String> f)
f
- if specified: the overlay menu file to be loaded
void terminal(<String> appl)
appl
- the _ApplicationType sub-dir name.
int toolbar(<String> f)
f
- optional: the file name. If missing: returns the index of the current file (found in this.myFiles) into this.dir
void toolbarUpdate(<String> f)
f
- NOT SUPPORTED: if specified: the overlay file to be loaded
|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |