当前位置: 首页>>代码示例>>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;未经允许,请勿转载。