Class RadioButton
- java.lang.Object
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
-
- com.pdf_tools.fourheights.pdftoolbox.pdf.forms.RadioButton
-
public class RadioButton extends NativeObject
A button in a radio button group
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Widget
addNewWidget(Rectangle boundingBox)
Create radio button widgetjava.lang.String
getExportName()
The button's name used when exporting (Getter)WidgetList
getWidgets()
The button's widget annotations (Getter)-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
addNewWidget
public Widget addNewWidget(Rectangle boundingBox)
Create radio button widget
This method creates a widget for the radio button. The widget is automatically added to the button's widgets and to the radio button form field's widgets, but not to any page.- Parameters:
boundingBox
- The widget's target rectangle on the page- Returns:
- the newly created form field widget
- Throws:
java.lang.IllegalStateException
- if the document has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalArgumentException
- ifboundingBox
isnull
-
getExportName
public java.lang.String getExportName()
The button's name used when exporting (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
getWidgets
public WidgetList getWidgets()
The button's widget annotations (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
-