本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}