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 void
append(Obj listObj)
Appends an object to the end of this list.void
insert(Obj newNode, Obj refNode)
Inserts an object before a specific node in this list.Obj
item(int index)
Gets this list's n'th object.int
length()
Returns the number of objects in this list.void
remove(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:ListBase
Appends an object to the end of this list.- Specified by:
append
in 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:ListBase
Inserts an object before a specific node in this list.- Specified by:
insert
in 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:ListBase
Gets this list's n'th object.- Specified by:
item
in 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:ListBase
Returns the number of objects in this list.- Specified by:
length
in classListBase
- Returns:
- the length of this list.
- See Also:
ListBase.length()
-
remove
public void remove(Obj removeNode)
Description copied from class:ListBase
Removes an object from this list.- Specified by:
remove
in classListBase
- Parameters:
removeNode
- the object to be removed.- See Also:
ListBase.remove(Obj)
-
-