public class JsInstanceManager extends JsNode
Modifier and Type | Field and Description |
---|---|
protected Integer |
count |
protected FlattenerContext |
flattenerContext |
protected static JsNode |
instanceManagerJsObject |
protected JsNode |
parent |
protected XFATemplateTag |
template |
instanceManagerByTemplate, nodeJsObject, nodes, protoTemplate, tag, textJsObject, UNIVERSAL_PROTOTYPE_ROOT, utf8Charset
shortcuts, treeJsObject
rhinoJsObject
Constructor and Description |
---|
JsInstanceManager(String className) |
JsInstanceManager(XFATemplateTag tag, JsNode parent, FlattenerContext flattenerContext) |
Modifier and Type | Method and Description |
---|---|
void |
addInstance(boolean bind) |
Integer |
decCount() |
String |
getClassName() |
Integer |
getCount() |
Integer |
getMax() |
Integer |
getMin() |
Integer |
incCount() |
void |
insertInstance(int index, boolean bind) |
void |
removeInstance(int instanceIndex) |
int |
resetCount() |
void |
setCount(int newCount) |
void |
setInstances(int instanceNumber) |
addAfterMe, addChild, addChild, addChild, addInstanceManagerForTemplate, addVariable, get, getChild, getInstanceManagerByTemplate, getIsContainer, getIsNull, getNodes, getNotNullXFAPrototype, getOneOfChild, getParent, getProtoTemplate, getPrototypeObject, getTag, isHidden, isInactive, isPropertySpecified, loadXML, put, putCallback, retrieveAttribute, retrieveAttributes, retrieveChild, retrieveChild, retrieveChildren, retrieveChildren, retrieveContent, retrieveName, retrieveParent, retrieveRichText, retrieveValue, setOneOfChild, setProtoTemplate
getAll, getIndex, getNamePropertyByNameKey, getSomExpression, resolveNode, resolveNodeInt, resolveNodes, resolveNodesInt, searchNode, searchNodeByClassName, searchNodeById, searchNodeByName, searchNodeDown, searchNodes, searchNodesById, searchNodesByName, splitSOM, strictSearchNode, strictSearchNodeByName
defineConstantProperty, defineProperty, evaluateScript, evaluateScript, getDefaultValue, getOwnProperty, getProperty, getStringProperty, isUndefined, unwrap
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
protected static final JsNode instanceManagerJsObject
protected FlattenerContext flattenerContext
protected JsNode parent
protected XFATemplateTag template
protected Integer count
public JsInstanceManager(String className)
public JsInstanceManager(XFATemplateTag tag, JsNode parent, FlattenerContext flattenerContext)
public String getClassName()
getClassName
in interface FormNode
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class RhinoJsObject
public Integer getMin()
public Integer getMax()
public Integer getCount()
public void setCount(int newCount)
public Integer incCount()
public Integer decCount()
public int resetCount()
public void setInstances(int instanceNumber)
public void addInstance(boolean bind)
public void removeInstance(int instanceIndex)
public void insertInstance(int index, boolean bind)
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.