Package com.adobe.xfa

Class XFAList

All Implemented Interfaces:
Peer

public final class XFAList extends ListBase
This class is used to implement script-able list objects that are not node lists. This class combined with ListBase are the equivalent of the C++ XFAListImpl
  • Constructor Details

    • XFAList

      public XFAList()
      default constructor
    • XFAList

      public XFAList(List<? extends Obj> list, boolean bReadOnly)
      Create a new XFAList
      Parameters:
      list - to clone
  • Method Details

    • append

      public void append(Obj listObj)
      Description copied from class: ListBase
      Appends an object to the end of this list.
      Specified by:
      append in class ListBase
      Parameters:
      listObj - the node to be appended.
      See Also:
    • 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 class ListBase
      Parameters:
      newNode - the object to be inserted.
      refNode - the object to insert before.
      See Also:
    • item

      public Obj item(int index)
      Description copied from class: ListBase
      Gets this list's n'th object.
      Specified by:
      item in class ListBase
      Parameters:
      index - the 0-based index of the node within this list.
      Returns:
      the n'th node.
      See Also:
    • length

      public int length()
      Description copied from class: ListBase
      Returns the number of objects in this list.
      Specified by:
      length in class ListBase
      Returns:
      the length of this list.
      See Also:
    • remove

      public void remove(Obj removeNode)
      Description copied from class: ListBase
      Removes an object from this list.
      Specified by:
      remove in class ListBase
      Parameters:
      removeNode - the object to be removed.
      See Also: