예제 #1
0
 public void Bfr_arg__add(Bry_bfr bfr) {
   if (jdoc == null) return; // TEST: wdoc doesn't have jdoc
   jdoc.Root_nde().Print_as_json(tmp_bfr, 0);
   fmtr.Bld_bfr_many(
       bfr,
       toc_data.Href(),
       toc_data.Text(),
       toggle_itm.Html_toggle_btn(),
       toggle_itm.Html_toggle_hdr(),
       tmp_bfr.To_bry_and_clear());
 }
예제 #2
0
 public void Init_by_lang(Wdata_hwtr_msgs msgs) {
   toc_data.Orig_(msgs.Json_div_hdr());
   toggle_itm.Init_msgs(msgs.Toggle_title_y(), msgs.Toggle_title_n());
 }
예제 #3
0
 public void Init_by_wdoc(Json_doc jdoc) {
   this.jdoc = jdoc;
   toc_data.Make(0);
 }
예제 #4
0
 public void Init_by_ctor(Wdata_toc_data toc_data, Xoapi_toggle_mgr toggle_mgr) {
   this.toc_data = toc_data.Itms_len_enable_n_();
   this.toggle_itm =
       toggle_mgr.Get_or_new("wikidatawiki-json")
           .Html_toggle_hdr_cls_(Bry_.new_a7("overflow:auto;"));
 }