Package com.adobe.xfa.form
Class FormField
- java.lang.Object
-
- All Implemented Interfaces:
Peer
- Direct Known Subclasses:
FormChoiceListField
public class FormField extends Field
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adobe.xfa.template.containers.Field
Field.ItemPair
-
Nested classes/interfaces inherited from class com.adobe.xfa.template.containers.Container
Container.ChangeLogger, Container.FormInfo, Container.ValidationState
-
Nested 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, CREATEACTION
-
Fields inherited from class com.adobe.xfa.Node
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefix
-
Fields 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execEvent(java.lang.String sActivity)
boolean
execValidate()
java.lang.Object
getCPDField()
For use by Gibson for XFAplugins.DataNode
getDataNode()
void
getDeltas(Element delta, XFAList list)
Gets a collection of deltas to restore.boolean
getIsNull()
Determine if this node contains a null value.boolean
getRegistered(int eActivity)
void
notifyPeers(int eventType, java.lang.String arg1, java.lang.Object pArg2)
This method will be called whenever its state changes.void
remove()
Removes this node from its parent child list.void
setCPDField(java.lang.Object oCPDField)
For use by Gibson for XFAplugins.-
Methods inherited from class com.adobe.xfa.template.containers.Field
clearItems, deleteItem, getAttribute, getFormattedValue, getItemLists, getNeutralValue, getNodes, getOffValue, getOnValue, getRawValue, getScriptTable, hasValidFormattedValue, isConnectSupported, isHeightGrowSupported, isWidthGrowSupported, resolveAndEnumerateChildren, setFormattedValue, setIsNull, setOn, setRawValue
-
Methods inherited from class com.adobe.xfa.template.containers.Container
getConnectNode, getErrorText, getFormInfo, getInvalidObjects, getRuntimeAccess, getRuntimePresence, getValidationState, isContainer, isHeightGrowable, isWidthGrowable, locateChildByClass, setAttribute, setErrorText, setFormInfo, setValidationState
-
Methods 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, setElement, setOneOfChild, setPermsLock, setProto, updateIDValues
-
Methods 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, getLastXMLChild, getLineNumber, getLocalName, getModel, getName, getNode, 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, 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, updateFromPeer
-
Methods 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, resolveNode, resolveNode, resolveNode, resolveNodes, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setPrivateName, setWillDirty, setXfaPeer, unLock, validateSchema, validateUsage, validateUsageFailedIsFatal
-
Methods 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
-
-
-
-
Method Detail
-
remove
public void remove()
Description copied from class:Node
Removes this node from its parent child list.
-
getDataNode
public DataNode getDataNode()
- Overrides:
getDataNode
in classField
-
getCPDField
public java.lang.Object getCPDField()
For use by Gibson for XFAplugins.
-
setCPDField
public void setCPDField(java.lang.Object oCPDField)
For use by Gibson for XFAplugins.
-
getDeltas
public void getDeltas(Element delta, XFAList list)
Description copied from class:Element
Gets a collection of deltas to restore. The locale attribute is always restored immediately, and is not returned in the list of deltas.- Overrides:
getDeltas
in classElement
- Parameters:
delta
- an Element from the form packet.list
- the list of deltas to be populated.- See Also:
Element.getDeltas(Element, XFAList)
-
getIsNull
public boolean getIsNull()
Description copied from class:Element
Determine if this node contains a null value.
-
execValidate
public boolean execValidate()
- Overrides:
execValidate
in classField
-
getRegistered
public boolean getRegistered(int eActivity)
-
notifyPeers
public void notifyPeers(int eventType, java.lang.String arg1, java.lang.Object pArg2)
Description copied from class:ProtoableNode
This method will be called whenever its state changes. This will also modify the eventType and notify the parent of this tree- Specified by:
notifyPeers
in interfacePeer
- Overrides:
notifyPeers
in classProtoableNode
- Parameters:
eventType
- the event type as enumerated in this classarg1
- additional event informationpArg2
- additional event information
-
-