public abstract class ScriptDynamicPropObj extends Object
Constructor and Description |
---|
ScriptDynamicPropObj(int nXFAVersion,
int nAvailability) |
Modifier and Type | Method and Description |
---|---|
int |
getAvailability() |
int |
getXFAVersion() |
boolean |
hasGetter()
Determines whether getting this property is supported.
|
boolean |
hasSetter()
Determines whether setting this property is supported.
|
abstract boolean |
invokeGetProp(Obj scriptThis,
Arg retValue,
String sPropertyName) |
boolean |
invokePermsFunc(Obj scriptThis) |
boolean |
invokeSetProp(Obj scriptThis,
Arg propertyValue,
String sPropertyName) |
public ScriptDynamicPropObj(int nXFAVersion, int nAvailability)
public abstract boolean invokeGetProp(Obj scriptThis, Arg retValue, String sPropertyName)
public final boolean invokePermsFunc(Obj scriptThis)
public boolean hasGetter()
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.
true
if getting this property is supported.public boolean hasSetter()
Since most dynamic properties don't support set operations,
this returns false
by default. If a derived class
implements a settable property, it must override this method
to return true
.
true
if setting this property is supported.public final int getXFAVersion()
public final int getAvailability()
Copyright © 2010 - 2020 Adobe. All Rights Reserved