DeltaScript.java 1.37 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa;

import com.adobe.xfa.*;

public class DeltaScript
extends ObjScript {
    protected static final ScriptTable moScriptTable = new ScriptTable(ObjScript.moScriptTable, "delta", new ScriptPropObj[]{new ScriptPropObj(DeltaScript.class, "parent", "getParent", null, 7, 25, 9, 0), new ScriptPropObj(DeltaScript.class, "target", "getTarget", null, 6, 25, 9, 0), new ScriptPropObj(DeltaScript.class, "savedValue", "getSavedValue", null, 6, 25, 9, 0), new ScriptPropObj(DeltaScript.class, "currentValue", "getCurrentValue", null, 6, 25, 9, 0)}, new ScriptFuncObj[]{new ScriptFuncObj(DeltaScript.class, "restore", "restore", 1, new int[0], 0, 25, 9, 0)});

    public static ScriptTable getScriptTable() {
        return moScriptTable;
    }

    public static void getParent(Obj pObj, Arg oRetVal) {
        oRetVal.setObject(((Delta)pObj).getParent());
    }

    public static void getTarget(Obj pObj, Arg oRetVal) {
        oRetVal.setString(((Delta)pObj).getTarget());
    }

    public static void getSavedValue(Obj pObj, Arg oRetVal) {
        oRetVal.setString(((Delta)pObj).getSavedValue());
    }

    public static void getCurrentValue(Obj pObj, Arg oRetVal) {
        oRetVal.setString(((Delta)pObj).getCurrentValue());
    }

    public static void restore(Obj pObj, Arg oRetVal, Arg[] pArgs) {
        ((Delta)pObj).restore();
    }
}