Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cl_gui_control} = await import("./cl_gui_control.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_gui_html_viewer.clas.abap
class cl_gui_html_viewer extends cl_gui_control {
static STATIC_SUPER = cl_gui_control;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_GUI_HTML_VIEWER';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "QUERY_TABLE_DISABLED": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}}},
"GO_BACK": {"visibility": "U", "parameters": {}},
"CLOSE_DOCUMENT": {"visibility": "U", "parameters": {}},
"GET_CURRENT_URL": {"visibility": "U", "parameters": {"URL": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "E", "type_name": "CGenericType"}}},
"LOAD_DATA": {"visibility": "U", "parameters": {"URL": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "TYPE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "SUBTYPE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "SIZE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "ASSIGNED_URL": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "E", "type_name": "CGenericType"}, "DATA_TABLE": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Character(4), {"withHeader":false,"keyType":"DEFAULT"});}, "is_optional": " ", "parm_kind": "C", "type_name": "TableType"}}},
"SHOW_URL": {"visibility": "U", "parameters": {"URL": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}}}};
constructor() {
const sup = super();
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"SUPER": sup.FRIENDS_ACCESS_INSTANCE,
"go_back": this.go_back.bind(this),
"close_document": this.close_document.bind(this),
"get_current_url": this.get_current_url.bind(this),
"load_data": this.load_data.bind(this),
"show_url": this.show_url.bind(this),
};
this.sapevent = {"EVENT_NAME": "SAPEVENT", "EVENT_CLASS": "CL_GUI_HTML_VIEWER"};
}
async show_url(INPUT) {
let url = INPUT?.url;
return;
}
async load_data(INPUT) {
let url = INPUT?.url || new abap.types.Character();
let type = INPUT?.type || new abap.types.Character();
if (INPUT === undefined || INPUT.type === undefined) {type = abap.CharacterFactory.get(4, 'text');}
let subtype = INPUT?.subtype || new abap.types.Character();
if (INPUT === undefined || INPUT.subtype === undefined) {subtype = abap.CharacterFactory.get(4, 'html');}
let size = new abap.types.Integer({qualifiedName: "I"});
if (INPUT && INPUT.size) {size.set(INPUT.size);}
if (INPUT === undefined || INPUT.size === undefined) {size = abap.IntegerFactory.get(0);}
let assigned_url = INPUT?.assigned_url || new abap.types.Character();
let data_table = abap.types.TableFactory.construct(new abap.types.Character(4), {"withHeader":false,"keyType":"DEFAULT"});
if (INPUT && INPUT.data_table) {data_table = INPUT.data_table;}
return;
}
async get_current_url(INPUT) {
let url = INPUT?.url || new abap.types.Character();
return;
}
async close_document() {
return;
}
async go_back() {
return;
}
async constructor_(INPUT) {
let parent = INPUT?.parent;
if (parent?.getQualifiedName === undefined || parent.getQualifiedName() !== "CL_GUI_CONTAINER") { parent = undefined; }
if (parent === undefined) { parent = new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"}).set(INPUT.parent); }
let query_table_disabled = INPUT?.query_table_disabled || new abap.types.Character();
return this;
return this;
}
}
abap.Classes['CL_GUI_HTML_VIEWER'] = cl_gui_html_viewer;
export {cl_gui_html_viewer}; |