RadioGroupTab
global class RadioGroupTab extends Tab
Description
A radio group tab places a group of radio buttons on a document. The
radios property is used to add and place the radio buttons associated with the group. Only one radio button can be selected in a group. This value can be set.Properties
collaborationglobal Tab.Collaboration collaboration
Tab collaboration settings.
radiosglobal List<Radio> radios
Specifies the locations and status for radio buttons that are grouped together.
Methods
RadioGroupTab
global RadioGroupTab()
Description
Constructs a radio group tab.
withCollaboration
global RadioGroupTab withCollaboration(final Tab.Collaboration collaboration)
Description
Updates the tab
collaboration property.Returns
The tab with an updated
collaboration value.Parameters
collaborationfinal Tab.Collaboration collaboration
Tab collaboration settings.
withRadios
global RadioGroupTab withRadios(final List<Radio> radios)
Description
Updates the tab
radios property.Returns
The tab with an updated
radios value.Parameters
radiosfinal List<Radio> radios
Specifies the locations and status for radio buttons that are grouped together.
RadioGroupTab.Position
global class Position
Description
Where to render the radio button on the document.
Properties
pageNumberglobal Integer pageNumber
Specifies the page number on which the tab is located. Must be 1 for supplemental documents.
xglobal Integer x
This property indicates the horizontal offset of the object on the page. Docusign uses 72 DPI when determining position. Required. May be zero.
Corresponds to the xPosition API parameter.
yglobal Integer y
This property indicates the vertical offset of the object on the page. Docusign uses 72 DPI when determining position. Required. May be zero.
Corresponds to the yPosition API parameter.
Methods
Position
Description
Constructs a radio button position.
Parameters
pageNumberfinal Integer pageNumber
Specifies the page number on which the tab is located. Must be 1 for supplemental documents.
x final Integer x
This property indicates the horizontal offset of the object on the page.
y final Integer y
This property indicates the vertical offset of the object on the page.
RadioGroupTab.Radio
global class Radio
Description
A radio button.
Properties
anchorglobal Tab.Anchor anchor
Tab auto-place settings.
formattingglobal Tab.Formatting formatting
Tab formatting settings.
orderglobal Integer order
A positive integer that sets the order the tab is navigated to during signing.
Tabs on a page are navigated to in ascending order, starting with the lowest number and moving to the highest. If two or more tabs have the same tabOrder value, the normal auto-navigation setting behavior for the envelope is used.
Corresponds to the tabOrder property.
positionglobal Position position
Tab position on the document.
readOnlyglobal Boolean readOnly
When set to
true, the signer cannot change the data of the custom tab. Corresponds to the locked API parameter.
requiredglobal Boolean required
When set to
true, the signer is required to fill out this tab.selectedglobal Boolean selected
When set to
true, the radio button is selected.valueglobal Object value
Specifies the value of the tab.
Methods
Radio
global Radio( final Integer order, final Position position, final Tab.Formatting formatting, final Tab.Anchor anchor, final Object value, final Boolean selected, final Boolean readOnly, final Boolean required )
Description
Constructs a radio button.
Parameters
order final Integer order
A positive integer that sets the order the tab is navigated to during signing.
position final Position position
Tab position on the document.
formatting final Tab.Formatting formatting
Tab formatting settings.
anchor final Tab.Anchor anchor
Tab auto-place settings.
value final Object value
Specifies the value of the tab.
selected final Boolean selected
When set to
true, the radio button is selected. readOnly final Boolean readOnly
When set to
true, the signer cannot change the data of the custom tab. required final Boolean required
When set to
true, the signer is required to fill out this tab.