Package com.adobe.xfa
Class ScriptDynamicPropObj
java.lang.Object
com.adobe.xfa.ScriptDynamicPropObj
This class stores the definition of the methods used to set/get dynamic
properties for the XFA scripting interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intbooleanDetermines whether getting this property is supported.booleanDetermines whether setting this property is supported.abstract booleaninvokeGetProp(Obj scriptThis, Arg retValue, String sPropertyName) final booleaninvokePermsFunc(Obj scriptThis) booleaninvokeSetProp(Obj scriptThis, Arg propertyValue, String sPropertyName)
-
Constructor Details
-
ScriptDynamicPropObj
public ScriptDynamicPropObj(int nXFAVersion, int nAvailability)
-
-
Method Details
-
invokeGetProp
-
invokeSetProp
-
invokePermsFunc
-
hasGetter
public boolean hasGetter()Determines whether getting this property is supported.Since all dynamic properties currently support getting, this returns true. If the unusual case where a write-only property is implemented, this would have to be overridden to return false.
- Returns:
trueif getting this property is supported.
-
hasSetter
public boolean hasSetter()Determines whether setting this property is supported.Since most dynamic properties don't support set operations, this returns
falseby default. If a derived class implements a settable property, it must override this method to returntrue.- Returns:
trueif setting this property is supported.
-
getXFAVersion
public final int getXFAVersion() -
getAvailability
public final int getAvailability()
-