Java Doc for ClientProperties.java in  » Ajax » NextApp-Echo2 » nextapp » echo2 » webrender » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » NextApp Echo2 » nextapp.echo2.webrender 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   nextapp.echo2.webrender.ClientProperties

ClientProperties
public class ClientProperties implements Serializable(Code)
A description of the client browser environment.


Field Summary
final public static  StringBROWSER_INTERNET_EXPLORER
     Flag indicating that the browser is a derivative of the Microsoft Internet Explorer browser platform.
final public static  StringBROWSER_KONQUEROR
     Flag indicating that the browser is a derivative of the KDE Konqueror browser platform.
final public static  StringBROWSER_MOZILLA
     Flag indicating that the browser is a derivative of the Mozilla 1.0-1.8+ browser platform.
final public static  StringBROWSER_MOZILLA_FIREFOX
     Flag indicating that the browser is a derivative of the Mozilla Firefox 1.0+ browser platform.
final public static  StringBROWSER_OPERA
     Flag indicating that the browser is a derivative of the Opera browser platform.
final public static  StringBROWSER_SAFARI
     Flag indicating that the browser is a derivative of the Apple Safari browser platform.
final public static  StringBROWSER_VERSION_MAJOR
     The major version number of the browser.
final public static  StringBROWSER_VERSION_MINOR
     The minor version number of the browser.
final public static  StringLOCALES
     The Locale of the client, derived from the language property.
final public static  StringNAVIGATOR_APP_CODE_NAME
     The client's navigator.appCodeName property.
final public static  StringNAVIGATOR_APP_NAME
     The client's navigator.appName property.
final public static  StringNAVIGATOR_APP_VERSION
     The client's navigator.appVersion property.
final public static  StringNAVIGATOR_COOKIE_ENABLED
     The client's navigator.cookieEnabled property.
final public static  StringNAVIGATOR_JAVA_ENABLED
     The client's navigator.javaEnabled property.
final public static  StringNAVIGATOR_LANGUAGE
     The client's navigator.language (or navigator.userLanguage) property.
final public static  StringNAVIGATOR_PLATFORM
     The client's navigator.platform property.
final public static  StringNAVIGATOR_USER_AGENT
     The client's navigator.userAgent property.
final public static  StringNOT_SUPPORTED_CSS_MANIPULATION
     An unsupported feature flag indicating that manipulating CSS stylesheets is not supported by the browser (using add/insert rule).
final public static  StringNOT_SUPPORTED_CSS_OPACITY
     An unsupported feature flag indicating that CSS opacity effects are not supported.
final public static  StringPROPRIETARY_EVENT_MOUSE_ENTER_LEAVE_SUPPORTED
     A proprietary feature flag indicating that 'mouseenter' and 'mouseleave' events are supported.
final public static  StringPROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED
     A proprietary feature flag indicating support for IE-style CSS expressions.
final public static  StringPROPRIETARY_IE_OPACITY_FILTER_REQUIRED
     A proprietary feature flag indicating that CSS opacity support is available only by using a 'filter'.
final public static  StringPROPRIETARY_IE_PNG_ALPHA_FILTER_REQUIRED
     A proprietary feature flag indicating that PNG alpha channel support is available only by using a 'filter'.
final public static  StringQUIRK_CSS_BACKGROUND_ATTACHMENT_USE_FIXED
     A quirk flag indicating that the 'fixed' attribute should be used to for fixed-to-element background attachment.
final public static  StringQUIRK_CSS_BORDER_COLLAPSE_FOR_0_PADDING
     A quirk flag indicating the only means of achieving 0 padding in table cells is to use 0px padding.
final public static  StringQUIRK_CSS_BORDER_COLLAPSE_INSIDE
     A quirk flag indicating whether the client will incorrectly render CSS collapsed borders such that they reside entirely within the region of a component.
final public static  StringQUIRK_CSS_POSITIONING_ONE_SIDE_ONLY
     A quirk flag indicating that CSS positioning values do not work correctly when either both "top" and "bottom" or "left" and "right" positions are set at the same time.
final public static  StringQUIRK_IE_REPAINT
     A quirk flag describing the curious repaint behavior found in Internet Explorer 6, where repaints may be excessively delayed.
final public static  StringQUIRK_IE_SELECT_LIST_DOM_UPDATE
     A quirk flag indicating that listbox-style select fields cannot be reliably manipulated using the client DOM API.
final public static  StringQUIRK_IE_SELECT_PERCENT_WIDTH
     A quirk flag indicating that select fields with percentage widths are not reliably rendered.
final public static  StringQUIRK_IE_SELECT_Z_INDEX
     A quirk flag describing the issue of "windowed" select fields in Internet Explorer, which do not render correctly with regard to z-index value.
final public static  StringQUIRK_IE_TABLE_PERCENT_WIDTH_SCROLLBAR_ERROR
     A quirk flag indicating incorrect calculation of 100% table widths when within a vertically scrolling region.
final public static  StringQUIRK_IE_TEXTAREA_NEWLINE_OBLITERATION
     A quirk flag indicating the incorrect parsing of newlines in the content of a 'textarea'.

This quirk occurs with:

  • Internet Explorer 6 (Windows)
This a more specific version of QUIRK_TEXTAREA_CONTENT.
final public static  StringQUIRK_MOZILLA_PERFORMANCE_LARGE_DOM_REMOVE
     A quirk flag indicating whether the client has poor performance when attempting to remove large element hierarchies from a DOM.
final public static  StringQUIRK_MOZILLA_TEXT_INPUT_REPAINT
     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.
final public static  StringQUIRK_OPERA_NO_CSS_TEXT
     A quirk flag describing an Opera-specific issue where the CSSStyleDeclaration.cssText property is unsupported.
final public static  StringQUIRK_SELECT_REQUIRES_NULL_OPTION
     A quirk flag describing a behavior where a specific "null" option be must be added to a drop-down-list-style SELECT element in order to to render a "no items selected" state.
final public static  StringQUIRK_TEXTAREA_CONTENT
     A quirk flag describing various issues with rendering content in TEXTAREA elements.
final public static  StringREMOTE_HOST
     The client host.
final public static  StringSCREEN_COLOR_DEPTH
     Color depth of the screen in bits (integer).
final public static  StringSCREEN_HEIGHT
     Height of the screen in pixels (integer).
final public static  StringSCREEN_WIDTH
     Width of the screen in pixels (integer).
final public static  StringUTC_OFFSET
     The client's time offset from UTC in minutes.

Constructor Summary
public  ClientProperties()
     Creates a new ClientProperties object.

Method Summary
public  Objectget(String propertyName)
     Returns the value of the specified property as an Object.
public  booleangetBoolean(String propertyName)
     Returns a boolean property.
public  intgetInt(String propertyName, int nullValue)
     Returns a int property.
public  String[]getPropertyNames()
     Returns an array of all property names which are set.
public  StringgetString(String propertyName)
     Returns a String property.
public  voidsetProperty(String propertyName, Object propertyValue)
     Sets the value of the specified property.
public  StringtoString()
    

Field Detail
BROWSER_INTERNET_EXPLORER
final public static String BROWSER_INTERNET_EXPLORER(Code)
Flag indicating that the browser is a derivative of the Microsoft Internet Explorer browser platform.



BROWSER_KONQUEROR
final public static String BROWSER_KONQUEROR(Code)
Flag indicating that the browser is a derivative of the KDE Konqueror browser platform.



BROWSER_MOZILLA
final public static String BROWSER_MOZILLA(Code)
Flag indicating that the browser is a derivative of the Mozilla 1.0-1.8+ browser platform.



BROWSER_MOZILLA_FIREFOX
final public static String BROWSER_MOZILLA_FIREFOX(Code)
Flag indicating that the browser is a derivative of the Mozilla Firefox 1.0+ browser platform.



BROWSER_OPERA
final public static String BROWSER_OPERA(Code)
Flag indicating that the browser is a derivative of the Opera browser platform.



BROWSER_SAFARI
final public static String BROWSER_SAFARI(Code)
Flag indicating that the browser is a derivative of the Apple Safari browser platform.



BROWSER_VERSION_MAJOR
final public static String BROWSER_VERSION_MAJOR(Code)
The major version number of the browser.



BROWSER_VERSION_MINOR
final public static String BROWSER_VERSION_MINOR(Code)
The minor version number of the browser.



LOCALES
final public static String LOCALES(Code)
The Locale of the client, derived from the language property.



NAVIGATOR_APP_CODE_NAME
final public static String NAVIGATOR_APP_CODE_NAME(Code)
The client's navigator.appCodeName property.



NAVIGATOR_APP_NAME
final public static String NAVIGATOR_APP_NAME(Code)
The client's navigator.appName property.



NAVIGATOR_APP_VERSION
final public static String NAVIGATOR_APP_VERSION(Code)
The client's navigator.appVersion property.



NAVIGATOR_COOKIE_ENABLED
final public static String NAVIGATOR_COOKIE_ENABLED(Code)
The client's navigator.cookieEnabled property.



NAVIGATOR_JAVA_ENABLED
final public static String NAVIGATOR_JAVA_ENABLED(Code)
The client's navigator.javaEnabled property.



NAVIGATOR_LANGUAGE
final public static String NAVIGATOR_LANGUAGE(Code)
The client's navigator.language (or navigator.userLanguage) property.



NAVIGATOR_PLATFORM
final public static String NAVIGATOR_PLATFORM(Code)
The client's navigator.platform property.



NAVIGATOR_USER_AGENT
final public static String NAVIGATOR_USER_AGENT(Code)
The client's navigator.userAgent property.



NOT_SUPPORTED_CSS_MANIPULATION
final public static String NOT_SUPPORTED_CSS_MANIPULATION(Code)
An unsupported feature flag indicating that manipulating CSS stylesheets is not supported by the browser (using add/insert rule).

This issue occurs with:

  • Safari (verified)
  • KHTML (assumed)



NOT_SUPPORTED_CSS_OPACITY
final public static String NOT_SUPPORTED_CSS_OPACITY(Code)
An unsupported feature flag indicating that CSS opacity effects are not supported.

This issue occurs with:

  • Opera



PROPRIETARY_EVENT_MOUSE_ENTER_LEAVE_SUPPORTED
final public static String PROPRIETARY_EVENT_MOUSE_ENTER_LEAVE_SUPPORTED(Code)
A proprietary feature flag indicating that 'mouseenter' and 'mouseleave' events are supported.

This proprietary feature is provided by:

  • Internet Explorer 6 (Windows)



PROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED
final public static String PROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED(Code)
A proprietary feature flag indicating support for IE-style CSS expressions.

This proprietary feature is provided by:

  • Internet Explorer 6 (Windows)



PROPRIETARY_IE_OPACITY_FILTER_REQUIRED
final public static String PROPRIETARY_IE_OPACITY_FILTER_REQUIRED(Code)
A proprietary feature flag indicating that CSS opacity support is available only by using a 'filter'.

This proprietary feature is provided by:

  • Internet Explorer 6 (Windows)



PROPRIETARY_IE_PNG_ALPHA_FILTER_REQUIRED
final public static String PROPRIETARY_IE_PNG_ALPHA_FILTER_REQUIRED(Code)
A proprietary feature flag indicating that PNG alpha channel support is available only by using a 'filter'.

This proprietary feature is provided by:

  • Internet Explorer 6 (Windows) [Not neccesary with IE7 Beta 2 Refresh]



QUIRK_CSS_BACKGROUND_ATTACHMENT_USE_FIXED
final public static String QUIRK_CSS_BACKGROUND_ATTACHMENT_USE_FIXED(Code)
A quirk flag indicating that the 'fixed' attribute should be used to for fixed-to-element background attachment.

This quirk occurs with:

  • Internet Explorer 6 (Windows) [Corrected in IE7 Beta 2 Refresh]



QUIRK_CSS_BORDER_COLLAPSE_FOR_0_PADDING
final public static String QUIRK_CSS_BORDER_COLLAPSE_FOR_0_PADDING(Code)
A quirk flag indicating the only means of achieving 0 padding in table cells is to use 0px padding.

This quirk occurs with:

  • Internet Explorer 6 (Windows)



QUIRK_CSS_BORDER_COLLAPSE_INSIDE
final public static String QUIRK_CSS_BORDER_COLLAPSE_INSIDE(Code)
A quirk flag indicating whether the client will incorrectly render CSS collapsed borders such that they reside entirely within the region of a component.

This quirk occurs with:

  • Internet Explorer 6 (Windows)




QUIRK_CSS_POSITIONING_ONE_SIDE_ONLY
final public static String QUIRK_CSS_POSITIONING_ONE_SIDE_ONLY(Code)
A quirk flag indicating that CSS positioning values do not work correctly when either both "top" and "bottom" or "left" and "right" positions are set at the same time.

This quirk occurs with:

  • Internet Explorer 6 (Windows) [Corrected in IE7 Beta 2 Refresh]



QUIRK_IE_REPAINT
final public static String QUIRK_IE_REPAINT(Code)
A quirk flag describing the curious repaint behavior found in Internet Explorer 6, where repaints may be excessively delayed. This quirky behavior is most visible when the DOM hierarchy is large and complex. The unlikely workaround for this quirky behavior is to "tickle" (adjust and then reset) the CSS width of an element, which will force an immediate repaint.

This quirk occurs with:

  • Internet Explorer 6 (Windows)



QUIRK_IE_SELECT_LIST_DOM_UPDATE
final public static String QUIRK_IE_SELECT_LIST_DOM_UPDATE(Code)
A quirk flag indicating that listbox-style select fields cannot be reliably manipulated using the client DOM API.

This quirk occurs with:

  • Internet Explorer 6 (Windows)



QUIRK_IE_SELECT_PERCENT_WIDTH
final public static String QUIRK_IE_SELECT_PERCENT_WIDTH(Code)
A quirk flag indicating that select fields with percentage widths are not reliably rendered.

This quirk occurs with:

  • Internet Explorer 6 (Windows)



QUIRK_IE_SELECT_Z_INDEX
final public static String QUIRK_IE_SELECT_Z_INDEX(Code)
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.

This quirk occurs with:

  • Internet Explorer 6 (Windows) [Corrected in IE7 Beta 2 Refresh]



QUIRK_IE_TABLE_PERCENT_WIDTH_SCROLLBAR_ERROR
final public static String QUIRK_IE_TABLE_PERCENT_WIDTH_SCROLLBAR_ERROR(Code)
A quirk flag indicating incorrect calculation of 100% table widths when within a vertically scrolling region.

This quirk occurs with:

  • Internet Explorer 6 (Windows)



QUIRK_IE_TEXTAREA_NEWLINE_OBLITERATION
final public static String QUIRK_IE_TEXTAREA_NEWLINE_OBLITERATION(Code)
A quirk flag indicating the incorrect parsing of newlines in the content of a 'textarea'.

This quirk occurs with:

  • Internet Explorer 6 (Windows)
This a more specific version of QUIRK_TEXTAREA_CONTENT. Now that it has been discovered that Opera has similar issues, QUIRK_TEXTAREA_CONTENT should be used instead.



QUIRK_MOZILLA_PERFORMANCE_LARGE_DOM_REMOVE
final public static String QUIRK_MOZILLA_PERFORMANCE_LARGE_DOM_REMOVE(Code)
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.

This quirk occurs with:

  • Mozilla (all platforms)
  • Mozilla Firefox ((all platforms)



QUIRK_MOZILLA_TEXT_INPUT_REPAINT
final public static String QUIRK_MOZILLA_TEXT_INPUT_REPAINT(Code)
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.

This quirk occurs with:

  • Mozilla (all platforms)
  • Mozilla Firefox ((all platforms)



QUIRK_OPERA_NO_CSS_TEXT
final public static String QUIRK_OPERA_NO_CSS_TEXT(Code)
A quirk flag describing an Opera-specific issue where the CSSStyleDeclaration.cssText property is unsupported.

This quirk occurs with:

  • Opera



QUIRK_SELECT_REQUIRES_NULL_OPTION
final public static String QUIRK_SELECT_REQUIRES_NULL_OPTION(Code)
A quirk flag describing a behavior where a specific "null" option be must be added to a drop-down-list-style SELECT element in order to to render a "no items selected" state.

This quirk occurs with:

  • Mozilla (all platforms)
  • Mozilla Firefox ((all platforms)



QUIRK_TEXTAREA_CONTENT
final public static String QUIRK_TEXTAREA_CONTENT(Code)
A quirk flag describing various issues with rendering content in TEXTAREA elements. This quirk includes IE problems with "newline obliteration", and Opera8 problems with simply ignoring textarea content with importNode().

This quirk occurs with:

  • Internet Explorer 6 (Windows)
  • Opera 8 (Linux and Windows Tested, assuming all))



REMOTE_HOST
final public static String REMOTE_HOST(Code)
The client host. Note this is the original host address used when the ClientProperties object was created, which is not necessarily the same as that making the current HTTP request.



SCREEN_COLOR_DEPTH
final public static String SCREEN_COLOR_DEPTH(Code)
Color depth of the screen in bits (integer).



SCREEN_HEIGHT
final public static String SCREEN_HEIGHT(Code)
Height of the screen in pixels (integer).



SCREEN_WIDTH
final public static String SCREEN_WIDTH(Code)
Width of the screen in pixels (integer).



UTC_OFFSET
final public static String UTC_OFFSET(Code)
The client's time offset from UTC in minutes.




Constructor Detail
ClientProperties
public ClientProperties()(Code)
Creates a new ClientProperties object.




Method Detail
get
public Object get(String propertyName)(Code)
Returns the value of the specified property as an Object.
Parameters:
  propertyName - the property name the property value



getBoolean
public boolean getBoolean(String propertyName)(Code)
Returns a boolean property. If the property is not set, false is returned.
Parameters:
  propertyName - the property name the property value



getInt
public int getInt(String propertyName, int nullValue)(Code)
Returns a int property. If the property is not set, nullValue is returned.
Parameters:
  propertyName - the property name
Parameters:
  nullValue - the returned value when the property is not set the property value



getPropertyNames
public String[] getPropertyNames()(Code)
Returns an array of all property names which are set. the array



getString
public String getString(String propertyName)(Code)
Returns a String property. If the property is not set, null is returned.
Parameters:
  propertyName - the property name the property value



setProperty
public void setProperty(String propertyName, Object propertyValue)(Code)
Sets the value of the specified property.
Parameters:
  propertyName - the property name
Parameters:
  propertyValue - the property value



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.