⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientproperties.java

📁 Wicket一个开发Java Web应用程序框架。它使得开发web应用程序变得容易而轻松。 Wicket利用一个POJO data beans组件使得它可以与任何持久层技术相结合。
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	 * A quirk flag indicating that listbox-style select fields cannot be reliably manipulated using	 * the client DOM API.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Internet Explorer 6 (Windows)</li>	 * </ul>	 * 	 * @return True if listbox-style select fields cannot be reliably manipulated using the client	 *         DOM API.	 */	public boolean isQuirkIESelectListDomUpdate()	{		return quirkIESelectListDomUpdate;	}	/**	 * A quirk flag indicating that select fields with percentage widths are not reliably rendered.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Internet Explorer 6 (Windows)</li>	 * </ul>	 * 	 * @return True if select fields with percentage widths are not reliably rendered.	 */	public boolean isQuirkIESelectPercentWidth()	{		return quirkIESelectPercentWidth;	}	/**	 * A quirk flag describing the issue of "windowed" select fields in Internet Explorer, which do	 * not render correctly with regard to z-index value. See	 * http://support.microsoft.com/kb/q177378/ for an explanation of the underlying issue.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Internet Explorer 6 (Windows)</li>	 * </ul>	 * 	 * @return True if the browser do not render correctly with regard to z-index value.	 */	public boolean isQuirkIESelectZIndex()	{		return quirkIESelectZIndex;	}	/**	 * A quirk flag indicating incorrect calculation of 100% table widths when within a vertically	 * scrolling region.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Internet Explorer 6 (Windows)</li>	 * </ul>	 * 	 * @return True if incorrect calculation of 100% table widths when within a vertically scrolling	 *         region.	 */	public boolean isQuirkIETablePercentWidthScrollbarError()	{		return quirkIETablePercentWidthScrollbarError;	}	/**	 * A quirk flag indicating the incorrect parsing of newlines in the content of a 'textarea'.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Internet Explorer 6 (Windows)</li>	 * </ul>	 * 	 * @return True if the browser has incorrect parsing of newlines in the content of a 'textarea'.	 */	public boolean isQuirkIETextareaNewlineObliteration()	{		return quirkIETextareaNewlineObliteration;	}	/**	 * A quirk flag indicating whether the client has poor performance when attempting to remove	 * large element hierarchies from a DOM. This quirk can be alleviated by removing the hierarchy	 * in smaller chunks.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Mozilla (all platforms)</li>	 * <li>Mozilla Firefox ((all platforms)</li>	 * </ul>	 * 	 * @return True if the client has poor performance when attempting to remove large element	 *         hierarchies from a DOM.	 */	public boolean isQuirkMozillaPerformanceLargeDomRemove()	{		return quirkMozillaPerformanceLargeDomRemove;	}	/**	 * A quirk flag describing a Mozilla-specific behavior where the text contained within text	 * input fields may be drawn outside of text input component due to the component having shifted	 * its location on the page.	 * <p>	 * This quirk occurs with:	 * <ul>	 * <li>Mozilla (all platforms)</li>	 * <li>Mozilla Firefox ((all platforms)</li>	 * </ul>	 * 	 * @return True if the text contained within text input fields may be drawn outside of text	 *         input component due to the component having shifted its location on the page.	 */	public boolean isQuirkMozillaTextInputRepaint()	{		return quirkMozillaTextInputRepaint;	}	/**	 * @param browserHeight	 *            The height of the browser	 */	public void setBrowserHeight(int browserHeight)	{		this.browserHeight = browserHeight;	}	/**	 * Flag indicating that the browser is a derivative of the Microsoft Internet Explorer browser	 * platform.	 * 	 * @param browserInternetExplorer	 *            True if a derivative of the Microsoft Internet Explorer browser platform.	 */	public void setBrowserInternetExplorer(boolean browserInternetExplorer)	{		this.browserInternetExplorer = browserInternetExplorer;	}	/**	 * Flag indicating that the browser is a derivative of the KDE Konqueror browser platform.	 * 	 * @param browserKonqueror	 *            True if a derivative of the KDE Konqueror browser platform.	 */	public void setBrowserKonqueror(boolean browserKonqueror)	{		this.browserKonqueror = browserKonqueror;	}	/**	 * Flag indicating that the browser is a derivative of the Mozilla 1.0-1.8+ browser platform.	 * 	 * @param browserMozilla	 *            True if a derivative of the Mozilla 1.0-1.8+ browser platform.	 */	public void setBrowserMozilla(boolean browserMozilla)	{		this.browserMozilla = browserMozilla;	}	/**	 * Flag indicating that the browser is a derivative of the Mozilla Firefox 1.0+ browser	 * platform.	 * 	 * @param browserMozillaFirefox	 *            True if a derivative of the Mozilla Firefox 1.0+ browser platform.	 */	public void setBrowserMozillaFirefox(boolean browserMozillaFirefox)	{		this.browserMozillaFirefox = browserMozillaFirefox;	}	/**	 * Flag indicating that the browser is a derivative of the Opera browser platform.	 * 	 * @param browserOpera	 *            True if a derivative of the Opera browser platform.	 */	public void setBrowserOpera(boolean browserOpera)	{		this.browserOpera = browserOpera;	}	/**	 * Flag indicating that the browser is a derivative of the Apple Safari browser platform.	 * 	 * @param browserSafari	 *            True if a derivative of the Apple Safari browser platform.	 */	public void setBrowserSafari(boolean browserSafari)	{		this.browserSafari = browserSafari;	}	/**	 * @param browserVersionMajor	 *            The major version number of the browser.	 */	public void setBrowserVersionMajor(int browserVersionMajor)	{		this.browserVersionMajor = browserVersionMajor;	}	/**	 * @param browserVersionMinor	 *            The minor version number of the browser.	 */	public void setBrowserVersionMinor(int browserVersionMinor)	{		this.browserVersionMinor = browserVersionMinor;	}	/**	 * @param browserWidth	 *            The browser width	 */	public void setBrowserWidth(int browserWidth)	{		this.browserWidth = browserWidth;	}	/**	 * @param cookiesEnabled	 *            The client's navigator.cookieEnabled property.	 */	public void setCookiesEnabled(boolean cookiesEnabled)	{		this.cookiesEnabled = cookiesEnabled;	}	/**	 * @param navigatorJavaEnabled	 *            The client's navigator.javaEnabled property.	 */	public void setJavaEnabled(boolean navigatorJavaEnabled)	{		javaEnabled = navigatorJavaEnabled;	}	/**	 * @param navigatorAppCodeName	 *            The client's navigator.appCodeName property.	 */	public void setNavigatorAppCodeName(String navigatorAppCodeName)	{		this.navigatorAppCodeName = navigatorAppCodeName;	}	/**	 * @param navigatorAppName	 *            The client's navigator.appName property.	 */	public void setNavigatorAppName(String navigatorAppName)	{		this.navigatorAppName = navigatorAppName;	}	/**	 * @param navigatorAppVersion	 *            The client's navigator.appVersion property.	 */	public void setNavigatorAppVersion(String navigatorAppVersion)	{		this.navigatorAppVersion = navigatorAppVersion;	}	/**	 * @param navigatorLanguage	 *            The client's navigator.language (or navigator.userLanguage) property.	 */	public void setNavigatorLanguage(String navigatorLanguage)	{		this.navigatorLanguage = navigatorLanguage;	}	/**	 * @param navigatorPlatform	 *            The client's navigator.platform property.	 */	public void setNavigatorPlatform(String navigatorPlatform)	{		this.navigatorPlatform = navigatorPlatform;	}	/**	 * @param navigatorUserAgent	 *            The client's navigator.userAgent property.	 */	public void setNavigatorUserAgent(String navigatorUserAgent)	{		this.navigatorUserAgent = navigatorUserAgent;	}	/**	 * @param proprietaryIECssExpressionsSupported	 *            True if support for IE-style CSS expressions.	 */	public void setProprietaryIECssExpressionsSupported(boolean proprietaryIECssExpressionsSupported)	{		this.proprietaryIECssExpressionsSupported = proprietaryIECssExpressionsSupported;	}	/**	 * @param proprietaryIEPngAlphaFilterRequired	 *            True if PNG alpha channel support is available only by using a 'filter'.	 */	public void setProprietaryIEPngAlphaFilterRequired(boolean proprietaryIEPngAlphaFilterRequired)	{		this.proprietaryIEPngAlphaFilterRequired = proprietaryIEPngAlphaFilterRequired;	}	/**	 * @param quirkCssBackgroundAttachmentUseFixed	 *            True if the 'fixed' attribute should be used to for fixed-to-element background	 *            attachment.	 */	public void setQuirkCssBackgroundAttachmentUseFixed(boolean quirkCssBackgroundAttachmentUseFixed)	{		this.quirkCssBackgroundAttachmentUseFixed = quirkCssBackgroundAttachmentUseFixed;	}	/**	 * @param quirkCssBorderCollapseFor0Padding	 *            True if the only means of achieving 0 padding in table cells is to use 0px	 *            padding.	 */	public void setQuirkCssBorderCollapseFor0Padding(boolean quirkCssBorderCollapseFor0Padding)	{		this.quirkCssBorderCollapseFor0Padding = quirkCssBorderCollapseFor0Padding;	}	/**	 * @param quirkCssBorderCollapseInside	 *            True if the client will incorrectly render CSS collapsed borders such that they	 *            reside entirely within the region of a component.	 */	public void setQuirkCssBorderCollapseInside(boolean quirkCssBorderCollapseInside)	{		this.quirkCssBorderCollapseInside = quirkCssBorderCollapseInside;	}	/**	 * @param quirkCssPositioningOneSideOnly	 *            True if CSS positioning values do not work correctly when either both "top" and	 *            "bottom" or "left" and "right" positions are set at the same time.	 */	public void setQuirkCssPositioningOneSideOnly(boolean quirkCssPositioningOneSideOnly)	{		this.quirkCssPositioningOneSideOnly = quirkCssPositioningOneSideOnly;	}	/**	 * @param quirkIERepaint	 *            True if means needs to be taken against weird Internet Explorer repaint behaviors.	 */	public void setQuirkIERepaint(boolean quirkIERepaint)	{		this.quirkIERepaint = quirkIERepaint;	}	/**	 * @param quirkIESelectListDomUpdate	 *            True if listbox-style select fields cannot be reliably manipulated using the	 *            client DOM API.	 */	public void setQuirkIESelectListDomUpdate(boolean quirkIESelectListDomUpdate)	{		this.quirkIESelectListDomUpdate = quirkIESelectListDomUpdate;	}	/**	 * @param quirkIESelectPercentWidth	 *            True if select fields with percentage widths are not reliably rendered.	 */	public void setQuirkIESelectPercentWidth(boolean quirkIESelectPercentWidth)	{		this.quirkIESelectPercentWidth = quirkIESelectPercentWidth;	}	/**	 * @param quirkIESelectZIndex	 *            True if the browser do not render correctly with regard to z-index value.	 */	public void setQuirkIESelectZIndex(boolean quirkIESelectZIndex)	{		this.quirkIESelectZIndex = quirkIESelectZIndex;	}	/**	 * @param quirkIETablePercentWidthScrollbarError	 *            True if incorrect calculation of 100% table widths when within a vertically	 *            scrolling region.	 */	public void setQuirkIETablePercentWidthScrollbarError(			boolean quirkIETablePercentWidthScrollbarError)	{		this.quirkIETablePercentWidthScrollbarError = quirkIETablePercentWidthScrollbarError;	}	/**	 * @param quirkIETextareaNewlineObliteration	 *            True if the browser has incorrect parsing of newlines in the content of a	 *            'textarea'.	 */	public void setQuirkIETextareaNewlineObliteration(boolean quirkIETextareaNewlineObliteration)	{		this.quirkIETextareaNewlineObliteration = quirkIETextareaNewlineObliteration;	}	/**	 * @param quirkMozillaPerformanceLargeDomRemove	 *            True if the client has poor performance when attempting to remove large element	 *            hierarchies from a DOM.	 */	public void setQuirkMozillaPerformanceLargeDomRemove(			boolean quirkMozillaPerformanceLargeDomRemove)	{		this.quirkMozillaPerformanceLargeDomRemove = quirkMozillaPerformanceLargeDomRemove;	}	/**	 * @param quirkMozillaTextInputRepaint	 *            True if the text contained within text input fields may be drawn outside of text	 *            input component due to the component having shifted its location on the page.	 */	public void setQuirkMozillaTextInputRepaint(boolean quirkMozillaTextInputRepaint)	{		this.quirkMozillaTextInputRepaint = quirkMozillaTextInputRepaint;	}	/**	 * @param remoteAddress	 *            The client's remote/ip address.	 */	public void setRemoteAddress(String remoteAddress)	{		this.remoteAddress = remoteAddress;	}	/**	 * @param screenColorDepth	 *            Color depth of the screen in bits (integer).	 */	public void setScreenColorDepth(int screenColorDepth)	{		this.screenColorDepth = screenColorDepth;	}	/**	 * @param screenHeight	 *            Height of the screen in pixels (integer).	 */	public void setScreenHeight(int screenHeight)	{		this.screenHeight = screenHeight;	}	/**	 * @param screenWidth	 *            Height of the screen in pixels (integer).	 */	public void setScreenWidth(int screenWidth)	{		this.screenWidth = screenWidth;	}	/**	 * Sets time zone.	 * 	 * @param timeZone	 */	public void setTimeZone(TimeZone timeZone)	{		this.timeZone = timeZone;	}	/**	 * @param utcDSTOffset	 */	public void setUtcDSTOffset(String utcDSTOffset)	{		this.utcDSTOffset = utcDSTOffset;	}	/**	 * @param utcOffset	 *            The client's time offset from UTC in minutes (note: if you do this yourself, use	 *            'new Date().getTimezoneOffset() / -60' (note the -)).	 */	public void setUtcOffset(String utcOffset)	{		this.utcOffset = utcOffset;	}	public String toString()	{		StringBuffer b = new StringBuffer();		Field[] fields = ClientProperties.class.getDeclaredFields();		for (int i = 0; i < fields.length; i++)		{			Field field = fields[i];			// Ignore these fields			if (field.getName().equals("serialVersionUID") == false &&					field.getName().startsWith("class$") == false &&					field.getName().startsWith("timeZone") == false)			{				field.setAccessible(true);				Object value = null;				try				{					value = field.get(this);				}				catch (IllegalArgumentException e)				{					throw new RuntimeException(e);				}				catch (IllegalAccessException e)				{					throw new RuntimeException(e);				}				if (field.getType().equals(Integer.TYPE))				{					if (((Integer)value).intValue() == -1)					{						value = null;					}				}				if (value != null)				{					b.append(field.getName());					b.append("=");					b.append(value);					b.append("\n");				}			}		}		return b.toString();	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -