|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.webrender.ClientProperties
public class ClientProperties
A description of the client browser environment.
| Field Summary | |
|---|---|
static java.lang.String |
BROWSER_INTERNET_EXPLORER
Flag indicating that the browser is a derivative of the Microsoft Internet Explorer browser platform. |
static java.lang.String |
BROWSER_KONQUEROR
Flag indicating that the browser is a derivative of the KDE Konqueror browser platform. |
static java.lang.String |
BROWSER_MOZILLA
Flag indicating that the browser is a derivative of the Mozilla 1.0-1.8+ browser platform. |
static java.lang.String |
BROWSER_MOZILLA_FIREFOX
Flag indicating that the browser is a derivative of the Mozilla Firefox 1.0+ browser platform. |
static java.lang.String |
BROWSER_OPERA
Flag indicating that the browser is a derivative of the Opera browser platform. |
static java.lang.String |
BROWSER_SAFARI
Flag indicating that the browser is a derivative of the Apple Safari browser platform. |
static java.lang.String |
BROWSER_VERSION_MAJOR
The major version number of the browser. |
static java.lang.String |
BROWSER_VERSION_MINOR
The minor version number of the browser. |
static java.lang.String |
LOCALES
The Locale of the client, derived from the language property. |
static java.lang.String |
NAVIGATOR_APP_CODE_NAME
The client's navigator.appCodeName property. |
static java.lang.String |
NAVIGATOR_APP_NAME
The client's navigator.appName property. |
static java.lang.String |
NAVIGATOR_APP_VERSION
The client's navigator.appVersion property. |
static java.lang.String |
NAVIGATOR_COOKIE_ENABLED
The client's navigator.cookieEnabled property. |
static java.lang.String |
NAVIGATOR_JAVA_ENABLED
The client's navigator.javaEnabled property. |
static java.lang.String |
NAVIGATOR_LANGUAGE
The client's navigator.language (or navigator.userLanguage) property. |
static java.lang.String |
NAVIGATOR_PLATFORM
The client's navigator.platform property. |
static java.lang.String |
NAVIGATOR_USER_AGENT
The client's navigator.userAgent property. |
static java.lang.String |
PROPRIETARY_EVENT_MOUSE_ENTER_LEAVE_SUPPORTED
A proprietary feature flag indicating that 'mouseenter' and 'mouseleave' events are supported. |
static java.lang.String |
PROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED
A proprietary feature flag indicating support for IE-style CSS expressions. |
static java.lang.String |
PROPRIETARY_IE_PNG_ALPHA_FILTER_REQUIRED
A proprietary feature flag indicating that PNG alpha channel support is available only by using a 'filter'. |
static java.lang.String |
QUIRK_CSS_BACKGROUND_ATTACHMENT_USE_FIXED
A quirk flag indicating that the 'fixed' attribute should be used to for fixed-to-element background attachment. |
static java.lang.String |
QUIRK_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. |
static java.lang.String |
QUIRK_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. |
static java.lang.String |
QUIRK_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. |
static java.lang.String |
QUIRK_IE_REPAINT
A quirk flag describing the curious repaint behavior found in Internet Explorer 6, where repaints may be excessively delayed. |
static java.lang.String |
QUIRK_IE_SELECT_LIST_DOM_UPDATE
A quirk flag indicating that listbox-style select fields cannot be reliably manipulated using the client DOM API. |
static java.lang.String |
QUIRK_IE_SELECT_PERCENT_WIDTH
A quirk flag indicating that select fields with percentage widths are not reliably rendered. |
static java.lang.String |
QUIRK_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. |
static java.lang.String |
QUIRK_IE_TABLE_PERCENT_WIDTH_SCROLLBAR_ERROR
A quirk flag indicating incorrect calculation of 100% table widths when within a vertically scrolling region. |
static java.lang.String |
QUIRK_IE_TEXTAREA_NEWLINE_OBLITERATION
A quirk flag indicating the incorrect parsing of newlines in the content of a 'textarea'. |
static java.lang.String |
QUIRK_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. |
static java.lang.String |
QUIRK_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. |
static java.lang.String |
QUIRK_OPERA_NO_CSS_TEXT
A quirk flag describing an Opera-specific issue where the CSSStyleDeclaration.cssText property is unsupported. |
static java.lang.String |
QUIRK_TEXTAREA_CONTENT
A quirk flag describing various issues with rendering content in TEXTAREA elements. |
static java.lang.String |
REMOTE_HOST
The client host. |
static java.lang.String |
SCREEN_COLOR_DEPTH
Color depth of the screen in bits (integer). |
static java.lang.String |
SCREEN_HEIGHT
Height of the screen in pixels (integer). |
static java.lang.String |
SCREEN_WIDTH
Width of the screen in pixels (integer). |
static java.lang.String |
UTC_OFFSET
The client's time offset from UTC in minutes. |
static java.lang.String |
WINDOW_HEIGHT
Height of the window in pixels (integer). |
static java.lang.String |
WINDOW_WIDTH
Width of the window in pixels (integer). |
| Constructor Summary | |
|---|---|
ClientProperties()
Creates a new ClientProperties object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
get(java.lang.String propertyName)
Returns the value of the specified property as an Object. |
boolean |
getBoolean(java.lang.String propertyName)
Returns a boolean property. |
int |
getInt(java.lang.String propertyName,
int nullValue)
Returns a int property. |
java.lang.String[] |
getPropertyNames()
Returns an array of all property names which are set. |
java.lang.String |
getString(java.lang.String propertyName)
Returns a String property. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Sets the value of the specified property. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String QUIRK_CSS_POSITIONING_ONE_SIDE_ONLY
This quirk occurs with:
public static final java.lang.String QUIRK_CSS_BORDER_COLLAPSE_FOR_0_PADDING
This quirk occurs with:
public static final java.lang.String QUIRK_CSS_BORDER_COLLAPSE_INSIDE
This quirk occurs with:
public static final java.lang.String QUIRK_CSS_BACKGROUND_ATTACHMENT_USE_FIXED
This quirk occurs with:
public static final java.lang.String QUIRK_MOZILLA_PERFORMANCE_LARGE_DOM_REMOVE
This quirk occurs with:
public static final java.lang.String QUIRK_MOZILLA_TEXT_INPUT_REPAINT
This quirk occurs with:
public static final java.lang.String QUIRK_OPERA_NO_CSS_TEXT
This quirk occurs with:
public static final java.lang.String QUIRK_IE_SELECT_Z_INDEX
This quirk occurs with:
public static final java.lang.String QUIRK_TEXTAREA_CONTENT
This quirk occurs with:
public static final java.lang.String QUIRK_IE_TEXTAREA_NEWLINE_OBLITERATION
This quirk occurs with:
QUIRK_TEXTAREA_CONTENT. Now that it has been
discovered that Opera has similar issues, QUIRK_TEXTAREA_CONTENT should be used
instead.
public static final java.lang.String QUIRK_IE_REPAINT
This quirk occurs with:
public static final java.lang.String QUIRK_IE_TABLE_PERCENT_WIDTH_SCROLLBAR_ERROR
This quirk occurs with:
public static final java.lang.String QUIRK_IE_SELECT_LIST_DOM_UPDATE
This quirk occurs with:
public static final java.lang.String QUIRK_IE_SELECT_PERCENT_WIDTH
This quirk occurs with:
public static final java.lang.String PROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED
This proprietary feature is provided by:
public static final java.lang.String PROPRIETARY_IE_PNG_ALPHA_FILTER_REQUIRED
This proprietary feature is provided by:
public static final java.lang.String PROPRIETARY_EVENT_MOUSE_ENTER_LEAVE_SUPPORTED
This proprietary feature is provided by:
public static final java.lang.String SCREEN_WIDTH
public static final java.lang.String SCREEN_HEIGHT
public static final java.lang.String WINDOW_WIDTH
public static final java.lang.String WINDOW_HEIGHT
public static final java.lang.String SCREEN_COLOR_DEPTH
public static final java.lang.String BROWSER_MOZILLA
public static final java.lang.String BROWSER_MOZILLA_FIREFOX
public static final java.lang.String BROWSER_INTERNET_EXPLORER
public static final java.lang.String BROWSER_KONQUEROR
public static final java.lang.String BROWSER_SAFARI
public static final java.lang.String BROWSER_OPERA
public static final java.lang.String BROWSER_VERSION_MAJOR
public static final java.lang.String BROWSER_VERSION_MINOR
public static final java.lang.String LOCALES
Locale of the client, derived from the language property.
public static final java.lang.String NAVIGATOR_APP_NAME
public static final java.lang.String NAVIGATOR_APP_VERSION
public static final java.lang.String NAVIGATOR_APP_CODE_NAME
public static final java.lang.String NAVIGATOR_COOKIE_ENABLED
public static final java.lang.String NAVIGATOR_JAVA_ENABLED
public static final java.lang.String NAVIGATOR_LANGUAGE
public static final java.lang.String NAVIGATOR_PLATFORM
public static final java.lang.String NAVIGATOR_USER_AGENT
public static final java.lang.String REMOTE_HOST
ClientProperties object was created, which is not
necessarily the same as that making the current HTTP request.
public static final java.lang.String UTC_OFFSET
| Constructor Detail |
|---|
public ClientProperties()
ClientProperties object.
| Method Detail |
|---|
public java.lang.Object get(java.lang.String propertyName)
Object.
propertyName - the property name
public boolean getBoolean(java.lang.String propertyName)
boolean property.
If the property is not set, false is returned.
propertyName - the property name
public int getInt(java.lang.String propertyName,
int nullValue)
int property.
If the property is not set, nullValue is returned.
propertyName - the property namenullValue - the returned value when the property is not set
public java.lang.String getString(java.lang.String propertyName)
String property.
If the property is not set, null is returned.
propertyName - the property name
public java.lang.String[] getPropertyNames()
public void setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
propertyName - the property namepropertyValue - the property valuepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||