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 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cx_root} = await import("./cx_root.clas.mjs");
// cl_gui_cfw.clas.abap
class cl_gui_cfw {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_GUI_CFW';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"COMPUTE_PIXEL_FROM_METRIC": {"visibility": "U", "parameters": {"VAL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "R", "type_name": "IntegerType"}, "X_OR_Y": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "IN": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
"FLUSH": {"visibility": "U", "parameters": {}},
"SET_NEW_OK_CODE": {"visibility": "U", "parameters": {"NEW_CODE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
};
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async compute_pixel_from_metric(INPUT) {
return cl_gui_cfw.compute_pixel_from_metric(INPUT);
}
static async compute_pixel_from_metric(INPUT) {
let val = new abap.types.Integer({qualifiedName: "I"});
let x_or_y = INPUT?.x_or_y;
let $in = INPUT?.in;
if ($in?.getQualifiedName === undefined || $in.getQualifiedName() !== "I") { $in = undefined; }
if ($in === undefined) { $in = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.in); }
val.set(abap.IntegerFactory.get(1));
return val;
}
async flush() {
return cl_gui_cfw.flush();
}
static async flush() {
return;
}
async set_new_ok_code(INPUT) {
return cl_gui_cfw.set_new_ok_code(INPUT);
}
static async set_new_ok_code(INPUT) {
let new_code = INPUT?.new_code;
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(15, 'not implemented')));
}
}
abap.Classes['CL_GUI_CFW'] = cl_gui_cfw;
export {cl_gui_cfw}; |