DrawScript.java 1.03 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa.template.containers;

import com.adobe.xfa.Arg;
import com.adobe.xfa.Obj;
import com.adobe.xfa.ScriptFuncObj;
import com.adobe.xfa.ScriptPropObj;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.template.containers.ContainerScript;
import com.adobe.xfa.template.containers.Draw;

public class DrawScript
extends ContainerScript {
    protected static final ScriptTable moScriptTable = new ScriptTable(ContainerScript.moScriptTable, "draw", new ScriptPropObj[]{new ScriptPropObj(DrawScript.class, "rawValue", "getRawValue", "setRawValue", 6, 21, 9, 0), new ScriptPropObj(DrawScript.class, null, "getRawValue", "setRawValue", 6, 21, 9, 0)}, null);

    public static ScriptTable getScriptTable() {
        return moScriptTable;
    }

    public static void getRawValue(Obj pObj, Arg oRetVal) {
        oRetVal.setString(((Draw)pObj).getRawValue());
    }

    public static void setRawValue(Obj pObj, Arg propertyValue) {
        ((Draw)pObj).setRawValue(propertyValue.getString());
    }
}