Home > Documentation >
Ephox EditLive! for Java JavaScript API > Ephox
EditLive! for Java JavaScript Reference Page
Ephox EditLive! for Java JavaScript Objects Reference Page
- Functions
-
- constructor*
This function is used to construct a new instance of the EditLive! for
Java applet. It accepts parameters to set the applet's name, width
and height.
- show*
Display the instance of EditLive! for Java within the web page.
- Properties
-
- setAutoSubmit
This property specifies the way in which Ephox EditLive! for Java behaves
when the page is submitted. This affects how content is retrieved from
EditLive! for Java.
- setBody
Set contents
for Ephox EditLive! for Java's document body, includes everything between the
<BODY></BODY> tags. This property is mutually exclusive
with the setDocument property.
- setCookie**
This property sets the name of the cookie to be used by EditLive! for Java.
- setDebugLevel
This property stipulates the level of debugging to be used when running
EditLive! for Java.
- setDocument
Set contents for EditLive! for Java document, includes
everything between the <HTML></HTML> tags. This
property is mutually exclusive with the setBody property.
- setDownloadDirectory**
Set the directory where the EditLive! for Java files can be found on the
server.
- setHead
This property sets the content of EditLive! for Java between the <HEAD>
tags.
- setJREDownloadURL
This property sets the location to download the required Java Runtime
Environment from if it is needed on the client machine. This
property can be used to specify a specific JRE for use with EditLive! for
Java.
- setLocalDeployment**
Set where to download the JRE from, if necessary.
- setLocale
Set the interface translation that EditLive! for Java is to use.
- setMinimumJREVersion
This property specifies the minimum version of the Java Runtime Environment
required to run EditLive! for Java. It should be noted that EditLive! for
Java should be used with JRE version 1.4.0 and above.
- setPreload
This property can be used when preloading EditLive! for Java. Once
EditLive! for Java has finished loading the JavaScript function defined by the setPreload
property is used as a callback.
- setReturnBodyOnly
Set if the body or the entire document should be returned from the
onSubmit function. By default the body will be returned.
- setShowSystemRequirementsError
This property specifies the way in which Ephox EditLive! for Java reacts when
a client machine does not match the system requirements needed to run EditLive!
for Java.
- setStyles
Set style rules to be included in the STYLE element
within the HEAD of the EditLive! for Java document.
- setUseWebDAV
This property specifies whether the EditLive! for Java should make its
WebDAV functionality available to users.
- setXML***
Set the text of the configuration file to be used for this
instance of EditLive! for Java. Used for dynamic XML
configuration of EditLive! for Java.
- setXMLURL***
Set the URL of the configuration file to be used for this
instance of EditLive! for Java.
* This method must be invoked to create an instance of EditLive! for Java.
** This property is required to be set by any Ephox EditLive!
for Java instance object.
*** Exactly one of these properties is required to be set by any EditLive! for Java instance object. Use either configurationText or
configurationFile to set the configuration information (but not both).
Copyright © 2001-2004 Ephox Corporation. All
Rights Reserved.