ASPOSE home

com.aspose.words
Class DropDownItems

java.util.ArrayList
    extended by com.aspose.words.DropDownItems

public class DropDownItems
extends java.util.ArrayList

A collection of strings that represent all the items in a drop-down form field.
See Also:
FormField, FormField.DropDownItems

Property Getters/Setters Summary
java.lang.Stringget(int index)
voidset(int index, java.lang.String value)
           Gets or sets the element at the specified index.
 
Method Summary
booleanadd(java.lang.String s)
           Adds a string to the end of the collection.
voidinsert(int index, java.lang.String value)
           Inserts a string into the collection at the specified index.
 

Property Getters/Setters Detail

get/set

public java.lang.String get(int index)

public void set(int index, java.lang.String value)
Gets or sets the element at the specified index.

Method Detail

add

public boolean add(java.lang.String s)
Adds a string to the end of the collection.
Parameters:
s - The string to add to the end of the collection.
Returns:
true (as per the general contract of Collection.add).

insert

public void insert(int index, java.lang.String value)
Inserts a string into the collection at the specified index.
Parameters:
index - The zero-based index at which value is inserted.
value - The string to insert.

See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home