InstanceManagerScript.java
2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.template;
import com.adobe.xfa.Arg;
import com.adobe.xfa.Element;
import com.adobe.xfa.Obj;
import com.adobe.xfa.ObjScript;
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.InstanceManager;
public class InstanceManagerScript
extends ProtoableNodeScript {
protected static final ScriptTable moScriptTable = new ScriptTable(ObjScript.moScriptTable, "instanceManager", new ScriptPropObj[]{new ScriptPropObj(InstanceManagerScript.class, "min", "getNothing", null, 4, 21, 9, 0), new ScriptPropObj(InstanceManagerScript.class, "max", "getNothing", null, 4, 21, 9, 0), new ScriptPropObj(InstanceManagerScript.class, "count", "getNothing", "setNothing", 4, 25, 9, 0), new ScriptPropObj(InstanceManagerScript.class, "occur", "getOccur", null, 7, 21, 9, 0)}, new ScriptFuncObj[]{new ScriptFuncObj(InstanceManagerScript.class, "setInstances", "doNothing", 1, new int[]{4}, 1, 21, 9, 0), new ScriptFuncObj(InstanceManagerScript.class, "addInstance", "doNothing", 7, new int[]{3}, 0, 21, 9, 0), new ScriptFuncObj(InstanceManagerScript.class, "removeInstance", "doNothing", 1, new int[]{4}, 1, 21, 9, 0), new ScriptFuncObj(InstanceManagerScript.class, "moveInstance", "doNothing", 1, new int[]{4, 4}, 2, 21, 9, 0), new ScriptFuncObj(InstanceManagerScript.class, "insertInstance", "doNothing", 7, new int[]{4, 3}, 1, 25, 9, 0)});
public static ScriptTable getScriptTable() {
return moScriptTable;
}
public static void getNothing(Obj oObj, Arg oRetVal) {
}
public static void setNothing(Obj oObj, Arg propertyValue) {
}
public static void getOccur(Obj oObj, Arg oRetVal) {
InstanceManager oManager;
if (oObj instanceof InstanceManager && (oManager = (InstanceManager)oObj) != null) {
Element oOccur = oManager.getOccur();
oRetVal.setObject(oOccur);
}
}
public static void doNothing(Obj oObj, Arg oRetVal, Arg[] oArgs, int nParamCount) {
}
}