public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { if (ctx.Match(k, Invk_new_dflt__at_dflt__focus_y)) this.New_dflt(Bool_.Y); else if (ctx.Match(k, Invk_new_link__at_dflt__focus_n)) this.New_link(Bool_.N, m.ReadStrOr("v", null)); else if (ctx.Match(k, Invk_new_link__at_dflt__focus_y)) this.New_link(Bool_.Y, m.ReadStrOr("v", null)); else if (ctx.Match(k, Invk_new_href__at_dflt__focus_y)) this.New_href(Bool_.Y); else if (ctx.Match(k, Invk_new_dupe__at_dflt__focus_y)) this.New_dupe(Bool_.Y); else if (ctx.Match(k, Invk_close_cur)) this.Close_cur(); else if (ctx.Match(k, Invk_select_bwd)) this.Select_bwd(); else if (ctx.Match(k, Invk_select_fwd)) this.Select_fwd(); else if (ctx.Match(k, Invk_move_bwd)) this.Move_bwd(); else if (ctx.Match(k, Invk_move_fwd)) this.Move_fwd(); else if (ctx.Match(k, Invk_close_others)) this.Close_others(); else if (ctx.Match(k, Invk_close_to_bgn)) this.Close_to_bgn(); else if (ctx.Match(k, Invk_close_to_end)) this.Close_to_end(); else if (ctx.Match(k, Invk_close_undo)) this.Close_undo(); else if (ctx.Match(k, Invk_pin_toggle)) this.Pin_toggle(); else if (ctx.Match(k, Invk_select_by_idx_1)) this.Select_by_idx(1); else if (ctx.Match(k, Invk_select_by_idx_2)) this.Select_by_idx(2); else if (ctx.Match(k, Invk_select_by_idx_3)) this.Select_by_idx(3); else if (ctx.Match(k, Invk_select_by_idx_4)) this.Select_by_idx(4); else if (ctx.Match(k, Invk_select_by_idx_5)) this.Select_by_idx(5); else if (ctx.Match(k, Invk_select_by_idx_6)) this.Select_by_idx(6); else if (ctx.Match(k, Invk_select_by_idx_7)) this.Select_by_idx(7); else if (ctx.Match(k, Invk_select_by_idx_8)) this.Select_by_idx(8); else if (ctx.Match(k, Invk_select_by_idx_9)) this.Select_by_idx(9); else return GfoInvkAble_.Rv_unhandled; return this; }
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { if (ctx.Match(k, Invk_version)) return Xoa_app_.Version; else if (ctx.Match(k, Invk_build_date)) return Xoa_app_.Build_date; else if (ctx.Match(k, Invk_free_mem_when_)) free_mem_when = gplx.core.ios.Io_size_.parse_or(m.ReadStr("v"), Io_mgr.Len_mb * 5); else if (ctx.Match(k, Invk_lang)) return lang_key; else if (ctx.Match(k, Invk_lang_)) Lang_(m.ReadBry("v")); else if (ctx.Match(k, Invk_lang_list)) return Options_lang_list(); else if (ctx.Match(k, Invk_options_version)) return options_version; else if (ctx.Match(k, Invk_options_version_)) options_version = m.ReadInt("v"); else return Gfo_invk_.Rv_unhandled; return this; }
public static void Rcvd(TabBox tabBox, GfsCtx ctx, GfoMsg m) { TabPnlItm itm = (TabPnlItm) m.CastObj("v"); GfuiBtn btn = GfuiBtn_.as_(tabBox.BtnBox().SubElems().Get_by(itm.Key())); if (btn != null) // HACK: check needed b/c Gfds will raise UpdateCaption event before Creating tab btn.Text_(itm.Name()).TipText_(itm.Name()); }
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { if (ctx.Match(k, Invk_go_bwd)) this.Go_bwd(); else if (ctx.Match(k, Invk_go_fwd)) this.Go_fwd(); else if (ctx.Match(k, Invk_goto)) this.Goto(m.ReadStr("v")); else if (ctx.Match(k, Invk_wiki)) return wiki; else return GfoInvkAble_.Rv_unhandled; return this; }
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { if (ctx.Match(k, Invk_clear)) this.Clear(); else if (ctx.Match(k, Invk_separators)) return separators_mgr; else if (ctx.Match(k, Invk_digits)) { digits_translate = true; return digits_mgr; } // NOTE: only langes with a digit_transform_table will call digits; DATE:2014-05-28 else if (ctx.Match(k, Invk_digit_grouping_pattern)) return String_.new_u8(num_grp_fmtr.Digit_grouping_pattern()); else if (ctx.Match(k, Invk_digit_grouping_pattern_)) num_grp_fmtr.Digit_grouping_pattern_(m.ReadBry("v")); else return Gfo_invk_.Rv_unhandled; return this; }
@Override public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { if (ctx.Match(k, Invk_tier_id_bmk_)) tier_id_bmk = m.ReadInt("v"); else if (ctx.Match(k, Invk_page_id_bmk_)) page_id_bmk = m.ReadInt("v"); else if (ctx.Match(k, Invk_lnki_id_bmk_)) lnki_id_bmk = m.ReadInt("v"); else if (ctx.Match(k, Invk_select_interval_)) select_interval = m.ReadInt("v"); else if (ctx.Match(k, Invk_commit_interval_)) commit_interval = m.ReadInt("v"); else if (ctx.Match(k, Invk_progress_interval_)) progress_interval = m.ReadInt("v"); else if (ctx.Match(k, Invk_delete_interval_)) delete_interval = m.ReadInt("v"); else if (ctx.Match(k, Invk_exec_count_max_)) exec_count_max = m.ReadInt("v"); else if (ctx.Match(k, Invk_exec_fail_max_)) exec_fail_max = m.ReadInt("v"); else if (ctx.Match(k, Invk_exit_after_commit_)) exit_after_commit = m.ReadYn("v"); else if (ctx.Match(k, Invk_exit_now_)) exit_now = m.ReadYn("v"); else if (ctx.Match(k, Invk_resume_enabled_)) resume_enabled = m.ReadYn("v"); else if (ctx.Match(k, Invk_ns_ids_)) ns_ids = Int_.Ary_parse(m.ReadStr("v"), "|"); else if (ctx.Match(k, Invk_src_bin_mgr__fsdb_version_)) src_bin_mgr__fsdb_version = m.ReadStr("v"); else if (ctx.Match(k, Invk_src_bin_mgr__fsdb_skip_wkrs_)) src_bin_mgr__fsdb_skip_wkrs = m.ReadStrAry("v", "|"); else if (ctx.Match(k, Invk_src_bin_mgr__wmf_enabled_)) src_bin_mgr__wmf_enabled = m.ReadYn("v"); else if (ctx.Match(k, Invk_src_bin_mgr__cache_enabled_)) src_bin_mgr__cache_enabled = m.ReadYn("v"); else if (ctx.Match(k, Invk_trg_bin_mgr__fsdb_version_)) trg_bin_mgr__fsdb_version = m.ReadStr("v"); else if (ctx.Match(k, Invk_poll_mgr)) return poll_mgr; else if (ctx.Match(k, Invk_download_keep_tier_ids)) download_keep_tier_ids = Int_.Ary_parse(m.ReadStr("v"), "|"); else if (ctx.Match(k, Invk_download_size_max)) download_size_max = Io_size_.To_long_by_msg_mb(m, download_size_max); else return Gfo_invk_.Rv_unhandled; return this; }
public static TabBoxEvt_orderChanged Handle(GfsCtx ctx, GfoMsg m) { TabBoxEvt_orderChanged rv = new TabBoxEvt_orderChanged(); rv.curIdx = m.ReadInt("curIdx"); rv.newIdx = m.ReadInt("newIdx"); return rv; }
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { if (ctx.Match(k, GxwElem_lang.AlignH_cmd)) AlignH_(GfuiAlign_.cast(m.CastObj("v"))); return txt_box.Invk(ctx, ikey, k, m); }