RadioButtonOptionField
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation, com.aspose.pdf.WidgetAnnotation, com.aspose.pdf.Field
public final class RadioButtonOptionField extends Field
Class represents item of RadioButton field.
Constructors
| Constructor | Description |
|---|---|
| RadioButtonOptionField() | Create new RadioButtonOptionField instance. |
| RadioButtonOptionField(Page page, Rectangle rect) | Creates radiobutton in the specified rectangle on specified page. |
Methods
| Method | Description |
|---|---|
| getOptionName_Rename_Namesake() | Gets name of the option. |
| setOptionName_Rename_Namesake(String value) | Sets name of the option. |
| getCaption() | Gets caption. |
| setCaption(TextFragment value) | Sets caption. |
| setOptionName(String value) | Sets name of the option. |
| getStyle() | Gets style of check box. |
| setStyle(int value) | Sets style of check box. |
RadioButtonOptionField()
public RadioButtonOptionField()
Create new RadioButtonOptionField instance.
RadioButtonOptionField(Page page, Rectangle rect)
public RadioButtonOptionField(Page page, Rectangle rect)
Creates radiobutton in the specified rectangle on specified page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| page | Page | Page where RadioButton will be placed; |
| rect | Rectangle | Rectangle of RadioButton. |
getOptionName_Rename_Namesake()
public String getOptionName_Rename_Namesake()
Gets name of the option.
Returns: java.lang.String - String value
setOptionName_Rename_Namesake(String value)
public void setOptionName_Rename_Namesake(String value)
Sets name of the option.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | String value |
getCaption()
public TextFragment getCaption()
Gets caption.
Returns: TextFragment - TextFragment object
setCaption(TextFragment value)
public void setCaption(TextFragment value)
Sets caption.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | TextFragment | TextFragment object |
setOptionName(String value)
public void setOptionName(String value)
Sets name of the option.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | String value |
getStyle()
public int getStyle()
Gets style of check box.
Returns: int - BoxStyle element
setStyle(int value)
public void setStyle(int value)
Sets style of check box.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | BoxStyle element |