Package com.adobe.xfa
Class XFAList
- java.lang.Object
-
- com.adobe.xfa.Obj
-
- com.adobe.xfa.ListBase
-
- com.adobe.xfa.XFAList
-
-
Field Summary
-
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 voidappend(Obj listObj)Appends an object to the end of this list.voidinsert(Obj newNode, Obj refNode)Inserts an object before a specific node in this list.Objitem(int index)Gets this list's n'th object.intlength()Returns the number of objects in this list.voidremove(Obj removeNode)Removes an object from this list.-
Methods inherited from class com.adobe.xfa.ListBase
getClassAtom, getClassName, getScriptTable, isReadOnly, isReadOnly
-
Methods inherited from class com.adobe.xfa.Obj
addPeer, addPeeredNode, clearPeers, deafen, getClassTag, getPeer, getScriptMethodInfo, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, notifyPeers, peerRemoved, removePeer, removePeeredNode, sendMessenge, setClass, setClassTag, setScriptProperty, unDeafen, unMute, updateFromPeer, validateUsage, validateUsageFailedIsFatal
-
-
-
-
Constructor Detail
-
XFAList
public XFAList()
default constructor
-
XFAList
public XFAList(java.util.List<? extends Obj> list, boolean bReadOnly)
Create a new XFAList- Parameters:
list- to clone
-
-
Method Detail
-
append
public void append(Obj listObj)
Description copied from class:ListBaseAppends an object to the end of this list.- Specified by:
appendin classListBase- Parameters:
listObj- the node to be appended.- See Also:
ListBase.append(Obj)
-
insert
public void insert(Obj newNode, Obj refNode)
Description copied from class:ListBaseInserts an object before a specific node in this list.- Specified by:
insertin classListBase- Parameters:
newNode- the object to be inserted.refNode- the object to insert before.- See Also:
ListBase.insert(Obj, Obj)
-
item
public Obj item(int index)
Description copied from class:ListBaseGets this list's n'th object.- Specified by:
itemin classListBase- Parameters:
index- the 0-based index of the node within this list.- Returns:
- the n'th node.
- See Also:
ListBase.item(int)
-
length
public int length()
Description copied from class:ListBaseReturns the number of objects in this list.- Specified by:
lengthin classListBase- Returns:
- the length of this list.
- See Also:
ListBase.length()
-
remove
public void remove(Obj removeNode)
Description copied from class:ListBaseRemoves an object from this list.- Specified by:
removein classListBase- Parameters:
removeNode- the object to be removed.- See Also:
ListBase.remove(Obj)
-
-