PictureScript.java
1.02 KB
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.template.formatting;
import com.adobe.xfa.Arg;
import com.adobe.xfa.Obj;
import com.adobe.xfa.ProtoableNodeScript;
import com.adobe.xfa.ScriptFuncObj;
import com.adobe.xfa.ScriptPropObj;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.template.formatting.Picture;
public class PictureScript
extends ProtoableNodeScript {
protected static final ScriptTable moScriptTable = new ScriptTable(ProtoableNodeScript.moScriptTable, "picture", new ScriptPropObj[]{new ScriptPropObj(PictureScript.class, "value", "getValue", "setValue", 6, 10, 9, 0), new ScriptPropObj(PictureScript.class, null, "getValue", "setValue", 6, 10, 9, 0)}, null);
public static ScriptTable getScriptTable() {
return moScriptTable;
}
public static void getValue(Obj pObj, Arg oRetVal) {
oRetVal.setString(((Picture)pObj).getValue());
}
public static void setValue(Obj pObj, Arg propertyValue) {
((Picture)pObj).setValue(propertyValue.getString());
}
}