com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class OptionCollection

  • All Implemented Interfaces:
    Iterable<Option>


    public final class OptionCollection
    extends Object
    implements Iterable<Option>

    Class representing collection of options of the choice field.

    • Method Detail

      • isSynchronized

        public boolean isSynchronized()

        Returns true of object is synchronized.

        Returns:
        boolean value
      • isReadOnly

        public boolean isReadOnly()

        Gets a value indicating if collection is readonly.

        Returns:
        boolean value
      • getSyncRoot

        public Object getSyncRoot()

        Synchronization object of the collection.

        Returns:
        Object element
      • size

        public int size()

        Gets number of options.

        Returns:
        int value
      • iterator_Rename_Namesake

        public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()

        Returns enumerator for options in collection.

        Returns:
        Options enumerator.
      • iterator

        public com.aspose.ms.System.Collections.IEnumerator<Option> iterator()

        Returns enumerator for options in collection.

        Specified by:
        iterator in interface Iterable<Option>
        Returns:
        Options enumerator.
      • get

        public Option get(int index)

        Gets option by index.

        Parameters:
        index - Option index. Index should be in range [1..n] where n is options count.
        Returns:
        Retreived option.
      • get

        public Option get(String name)

        Gets option from colleciton by option name.

        Parameters:
        name - Option name.
        Returns:
        Retreived option.
      • get_Item

        public Option get_Item(int index)

        Gets option by index.

        Parameters:
        index - Index of the option.
        Returns:
        Option on the specified index.
      • get_Item

        public Option get_Item(String name)

        Gets option by its name.

        Parameters:
        name - Name of the option.
        Returns:
        Found option.
      • deleteOption

        public void deleteOption(String name)

        Deletes option by its name.

        Parameters:
        name - Name of the option to delete.
      • add

        public void add(Option item)
        Not supported yet.

        Not implemented yet.

        Parameters:
        item - Option instance
      • clear

        public void clear()
        Not supported yet.

        Not implemented yet.

      • contains

        public boolean contains(Option item)

        Not implemented yet.

        Parameters:
        item - Option instance
        Returns:
        boolean value
      • remove

        public boolean remove(Option item)

        Not implemented yet.

        Parameters:
        item - Option instance
        Returns:
        boolean value