aspose.pdf
Class RadioButtons

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by aspose.pdf.RadioButtons
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class RadioButtons
extends java.util.ArrayList

Represents a collection of RadioButton objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RadioButtons()
          Initializes a new instance of the RadioButton class.
 
Method Summary
 RadioButton add()
          Initializes a new instance of the RadioButton class and add it to the RadioButtons
 void add(RadioButton button)
          Adds a new RadioButton object into the collection.
 RadioButton getRadioButton(int index)
          Gets a RadioButton object from the collection according to RadioButton index.
 RadioButton getRadioButton(java.lang.String buttonID)
          Gets a RadioButton object from the collection according to RadioButton ID.
 int indexOf(RadioButton button)
          Gets the index of a specified section in the collection.
 void insert(int index, RadioButton button)
          Inserts a new RadioButton object into the collection at specified position.
 void insert(RadioButton buttonToInsertAfter, RadioButton newButton)
          Inserts a new RadioButton object into the collection after specified RadioButton object.
 void remove(RadioButton button)
          Removes a RadioButton object from the collection.
 void setRadioButton(int index, RadioButton value)
          Sets a RadioButton object from the collection according to RadioButton index.
 void setRadioButton(java.lang.String buttonID, RadioButton value)
          Sets a RadioButton object from the collection according to RadioButton ID.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

RadioButtons

public RadioButtons()
Initializes a new instance of the RadioButton class.

Method Detail

add

public void add(RadioButton button)
Adds a new RadioButton object into the collection.


add

public RadioButton add()
Initializes a new instance of the RadioButton class and add it to the RadioButtons


remove

public void remove(RadioButton button)
Removes a RadioButton object from the collection.

Parameters:
button - The RadioButton> object to be removed.

insert

public void insert(int index,
                   RadioButton button)
Inserts a new RadioButton object into the collection at specified position.

Parameters:
index - The zero-based index at which RadioButton object should be inserted.
button - The RadioButton object to be inserted.

insert

public void insert(RadioButton buttonToInsertAfter,
                   RadioButton newButton)
Inserts a new RadioButton object into the collection after specified RadioButton object.

Parameters:
buttonToInsertAfter - The RadioButton object to insert after.
newButton - The RadioButton object to be inserted.

indexOf

public int indexOf(RadioButton button)
Gets the index of a specified section in the collection.

Parameters:
button - The specified section.
Returns:
The index value.

getRadioButton

public RadioButton getRadioButton(int index)
Gets a RadioButton object from the collection according to RadioButton index.


setRadioButton

public void setRadioButton(int index,
                           RadioButton value)
Sets a RadioButton object from the collection according to RadioButton index.

Parameters:
index -
value -

getRadioButton

public RadioButton getRadioButton(java.lang.String buttonID)
Gets a RadioButton object from the collection according to RadioButton ID.


setRadioButton

public void setRadioButton(java.lang.String buttonID,
                           RadioButton value)
Sets a RadioButton object from the collection according to RadioButton ID.

Parameters:
buttonID -
value -