示例#1
0
 public void New_href(boolean focus) {
   Xog_tab_itm tab = tab_mgr.Active_tab();
   if (tab == Xog_tab_itm_.Null) return;
   String link = tab.Html_itm().Html_selected_get_href_or_text();
   if (String_.Len_eq_0(link)) {
     tab_mgr.Win().Usr_dlg().Prog_many("", "", "no link or text selected");
     return;
   }
   tab_mgr.Tabs_new_dflt(true);
   tab_mgr.Win().Page__navigate_by_url_bar(link);
 }
示例#2
0
 public void Close_undo() {
   tab_mgr.Tabs_close_undo();
 }
示例#3
0
 public void Close_to_end() {
   tab_mgr.Tabs_close_to_end();
 }
示例#4
0
 public void Close_to_bgn() {
   tab_mgr.Tabs_close_to_bgn();
 }
示例#5
0
 public void Close_others() {
   tab_mgr.Tabs_close_others();
 }
示例#6
0
 public void Move_fwd() {
   tab_mgr.Tabs_move(Bool_.Y);
 }
示例#7
0
 public void Move_bwd() {
   tab_mgr.Tabs_move(Bool_.N);
 }
示例#8
0
 public void Select_by_idx(int v) {
   tab_mgr.Tabs_select_by_idx(v - List_adp_.Base1);
 }
示例#9
0
 public void Select_fwd() {
   tab_mgr.Tabs_select(Bool_.Y);
 }
示例#10
0
 public void Select_bwd() {
   tab_mgr.Tabs_select(Bool_.N);
 }
示例#11
0
 public void Close_cur() {
   tab_mgr.Tabs_close_cur();
 }
示例#12
0
 public void New_link(boolean focus, String link) {
   tab_mgr.Tabs_new_link(focus, link);
 }
示例#13
0
 public void New_dflt(boolean focus) {
   tab_mgr.Tabs_new_dflt(focus);
 }
示例#14
0
 public void New_dupe(boolean focus) {
   tab_mgr.Tabs_new_dupe(focus);
 }
示例#15
0
 private boolean Active_tab_is_null() {
   return tab_mgr.Active_tab_is_null();
 }
示例#16
0
 public void Pin_toggle() {
   if (this.Active_tab_is_null()) return;
   tab_mgr.Active_tab().Pin_toggle();
 }