📄 ajaxdevice.java
字号:
/* AjaxDevice.java{{IS_NOTE Purpose: Description: History: Mon May 14 19:13:07 2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.device;/** * Represents a Web browser with the Ajax support. * * @author tomyeh * @since 2.4.0 */public class AjaxDevice extends GenericDevice { /** Return false to indicate it is cacheable. */ public boolean isCacheable() { return false; } /** Returns <code>text/html;charset=UTF-8</code> */ public String getContentType() { return "text/html;charset=UTF-8"; } /** Returns <code><!DOCTYPE html ...XHTML 1.0 Transitional...></code>. */ public String getDocType() { return "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" " + "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -