2004.04.29


com.jdc.gui.js
Interface JavaScript


public interface JavaScript

The JavaScript interface contains constants for JavaScript values passed to the HttpModel class via the HttpServletRequest parameters. used by other HTTP Model-View-Controller classes. When an HTTP client, i.e. a browser, sends a request to the server, that client may include the JavaScript, i.e. BrowserSensing.js, and JavaServer Page, i.e. BrowserSensing.jsp, that passes these JavaScript values to the server is as request parameters. These values provide information regarding the user's environment to the the application and may be useful in determining how to display a page to the user, e.g. the JavaScript code required by the user's browser, the type of image to display, etc.

Version:
1.0
Author:
Jay Damon
See Also:
JavaScript Environment Variables.

Field Summary
static String APP_NAME
          The request parameter name that specifies the full name of the browser.
static String APP_VERSION
          The request parameter name that specifies the full version information for the browser, including browser version number, compatibility information, and operating system..
static String AVAILABLE_DISPLAY_HEIGHT
          The request parameter name that specifies the available height of the display, i.e.
static String AVAILABLE_DISPLAY_WIDTH
          The request parameter name that specifies the available width of the display, i.e.
static String COLOR_DEPTH
          The request parameter name that specifies the color depth of the display in bits.
static String COOKIES_ENABLED
          The request parameter name that specifies whether the user has cookies enabled (or disabled).
static String DISPLAY_HEIGHT
          The request parameter name that specifies the height of the display, i.e.
static String DISPLAY_WIDTH
          The request parameter name that specifies the width of the display, i.e.
static String NUMBER_OF_COLORS
          The request parameter name that specifies the number of colors that can be displayed.
static String PAGE_HEIGHT
          The request parameter name that specifies the height of the browser page in pixels, if available.
static String PAGE_TITLE
          The request parameter name that specifies the browser page title.
static String PAGE_URI
          The request parameter name that specifies the browser page URI (Uniform Resource Identifier).
static String PAGE_WIDTH
          The request parameter name that specifies the width of the browser page in pixels, if available.
static String RETURN
          The JavaScript function return keyword.
static String WINDOW_HEIGHT
          The request parameter name that specifies the the height of the browser window in pixels, if available.
static String WINDOW_WIDTH
          The request parameter name that specifies the width of the browser window in pixels, if available.
 

Field Detail

RETURN

public static final String RETURN
The JavaScript function return keyword.

See Also:
Constant Field Values

APP_NAME

public static final String APP_NAME
The request parameter name that specifies the full name of the browser.

See Also:
Constant Field Values

APP_VERSION

public static final String APP_VERSION
The request parameter name that specifies the full version information for the browser, including browser version number, compatibility information, and operating system..

See Also:
Constant Field Values

COOKIES_ENABLED

public static final String COOKIES_ENABLED
The request parameter name that specifies whether the user has cookies enabled (or disabled).

See Also:
Constant Field Values

DISPLAY_WIDTH

public static final String DISPLAY_WIDTH
The request parameter name that specifies the width of the display, i.e. screen, in pixels.

See Also:
Constant Field Values

DISPLAY_HEIGHT

public static final String DISPLAY_HEIGHT
The request parameter name that specifies the height of the display, i.e. screen, in pixels.

See Also:
Constant Field Values

AVAILABLE_DISPLAY_WIDTH

public static final String AVAILABLE_DISPLAY_WIDTH
The request parameter name that specifies the available width of the display, i.e. screen, in pixels.

See Also:
Constant Field Values

AVAILABLE_DISPLAY_HEIGHT

public static final String AVAILABLE_DISPLAY_HEIGHT
The request parameter name that specifies the available height of the display, i.e. screen, in pixels.

See Also:
Constant Field Values

COLOR_DEPTH

public static final String COLOR_DEPTH
The request parameter name that specifies the color depth of the display in bits.

See Also:
Constant Field Values

NUMBER_OF_COLORS

public static final String NUMBER_OF_COLORS
The request parameter name that specifies the number of colors that can be displayed.

See Also:
Constant Field Values

PAGE_URI

public static final String PAGE_URI
The request parameter name that specifies the browser page URI (Uniform Resource Identifier).

See Also:
Constant Field Values

PAGE_TITLE

public static final String PAGE_TITLE
The request parameter name that specifies the browser page title.

See Also:
Constant Field Values

PAGE_WIDTH

public static final String PAGE_WIDTH
The request parameter name that specifies the width of the browser page in pixels, if available.

See Also:
Constant Field Values

PAGE_HEIGHT

public static final String PAGE_HEIGHT
The request parameter name that specifies the height of the browser page in pixels, if available.

See Also:
Constant Field Values

WINDOW_WIDTH

public static final String WINDOW_WIDTH
The request parameter name that specifies the width of the browser window in pixels, if available.

See Also:
Constant Field Values

WINDOW_HEIGHT

public static final String WINDOW_HEIGHT
The request parameter name that specifies the the height of the browser window in pixels, if available.

See Also:
Constant Field Values

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.