Package com.adobe.xfa.form
Class FormSubform
- All Implemented Interfaces:
Peer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.adobe.xfa.template.containers.Container
Container.ChangeLogger, Container.FormInfo, Container.ValidationStateNested classes/interfaces inherited from class com.adobe.xfa.Element
Element.DualDomNode, Element.ReplaceContent -
Field Summary
Fields inherited from class com.adobe.xfa.Element
AttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTIONFields inherited from class com.adobe.xfa.Node
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefixFields inherited from interface com.adobe.xfa.ut.Peer
ATTR_CHANGED, CHILD_ADDED, CHILD_REMOVED, DESCENDENT_ADDED, DESCENDENT_ATTR_CHANGED, DESCENDENT_REMOVED, DESCENDENT_VALUE_CHANGED, PARENT_CHANGED, PERMS_LOCK_CLEARED, PERMS_LOCK_SET, PROTO_ATTR_CHANGED, PROTO_CHILD_ADDED, PROTO_CHILD_REMOVED, PROTO_DESCENDENT_ADDED, PROTO_DESCENDENT_ATTR_CHANGED, PROTO_DESCENDENT_REMOVED, PROTO_DESCENDENT_VALUE_CHANGED, PROTO_VALUE_CHANGED, UPDATED, VALUE_CHANGED -
Constructor Summary
ConstructorsConstructorDescriptionFormSubform(Element parent, Node prevSibling) Instantiates a FormSubform container. -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanGet the data node bound to this Form nodevoidGets a collection of deltas to restore.Returns the InstanceManager for this subformbooleangetRegistered(int eActivity) voidnotifyPeers(int eventType, String arg1, Object pArg2) This method will be called whenever its state changes.setElement(Node child, int eTag, int nOccurrence) Set an element value.voidsetInstanceIndex(int nMoveTo) set the instance indexMethods inherited from class com.adobe.xfa.template.containers.Subform
getAttribute, getScriptTable, isConnectSupported, isHeightGrowSupported, isWidthGrowSupported, resetMethods inherited from class com.adobe.xfa.template.containers.Container
getConnectNode, getErrorText, getFormInfo, getInvalidObjects, getRuntimeAccess, getRuntimePresence, getValidationState, isContainer, isHeightGrowable, isWidthGrowable, locateChildByClass, setAttribute, setErrorText, setFormInfo, setValidationStateMethods inherited from class com.adobe.xfa.ProtoableNode
clone, createProto, elementGetAttribute, externalProtoFailed, fetchIDValues, getAttributeByName, getElement, getExternalProtoSource, getOneOfChild, getPI, getPI, getProto, getProtoed, getText, hasExternalProto, hasProto, isContextSensitiveAttribute, isDefault, isSpecified, performResolveProtos, preSave, releaseExternalProtos, reResolveProto, resolveProto, setOneOfChild, setPermsLock, setProto, updateIDValuesMethods inherited from class com.adobe.xfa.Element
appendChild, appendChild, appendPI, appendPI, assignNode, clone, connectPeerToDocument, constructKey, constructKeys, copyContent, defaultAttribute, defaultElement, defaultElement, establishID, evaluate, explodeQName, findAttr, findSchemaAttr, foundBadAttribute, foundBadAttribute, getAll, getAppModel, getAtom, getAttr, getAttribute, getAttrIndex, getAttrName, getAttrNS, getAttrProp, getAttrQName, getAttrVal, getChildReln, getClassAll, getClassIndex, getClassName, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXFAChild, getFirstXMLChild, getID, getIndex, getInheritedNS, getInstalledLocale, getIsNull, getLastXMLChild, getLineNumber, getLocalName, getModel, getName, getNode, getNodes, getNodeSchema, getNS, getNumAttrs, getOneOfChild, getPrefix, getProperty, getProperty, getSaveXMLSaveTransient, getSchemaType, getScriptMethodInfo, getSibling, getXFAChild, getXMLChild, getXMLName, getXPath, getXsiNilAttribute, inhibitPrettyPrint, inhibitPrettyPrint, insertChild, isFragment, isHidden, isHidden, isIndexed, isInstalledLocaleAmbient, isLeaf, isNameSpaceAttr, isPropertySpecified, isPropertySpecified, isPropertyValid, isSpecified, isSpecified, isTransient, isTransparent, isValidAttr, isValidChild, isValidElement, loadXML, loadXML, makeDefault, makeNonDefault, newAttribute, optimizeNameSpace, peekAttribute, peekElement, peekOneOfChild, peekProperty, peekProperty, postSave, privateSetName, processTextChildrenDuringParse, removeAttr, removeAttr, removeChild, removePI, removePI, removeWhiteSpace, removeXsiNilAttribute, replaceChild, resetPostLoadXML, resolveAndEnumerateChildren, resolveNodeCreate, resolvePrefix, saveFilteredXML, saveXML, saveXML, serialize, setAttribute, setAttribute, setAttribute, setAttrProp, setDefaultFlag, setDOMProperties, setIsDataWindowRoot, setIsIndexed, setLineNumber, setLocalName, setModel, setName, setNS, setProperty, setProperty, setQName, setSaveXMLSaveTransient, setTransparent, setXMLName, setXsiNilAttribute, updateFromPeerMethods inherited from class com.adobe.xfa.Node
checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getData, getFirstXMLChildElement, getLocked, getNextXFASibling, getNextXMLSibling, getNextXMLSiblingElement, getNodeAsXML, getOwnerDocument, getPIAsXML, getPIName, getPreviousXMLSibling, getPrivateName, getPropName, getSOMExpression, getSOMExpression, getSomName, getUniqueSOMName, getWillDirty, getXFAChildCount, getXFAParent, getXfaPeer, getXMLChildCount, getXMLParent, hasChanged, isDirty, isMapped, isPermsLockSet, isTransient, locateChildByName, logValueChangeHelper, performSOMAssignment, remove, resolveNode, resolveNode, resolveNode, resolveNodes, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setPrivateName, setWillDirty, setXfaPeer, unLock, validateSchema, validateUsage, validateUsageFailedIsFatalMethods inherited from class com.adobe.xfa.Obj
addPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMute
-
Constructor Details
-
FormSubform
Instantiates a FormSubform container.- Parameters:
parent- the FormSubform's parent, if any.prevSibling- the field's previous sibling, if any.
-
-
Method Details
-
getInstanceManager
Returns the InstanceManager for this subform- Overrides:
getInstanceManagerin classSubform- Returns:
- an FormInstanceManager
-
getDataNode
Get the data node bound to this Form node- Overrides:
getDataNodein classSubform- Returns:
- The DataNode bound to this Form Node
-
getDeltas
Description copied from class:ElementGets a collection of deltas to restore. The locale attribute is always restored immediately, and is not returned in the list of deltas. -
setElement
Description copied from class:ElementSet an element value. Must be a valid 0..1 element, (not a oneOfChild or a 0..n child)- Overrides:
setElementin classProtoableNode- Parameters:
child- the child to add or set.eTag- only used if oChild isNull -- in which case we remove the element- See Also:
-
setInstanceIndex
public void setInstanceIndex(int nMoveTo) Description copied from class:Subformset the instance index- Overrides:
setInstanceIndexin classSubform- Parameters:
nMoveTo- the index to set to
-
execEvent
-
execValidate
public boolean execValidate()- Overrides:
execValidatein classSubform
-
getRegistered
public boolean getRegistered(int eActivity) -
notifyPeers
Description copied from class:ProtoableNodeThis method will be called whenever its state changes. This will also modify the eventType and notify the parent of this tree- Specified by:
notifyPeersin interfacePeer- Overrides:
notifyPeersin classProtoableNode- Parameters:
eventType- the event type as enumerated in this classarg1- additional event informationpArg2- additional event information
-