Package com.adobe.xfa
Class ScriptDynamicPropObj
- java.lang.Object
-
- com.adobe.xfa.ScriptDynamicPropObj
-
public abstract class ScriptDynamicPropObj extends java.lang.ObjectThis class stores the definition of the methods used to set/get dynamic properties for the XFA scripting interface.
-
-
Constructor Summary
Constructors Constructor Description ScriptDynamicPropObj(int nXFAVersion, int nAvailability)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetAvailability()intgetXFAVersion()booleanhasGetter()Determines whether getting this property is supported.booleanhasSetter()Determines whether setting this property is supported.abstract booleaninvokeGetProp(Obj scriptThis, Arg retValue, java.lang.String sPropertyName)booleaninvokePermsFunc(Obj scriptThis)booleaninvokeSetProp(Obj scriptThis, Arg propertyValue, java.lang.String sPropertyName)
-
-
-
Method Detail
-
invokeGetProp
public abstract boolean invokeGetProp(Obj scriptThis, Arg retValue, java.lang.String sPropertyName)
-
invokeSetProp
public boolean invokeSetProp(Obj scriptThis, Arg propertyValue, java.lang.String sPropertyName)
-
invokePermsFunc
public final boolean invokePermsFunc(Obj scriptThis)
-
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()
-
-