XFA4J

com.adobe.xfa.scripthandler.rhino
Class LiveComponent

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.adobe.xfa.scripthandler.rhino.LiveComponent
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class LiveComponent
extends org.mozilla.javascript.ScriptableObject

A class to implement naked references in JavaScript. This class is a proxy for all naked references in XFA.

Instances of this class are registered as global objects such that any naked reference, including JavaScript variables, is first processed by the get method of this class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
LiveComponent(RhinoScriptHandler handler, Obj xfaObject)
          Instantiates a LiveComponent object.
 
Method Summary
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveComponent

public LiveComponent(RhinoScriptHandler handler,
                     Obj xfaObject)
Instantiates a LiveComponent object. The lone constructor used by this package to create instances of this class.

Parameters:
handler - a Rhino script handler.
xfaObject - the XFA object associated with this component. Typically this is the application model.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.