Modifier and Type | Class and Description |
---|---|
static class |
Field.ItemPair |
Container.ChangeLogger, Container.FormInfo, Container.ValidationState
Element.DualDomNode, Element.ReplaceContent
AttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTION
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefix
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 and Description |
---|
Field(Element parent,
Node prevSibling)
Instantiates a field container.
|
Modifier and Type | Method and Description |
---|---|
void |
clearItems() |
boolean |
deleteItem(int nIndex)
Delete an item at an index
|
void |
execEvent(String sActivity) |
boolean |
execValidate() |
Attribute |
getAttribute(int eTag,
boolean bPeek,
boolean bValidate)
Gets this element's attribute whose attribute tag is given.
|
DataNode |
getDataNode() |
String |
getFormattedValue()
Gets the formatted value for this field.
|
void |
getItemLists(boolean bPeek,
Field.ItemPair items,
boolean bEnforceMultiColumn)
Get the display and save lists
|
String |
getNeutralValue()
Get the neutral value of this field
|
NodeList |
getNodes()
Gets this element's list of children.
|
String |
getOffValue()
Get the off value of this field
|
String |
getOnValue()
Get the on value of this field
|
String |
getRawValue()
Gets the raw value for this field.
|
ScriptTable |
getScriptTable() |
boolean |
hasValidFormattedValue() |
boolean |
isConnectSupported()
Return whether the container supports connect i.e.
|
boolean |
isHeightGrowSupported()
Returns whether or not this container support growable heights.
|
boolean |
isWidthGrowSupported()
Return whether or not this container support growable widths This does
not indicate whether the container height is currently growable, just
whether it's supported by this container type.
|
NodeList |
resolveAndEnumerateChildren(boolean bAllProperties,
boolean bFirstDefaultOnly)
Construct a list of element-based properties and children.
|
void |
setFormattedValue(String sValue)
Set the formatted value for this field.
|
void |
setIsNull(boolean bNull,
boolean bNotify)
Set this node to contain a null value.
|
void |
setOn(boolean bOn)
Set whether or not this container is 'on' in its ExclGroup
|
void |
setRawValue(String sString)
Set the raw value for this field, no formatting.
|
getConnectNode, getErrorText, getFormInfo, getInvalidObjects, getRuntimeAccess, getRuntimePresence, getValidationState, isContainer, isHeightGrowable, isWidthGrowable, locateChildByClass, setAttribute, setErrorText, setFormInfo, setValidationState
clone, createProto, elementGetAttribute, externalProtoFailed, fetchIDValues, getAttributeByName, getElement, getExternalProtoSource, getOneOfChild, getPI, getPI, getProto, getProtoed, getText, hasExternalProto, hasProto, isContextSensitiveAttribute, isDefault, isSpecified, notifyPeers, performResolveProtos, preSave, releaseExternalProtos, reResolveProto, resolveProto, setElement, setOneOfChild, setPermsLock, setProto, updateIDValues
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, getDeltas, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXFAChild, getFirstXMLChild, getID, getIndex, getInheritedNS, getInstalledLocale, getIsNull, 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
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, validateUsageFailedIsFatal
addPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMute
public void clearItems()
public boolean deleteItem(int nIndex)
nIndex
- -
the index to deletepublic void execEvent(String sActivity)
public boolean execValidate()
public Attribute getAttribute(int eTag, boolean bPeek, boolean bValidate)
Element
To peek at an attribute, set the peek argument to true. If the attribute is present, it is returned; otherwise null is returned.
To create an attribute, set the peek argument to false. If the attribute is absent, a default attribute is created and returned; for attributes with no default, null is returned.
If validation argument is true, and the validation fails, this method throws.
getAttribute
in class Container
eTag
- the tag of the attribute.bPeek
- whether to peek at the attribute or not.bValidate
- whether to validate the attribute or not.public DataNode getDataNode()
public String getFormattedValue()
public void getItemLists(boolean bPeek, Field.ItemPair items, boolean bEnforceMultiColumn)
bPeek
- -
if TRUE return lists that must not be modifieditems
- -
a structure holding the bound and display elementsbEnforceMultiColumn
- -public String getNeutralValue()
public NodeList getNodes()
Element
getNodes
in class Element
Element.getNodes()
public NodeList resolveAndEnumerateChildren(boolean bAllProperties, boolean bFirstDefaultOnly)
Element
resolveAndEnumerateChildren
in class Element
Element.resolveAndEnumerateChildren(boolean bAllProperties, boolean bFirstDefaultOnly)
public String getOffValue()
public String getOnValue()
public String getRawValue()
public ScriptTable getScriptTable()
getScriptTable
in class Container
public boolean hasValidFormattedValue()
public boolean isConnectSupported()
Container
isConnectSupported
in class Container
Container.isConnectSupported()
public boolean isHeightGrowSupported()
Container
isHeightGrowSupported
in class Container
public boolean isWidthGrowSupported()
Container
Comments Helps distinguish - ie text draws supporting growing but arc draws do not.
isWidthGrowSupported
in class Container
public void setFormattedValue(String sValue)
sValue
- the formatted value for this field.UnsupportedOperationException
- if you try and set the value of a boilerplate content. The
given formatted value should be in the either
public void setIsNull(boolean bNull, boolean bNotify)
bNull
- true if the node contains a null value, false otherwise.public void setOn(boolean bOn)
bOn
- true if this container is 'on', false if the is not 'on'.public void setRawValue(String sString)
sString
- the unformatted raw value for this field.UnsupportedOperationException
- if you try and set the value of a boilerplate content. The
given unformatted value should be in the either
Copyright © 2010 - 2020 Adobe. All Rights Reserved