當前位置: 首頁>>代碼示例>>Java>>正文


Java BoolRef類代碼示例

本文整理匯總了Java中org.cef.misc.BoolRef的典型用法代碼示例。如果您正苦於以下問題:Java BoolRef類的具體用法?Java BoolRef怎麽用?Java BoolRef使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


BoolRef類屬於org.cef.misc包,在下文中一共展示了BoolRef類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: visit

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean visit(CefCookie cookie, int count, int total, BoolRef delete) {
  Object[] entry = {
      cookie.name,
      cookie.value,
      cookie.domain,
      cookie.path,
      new Boolean(cookie.secure),
      new Boolean(cookie.httponly),
      cookie.creation,
      cookie.lastAccess,
      cookie.expires
  };
  int row = rowData.size();
  rowData.addElement(entry);
  fireTableRowsInserted(row, row);

  return true;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:20,代碼來源:CookieManagerDialog.java

示例2: onJSDialog

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onJSDialog(CefBrowser browser,
                          String origin_url,
                          String accept_lang,
                          JSDialogType dialog_type,
                          String message_text,
                          String default_prompt_text,
                          CefJSDialogCallback callback,
                          BoolRef suppress_message) {
  if (message_text.equalsIgnoreCase("Never displayed")) {
    suppress_message.set(true);
    System.out.println("The " + dialog_type + " from origin \"" + origin_url + "\" was suppressed.");
    System.out.println("   The content of the suppressed dialog was: \"" + message_text + "\"");
  }
  return false;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:17,代碼來源:JSDialogHandler.java

示例3: onJSDialog

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onJSDialog(CefBrowser browser,
                          String origin_url,
                          String accept_lang,
                          JSDialogType dialog_type,
                          String message_text,
                          String default_prompt_text,
                          CefJSDialogCallback callback,
                          BoolRef suppress_message) {
  if (jsDialogHandler_ != null && browser != null)
    return jsDialogHandler_.onJSDialog(browser,
                                       origin_url,
                                       accept_lang,
                                       dialog_type,
                                       message_text,
                                       default_prompt_text,
                                       callback,
                                       suppress_message);
  return false;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:21,代碼來源:CefClient.java

示例4: onJSDialog

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onJSDialog(CefBrowser browser, 
                                 String origin_url,
		          String accept_lang, 
                                 JSDialogType dialog_type,
		          String message_text, 
                                 String default_prompt_text,
		          CefJSDialogCallback callback, 
                                 BoolRef suppress_message) {
	if (jsDialogHandler_ != null && browser != null)
		return jsDialogHandler_.onJSDialog(browser, 
                                                         origin_url,
				                  accept_lang, 
                                                         dialog_type, 
                                                         message_text,
				                  default_prompt_text, 
                                                         callback, 
                                                         suppress_message);
	return false;
}
 
開發者ID:apicloudcom,項目名稱:APICloud-Studio,代碼行數:21,代碼來源:CefClient.java

示例5: getAccelerator

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean getAccelerator(int command_id, IntRef key_code, BoolRef shift_pressed, BoolRef ctrl_pressed, BoolRef alt_pressed) {
    try {
        return N_GetAccelerator(command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed);
    } catch (UnsatisfiedLinkError ule) {
        ule.printStackTrace();
    }
    return false;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:10,代碼來源:CefMenuModel_N.java

示例6: getAcceleratorAt

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean getAcceleratorAt(int index, IntRef key_code, BoolRef shift_pressed, BoolRef ctrl_pressed, BoolRef alt_pressed) {
    try {
        return N_GetAcceleratorAt(index, key_code, shift_pressed, ctrl_pressed, alt_pressed);
    } catch (UnsatisfiedLinkError ule) {
        ule.printStackTrace();
    }
    return false;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:10,代碼來源:CefMenuModel_N.java

示例7: onJSDialog

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onJSDialog(CefBrowser browser, String origin_url, JSDialogType dialog_type, String message_text, String default_prompt_text, CefJSDialogCallback callback, BoolRef suppress_message) {
    if (jsDialogHandler_ != null && browser != null) {
        return jsDialogHandler_.onJSDialog(browser, origin_url, dialog_type, message_text, default_prompt_text, callback, suppress_message);
    }
    return false;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:8,代碼來源:CefClient.java

示例8: onPreKeyEvent

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onPreKeyEvent(CefBrowser browser, CefKeyEvent event, BoolRef is_keyboard_shortcut) {
    if (keyboardHandler_ != null && browser != null) {
        return keyboardHandler_.onPreKeyEvent(browser, event, is_keyboard_shortcut);
    }
    return false;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:8,代碼來源:CefClient.java

示例9: onJSDialog

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onJSDialog(CefBrowser browser, String origin_url,
    String accept_lang, JSDialogType dialog_type, String message_text,
    String default_prompt_text, CefJSDialogCallback callback,
    BoolRef suppress_message) {
  return false;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:8,代碼來源:CefJSDialogHandlerAdapter.java

示例10: getAccelerator

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean getAccelerator(int command_id,
                              IntRef key_code,
                              BoolRef shift_pressed,
                              BoolRef ctrl_pressed,
                              BoolRef alt_pressed) {
  try {
    return N_GetAccelerator(command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed);
  } catch (UnsatisfiedLinkError ule) {
    ule.printStackTrace();
  }
  return false;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:14,代碼來源:CefMenuModel_N.java

示例11: getAcceleratorAt

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean getAcceleratorAt(int index,
                                IntRef key_code,
                                BoolRef shift_pressed,
                                BoolRef ctrl_pressed,
                                BoolRef alt_pressed) {
  try {
    return N_GetAcceleratorAt(index, key_code, shift_pressed, ctrl_pressed, alt_pressed);
  } catch (UnsatisfiedLinkError ule) {
    ule.printStackTrace();
  }
  return false;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:14,代碼來源:CefMenuModel_N.java

示例12: onPreKeyEvent

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public boolean onPreKeyEvent(CefBrowser browser,
                             CefKeyEvent event,
                             BoolRef is_keyboard_shortcut) {
  if (keyboardHandler_ != null && browser != null)
    return keyboardHandler_.onPreKeyEvent(browser, event, is_keyboard_shortcut);
  return false;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:9,代碼來源:CefClient.java

示例13: onProtocolExecution

import org.cef.misc.BoolRef; //導入依賴的package包/類
@Override
public void onProtocolExecution(CefBrowser browser,
                                String url,
                                BoolRef allow_os_execution) {
  if (requestHandler_ != null && browser != null)
    requestHandler_.onProtocolExecution(browser, url, allow_os_execution);
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:8,代碼來源:CefClient.java

示例14: getAccelerator

import org.cef.misc.BoolRef; //導入依賴的package包/類
public boolean getAccelerator(int command_id,
                              IntRef key_code,
                              BoolRef shift_pressed,
                              BoolRef ctrl_pressed,
                              BoolRef alt_pressed) {
  try {
    return N_GetAccelerator(command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed);
  } catch (UnsatisfiedLinkError ule) {
    ule.printStackTrace();
  }
  return false;
}
 
開發者ID:apicloudcom,項目名稱:APICloud-Studio,代碼行數:13,代碼來源:CefMenuModel_N.java

示例15: getAcceleratorAt

import org.cef.misc.BoolRef; //導入依賴的package包/類
public boolean getAcceleratorAt(int index,
                                IntRef key_code,
                                BoolRef shift_pressed,
                                BoolRef ctrl_pressed,
                                BoolRef alt_pressed) {
  try {
    return N_GetAcceleratorAt(index, key_code, shift_pressed, ctrl_pressed, alt_pressed);
  } catch (UnsatisfiedLinkError ule) {
    ule.printStackTrace();
  }
  return false;
}
 
開發者ID:apicloudcom,項目名稱:APICloud-Studio,代碼行數:13,代碼來源:CefMenuModel_N.java


注:本文中的org.cef.misc.BoolRef類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。