|| At A Glance | About This Document | Class Description | Summaries | Properties | Methods | Events | System Properties | See Also ||


The HotJava Component Series

HotJava System State Bean


Class At A Glance

Class Name: HotJavaSystemState
Extends: Component
Implements: Externalizable

Purpose

Key Properties

Creation

Commonly Used Methods

About This Document

Audience

Table of Contents


Class Description

Overview

Security Internationalization Introspection

Summaries


Property Summary


Method Summary


Event Summary

As Source As Listener

Alphabetical Reference


Properties


Methods


Events

As Source As Listener

System Properties

Exposed to the User:

These system properties are exposed to the user to set. They control important aspects of the browser's functioning that a user might want to set for himself. All of the system properties listed below are also exposed in a property editor; this allows a developer to provide default values that the user can override.

http.proxyHost
Gives the hostname of the HTTP proxy, if there is one.
http.proxyPort
Gives the port number for the HTTP proxy
ftpProxySet
If true, indicates that an FTP proxy has been set
ftpProxyHost
Gives the hostname of the FTP proxy
ftpProxyPort
Gives the port number of the FTP proxy
gopherProxySet
If true, indicates that a gopher proxy has been set
gopherProxyHost
Gives the hostname of the gopher proxy
gopherProxyPort
Gives the port number of the gopher proxy
home.url
Ignored. This will be removed in a future release.
delayAppletLoading
If true, applets will not be loaded immediately. Instead, an image will be displayed; clicking on the image will load the applet.
delayImageLoading
If true, images won't be loaded immediately.
displayBackgroundImages
Setting this false will disable the display of background images.
user.language
The language used by the runtime to retrieve fonts. Must be set for non-English languages to display correctly.

Exposed to Developers:

These system properties are exposed via a property editor only to developers. They are in addition to the user properties listed in the previous section.

fonts.sizes
Gives a list of thirteen font sizes. These control the sizes of the fonts that HotJava uses to display HTML text.
hotjava.docfontsize
A number between -2 and 2, this acts as an offset into fonts.sizes. This is typically used to control display font size, with -2 meaning "very small", and 2 meaning "very large".
hotjava.docfont
The name of the font used to render HTML text.
hotjava.docbgcolor
Gives a default value for a document's background color, if the document doesn't specify it.
hotjava.curcolor
Gives the color of the cursor
hotjava.selcolor
Gives the color of selected text
hotjava.alttextcolor
Gives the color for HTML "alt" attribute text strings
hotjava.errorcolor
Gives a color for indicating errors
anchorStyle
Should we underline links?
http.agent
Sent by the browser on the User-Agent HTTP header
urlpool.expires
URLPool entries will expire after this many hours. This is what causes links to display as "visited."
hotjava.enableCookies
If true, the browser will accept HTTP cookies from remote sites.
hotjava.security.getInterFrameApplets
If set true, an applet in one frame will be able to access applets in another frame (but in the same codebase) via AppletContext.getApplets(). Most browsers disable this, and the default for HotJava is false.
trustProxy
If true, we will trust IP addresses that we can't resolve directly by ourselves.
package.restrict.access
Gives a list of package name prefixes that untrusted applets will not be able to access. It is crucial that you include any packages that your application puts on the CLASSPATH in this property. For example, if your code is in packages starting with "com.foo," but you also include components in the package "com.bar," you should set this property to "com.foo, com.bar." If you fail to do this, untrusted applets will be able to access any public data members of methods in your classes. If applets are allowed to define classes in your packages, they'll also be able to see package-private members. Be sure you set this property, and be sure that you include the prefixes of all CLASSPATH classes!
package.restrict.definition
Gives a list of package name prefixes that untrusted applets will not be able to define classes. Normally, this will be a superset of package.restrict.access. It is extremely important that you set this property, for reasons outlined under package.restrict.access.


See Also

Related Topics

|| At A Glance | About This Document | Class Description | Summaries | Properties | Methods | Events | System Properties | See Also ||

HotJava Components version 1.0