org.pdfclown.documents.interaction.forms
Class ChoiceItems
java.lang.Object
org.pdfclown.objects.PdfObjectWrapper<PdfArray>
org.pdfclown.documents.interaction.forms.ChoiceItems
- All Implemented Interfaces:
- Cloneable, Iterable<ChoiceItem>, Collection<ChoiceItem>, List<ChoiceItem>, IPdfObjectWrapper
@PDF(value=PDF12)
public final class ChoiceItems
- extends PdfObjectWrapper<PdfArray>
- implements List<ChoiceItem>
Field options [PDF:1.6:8.6.3].
- Since:
- 0.0.7
- Version:
- 0.1.2, 12/21/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
| Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
checkCompatibility, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
ChoiceItems
public ChoiceItems(Document context)
add
public ChoiceItem add(String value)
add
public ChoiceItem add(int index,
String value)
clone
public ChoiceItems clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Overrides:
clone in class PdfObjectWrapper<PdfArray>
- Parameters:
context - Which document the clone has to be registered in.
add
public void add(int index,
ChoiceItem value)
- Specified by:
add in interface List<ChoiceItem>
addAll
public boolean addAll(int index,
Collection<? extends ChoiceItem> values)
- Specified by:
addAll in interface List<ChoiceItem>
get
public ChoiceItem get(int index)
- Specified by:
get in interface List<ChoiceItem>
indexOf
public int indexOf(Object value)
- Specified by:
indexOf in interface List<ChoiceItem>
lastIndexOf
public int lastIndexOf(Object value)
- Specified by:
lastIndexOf in interface List<ChoiceItem>
listIterator
public ListIterator<ChoiceItem> listIterator()
- Specified by:
listIterator in interface List<ChoiceItem>
listIterator
public ListIterator<ChoiceItem> listIterator(int index)
- Specified by:
listIterator in interface List<ChoiceItem>
remove
public ChoiceItem remove(int index)
- Specified by:
remove in interface List<ChoiceItem>
set
public ChoiceItem set(int index,
ChoiceItem value)
- Specified by:
set in interface List<ChoiceItem>
subList
public List<ChoiceItem> subList(int fromIndex,
int toIndex)
- Specified by:
subList in interface List<ChoiceItem>
add
public boolean add(ChoiceItem value)
- Specified by:
add in interface Collection<ChoiceItem>- Specified by:
add in interface List<ChoiceItem>
addAll
public boolean addAll(Collection<? extends ChoiceItem> values)
- Specified by:
addAll in interface Collection<ChoiceItem>- Specified by:
addAll in interface List<ChoiceItem>
clear
public void clear()
- Specified by:
clear in interface Collection<ChoiceItem>- Specified by:
clear in interface List<ChoiceItem>
contains
public boolean contains(Object value)
- Specified by:
contains in interface Collection<ChoiceItem>- Specified by:
contains in interface List<ChoiceItem>
containsAll
public boolean containsAll(Collection<?> values)
- Specified by:
containsAll in interface Collection<ChoiceItem>- Specified by:
containsAll in interface List<ChoiceItem>
equals
public boolean equals(Object object)
- Specified by:
equals in interface Collection<ChoiceItem>- Specified by:
equals in interface List<ChoiceItem>- Overrides:
equals in class PdfObjectWrapper<PdfArray>
hashCode
public int hashCode()
- Specified by:
hashCode in interface Collection<ChoiceItem>- Specified by:
hashCode in interface List<ChoiceItem>- Overrides:
hashCode in class Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection<ChoiceItem>- Specified by:
isEmpty in interface List<ChoiceItem>
remove
public boolean remove(Object value)
- Specified by:
remove in interface Collection<ChoiceItem>- Specified by:
remove in interface List<ChoiceItem>
removeAll
public boolean removeAll(Collection<?> values)
- Specified by:
removeAll in interface Collection<ChoiceItem>- Specified by:
removeAll in interface List<ChoiceItem>
retainAll
public boolean retainAll(Collection<?> values)
- Specified by:
retainAll in interface Collection<ChoiceItem>- Specified by:
retainAll in interface List<ChoiceItem>
size
public int size()
- Specified by:
size in interface Collection<ChoiceItem>- Specified by:
size in interface List<ChoiceItem>
toArray
public Object[] toArray()
- Specified by:
toArray in interface Collection<ChoiceItem>- Specified by:
toArray in interface List<ChoiceItem>
toArray
public <T> T[] toArray(T[] values)
- Specified by:
toArray in interface Collection<ChoiceItem>- Specified by:
toArray in interface List<ChoiceItem>
iterator
public Iterator<ChoiceItem> iterator()
- Specified by:
iterator in interface Iterable<ChoiceItem>- Specified by:
iterator in interface Collection<ChoiceItem>- Specified by:
iterator in interface List<ChoiceItem>
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.