Class ChoiceItem
- java.lang.Object
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
-
- com.pdf_tools.fourheights.pdftoolbox.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.String
getDisplayName()
Displayed name (Getter)java.lang.String
getExportName()
Export name (Getter)void
setDisplayName(java.lang.String value)
Displayed name (Setter)void
setExportName(java.lang.String value)
Export name (Setter)-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.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
-
-