iText 8.0.5 API
|
An abstract class for fields that represents a control for selecting one or several of the provided options. More...
Public Member Functions |
|
virtual void | AddOption (IBlockElement optionElement) |
Add a container with options. More... |
|
virtual void | AddOption (SelectFieldItem option) |
Add an option to the element. More... |
|
virtual void | AddOption (SelectFieldItem option, bool selected) |
Add an option to the element. More... |
|
virtual IList< SelectFieldItem > | GetItems () |
Get a list of SelectFieldItem. More... |
|
virtual int | OptionsCount () |
Gets the total amount of options available. More... |
|
virtual bool | HasOptions () |
Checks if the element has any options. More... |
|
virtual SelectFieldItem | GetOption (String value) |
Get an option SelectFieldItem by its string value. More... |
|
virtual IList< IBlockElement > | GetOptions () |
Gets a list of containers with option(s). More... |
|
virtual bool | HasExportAndDisplayValues () |
Checks if the field has options with export and display values. More... |
|
Public Member Functions inherited from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.AbstractSelectField > | |
virtual T | SetSize (float size) |
Sets the form field's width and height. More... |
|
virtual IFormField | SetWidth (float width) |
virtual IFormField | SetHeight (float height) |
virtual IFormField | SetValue (String value) |
virtual String | GetId () |
override T1 | GetDefaultProperty< T1 > (int property) |
virtual IFormField | SetInteractive (bool interactive) |
abstract AccessibilityProperties | GetAccessibilityProperties () |
Gets the accessibility properties. More... |
|
Package Functions |
|
AbstractSelectField (String id) | |
Instantiates a new AbstractSelectField instance. More... |
|
Package Attributes |
|
IList< SelectFieldItem > | options = new List<SelectFieldItem>() |
Package Attributes inherited from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.AbstractSelectField > | |
DefaultAccessibilityProperties | tagProperties |
The tag properties. More... |
|
An abstract class for fields that represents a control for selecting one or several of the provided options.
|
inlinepackage |
Instantiates a new AbstractSelectField instance.
id | the id of the field |
|
inlinevirtual |
Add a container with options.
Add a container with options. This might be a container for options group.
optionElement | a container with options |
|
inlinevirtual |
Add an option to the element.
option | a SelectFieldItem |
Reimplemented in iText.Forms.Form.Element.ComboBoxField.
|
inlinevirtual |
Add an option to the element.
option | a SelectFieldItem |
selected |
true
is the option if selected, false
otherwise
|
inlinevirtual |
Get a list of SelectFieldItem.
|
inlinevirtual |
Get an option SelectFieldItem by its string value.
value | string value to find an option by |
|
inlinevirtual |
Gets a list of containers with option(s).
Gets a list of containers with option(s). Every container might be a container for options group.
|
inlinevirtual |
Checks if the field has options with export and display values.
true
if the field has options with export and display values, false
otherwise.
|
inlinevirtual |
Checks if the element has any options.
|
inlinevirtual |
Gets the total amount of options available.