com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Option



  • public final class Option
    extends Object

    Class represents option of choice field.

    • Method Detail

      • getValue

        public String getValue()

        Gets option export value.

        Returns:
        String value
      • setValue

        public void setValue(String value)

        Sets option export value.

        Parameters:
        value - String value
      • getName

        public String getName()

        Gets name of option.

        Returns:
        String value
      • setName

        public void setName(String value)

        Sets name of option.

        Parameters:
        value - String value
      • getSelected

        public boolean getSelected()

        Gets selected status of option. Returns true if option is selected.

        Returns:
        boolean value
      • setSelected

        public void setSelected(boolean value)

        Sets selected status of option. Returns true if option is selected.

        Parameters:
        value - boolean value
      • getIndex

        public int getIndex()

        Gets index of the option.

        Returns:
        int value
      • hasExportValue

        public boolean hasExportValue()
        Return true if has Export Value
        Returns:
        boolean value