Class ChoiceItem


  • public class ChoiceItem
    extends NativeObject

    An item in a list box field or combo box field

    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()

        Displayed name (Getter)

        This is the name of the item as displayed in a PDF viewer.
        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setDisplayName

        public void setDisplayName​(java.lang.String value)

        Displayed name (Setter)

        This is the name of the item as displayed in a PDF viewer.
        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the owning choice field's document is read-only
        java.lang.IllegalStateException - if the owning choice field has widgets
      • getExportName

        public java.lang.String getExportName()

        Export name (Getter)

        This is the name of the item used when exporting.
        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setExportName

        public void setExportName​(java.lang.String value)

        Export name (Setter)

        This is the name of the item used when exporting.
        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the owning choice field's document is read-only