Package com.pdftools.toolbox.pdf.forms
Class ChoiceItem
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.forms.ChoiceItem
-
public class ChoiceItem extends NativeObject
An item in a list box field or combo box field
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplayName()Displayed name (Getter)java.lang.StringgetExportName()Export name (Getter)voidsetDisplayName(java.lang.String value)Displayed name (Setter)voidsetExportName(java.lang.String value)Export name (Setter)-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
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 closedjava.lang.UnsupportedOperationException- if the owning choice field's document is read-onlyjava.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 closedjava.lang.UnsupportedOperationException- if the owning choice field's document is read-only
-
-