All files / output cl_gui_alv_grid_base.clas.mjs

43.24% Statements 16/37
100% Branches 2/2
20% Functions 1/5
43.24% Lines 16/37

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 371x 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_alv_grid_base.clas.abap
class cl_gui_alv_grid_base extends cl_gui_control {
  static STATIC_SUPER = cl_gui_control;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_GUI_ALV_GRID_BASE';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"SET_DELAY_CHANGE_SELECTION": {"visibility": "O", "parameters": {"TIME": {"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,
      "set_delay_change_selection": this.set_delay_change_selection.bind(this),
    };
    this.click_col_header = {"EVENT_NAME": "CLICK_COL_HEADER", "EVENT_CLASS": "CL_GUI_ALV_GRID_BASE"};
    this.toolbar_menu_selected = {"EVENT_NAME": "TOOLBAR_MENU_SELECTED", "EVENT_CLASS": "CL_GUI_ALV_GRID_BASE"};
    this.context_menu_selected = {"EVENT_NAME": "CONTEXT_MENU_SELECTED", "EVENT_CLASS": "CL_GUI_ALV_GRID_BASE"};
    this.click_row_col = {"EVENT_NAME": "CLICK_ROW_COL", "EVENT_CLASS": "CL_GUI_ALV_GRID_BASE"};
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async set_delay_change_selection(INPUT) {
    let time = INPUT?.time;
    if (time?.getQualifiedName === undefined || time.getQualifiedName() !== "I") { time = undefined; }
    if (time === undefined) { time = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.time); }
    return;
  }
}
abap.Classes['CL_GUI_ALV_GRID_BASE'] = cl_gui_alv_grid_base;
export {cl_gui_alv_grid_base};