com.spire.doc.collections
Class TextBoxItemCollection

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.collections.CollectionEx
          extended by com.spire.doc.documents.xml.DocumentSerializableCollection
              extended by com.spire.doc.collections.DocumentObjectCollection
                  extended by com.spire.doc.collections.TextBoxItemCollection
All Implemented Interfaces:
ICollectionBase, IDocumentObjectCollection, ITextBoxItemCollection, IXDLSSerializableCollection, java.lang.Iterable

public class TextBoxItemCollection
extends DocumentObjectCollection
implements ITextBoxItemCollection


Constructor Summary
TextBoxItemCollection(IDocument doc)
           
 
Method Summary
 int add(ITextBox textBox)
          Adds a textbox to the collection.
 TextBox get(int index)
          Gets the at the specified index.Gets the at the specified index.
 
Methods inherited from class com.spire.doc.collections.DocumentObjectCollection
add, clear, contains, getFirstItem, getLastItem, indexOf, insert, remove, removeAt
 
Methods inherited from class com.spire.doc.collections.CollectionEx
getCount, iterator
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 
Methods inherited from interface com.spire.doc.interfaces.ICollectionBase
getCount
 
Methods inherited from interface com.spire.doc.interfaces.IXDLSSerializableCollection
addNewItem, getCount, getTagItemNameEx
 

Constructor Detail

TextBoxItemCollection

public TextBoxItemCollection(IDocument doc)
Method Detail

get

public TextBox get(int index)
Description copied from class: DocumentObjectCollection
Gets the at the specified index.Gets the at the specified index.

Specified by:
get in interface ITextBoxItemCollection
Overrides:
get in class DocumentObjectCollection
Parameters:
index - The index
Returns:
The TextBox

add

public int add(ITextBox textBox)
Description copied from interface: ITextBoxItemCollection
Adds a textbox to the collection.

Specified by:
add in interface ITextBoxItemCollection
Parameters:
textBox - the text box.
Returns:
The index