SubformSetScript.java
1.38 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.template.containers;
import com.adobe.xfa.Arg;
import com.adobe.xfa.DependencyTracker;
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.SubformSet;
public class SubformSetScript
extends ContainerScript {
static final ScriptTable moScriptTable = new ScriptTable(ContainerScript.moScriptTable, "subformSet", new ScriptPropObj[]{new ScriptPropObj(SubformSetScript.class, "instanceManager", "getInstanceManager", null, 7, 21, 9, 0), new ScriptPropObj(SubformSetScript.class, "instanceIndex", "getInstanceIndex", "setInstanceIndex", 4, 25, 9, 0)}, null);
public static ScriptTable getScriptTable() {
return moScriptTable;
}
public static void getInstanceManager(Obj pObj, Arg oRetVal) {
oRetVal.setObject(((SubformSet)pObj).getInstanceManager());
}
public static void getInstanceIndex(Obj pObj, Arg oRetVal, DependencyTracker pDepTrack) {
oRetVal.setInteger(((SubformSet)pObj).getInstanceIndex(pDepTrack));
}
public static void setInstanceIndex(Obj pObj, Arg propertyValue) {
if (propertyValue.getArgType() != 2) {
((SubformSet)pObj).setInstanceIndex(propertyValue.getInteger());
}
}
}