Class RadioButton


  • public class RadioButton
    extends NativeObject

    A button in a radio button group

    • 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 closed
        java.lang.UnsupportedOperationException - if the document is read-only
        java.lang.IllegalArgumentException - if boundingBox is null
      • 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