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 70 71 72 73 74 75 76 77 78 79 80 81 82 | 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 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_picture.clas.abap
class cl_gui_picture extends cl_gui_control {
static STATIC_SUPER = cl_gui_control;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_GUI_PICTURE';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {"DISPLAY_MODE_NORMAL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
"DISPLAY_MODE_FIT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
"DISPLAY_MODE_STRETCH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
"DISPLAY_MODE_NORMAL_CENTER": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
"DISPLAY_MODE_FIT_CENTER": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
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"}}},
"CLEAR_PICTURE": {"visibility": "U", "parameters": {}},
"SET_DISPLAY_MODE": {"visibility": "U", "parameters": {"DISPLAY_MODE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
"LOAD_PICTURE_FROM_URL_ASYNC": {"visibility": "U", "parameters": {"URL": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}}},
"LOAD_PICTURE_FROM_URL": {"visibility": "U", "parameters": {"URL": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "RESULT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}}},
"SET_3D_BORDER": {"visibility": "U", "parameters": {"BORDER": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}}};
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,
"clear_picture": this.clear_picture.bind(this),
"set_display_mode": this.set_display_mode.bind(this),
"load_picture_from_url_async": this.load_picture_from_url_async.bind(this),
"load_picture_from_url": this.load_picture_from_url.bind(this),
"set_3d_border": this.set_3d_border.bind(this),
};
this.display_mode_normal = cl_gui_picture.display_mode_normal;
this.display_mode_fit = cl_gui_picture.display_mode_fit;
this.display_mode_stretch = cl_gui_picture.display_mode_stretch;
this.display_mode_normal_center = cl_gui_picture.display_mode_normal_center;
this.display_mode_fit_center = cl_gui_picture.display_mode_fit_center;
}
async set_3d_border(INPUT) {
let border = INPUT?.border;
if (border?.getQualifiedName === undefined || border.getQualifiedName() !== "I") { border = undefined; }
if (border === undefined) { border = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.border); }
return;
}
async load_picture_from_url(INPUT) {
let url = INPUT?.url;
let result = INPUT?.result || new abap.types.Integer({qualifiedName: "I"});
return;
}
async load_picture_from_url_async(INPUT) {
let url = INPUT?.url;
return;
}
async clear_picture() {
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); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
return this;
}
async set_display_mode(INPUT) {
let display_mode = INPUT?.display_mode;
if (display_mode?.getQualifiedName === undefined || display_mode.getQualifiedName() !== "I") { display_mode = undefined; }
if (display_mode === undefined) { display_mode = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.display_mode); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
}
abap.Classes['CL_GUI_PICTURE'] = cl_gui_picture;
cl_gui_picture.display_mode_normal = new abap.types.Integer({qualifiedName: "I"});
cl_gui_picture.display_mode_normal.set(0);
cl_gui_picture.display_mode_fit = new abap.types.Integer({qualifiedName: "I"});
cl_gui_picture.display_mode_fit.set(2);
cl_gui_picture.display_mode_stretch = new abap.types.Integer({qualifiedName: "I"});
cl_gui_picture.display_mode_stretch.set(1);
cl_gui_picture.display_mode_normal_center = new abap.types.Integer({qualifiedName: "I"});
cl_gui_picture.display_mode_normal_center.set(3);
cl_gui_picture.display_mode_fit_center = new abap.types.Integer({qualifiedName: "I"});
cl_gui_picture.display_mode_fit_center.set(4);
export {cl_gui_picture}; |