iText 8.0.5 API
|
A field that represents a control for selecting one of the provided options. More...
Public Member Functions |
|
SelectFieldItem (String exportValue, String displayValue) | |
Create a new SelectFieldItem. More... |
|
SelectFieldItem (String value) | |
Create a new SelectFieldItem. More... |
|
SelectFieldItem (String value, IBlockElement optionElement) | |
Create a new SelectFieldItem. More... |
|
SelectFieldItem (String exportValue, String displayValue, IBlockElement optionElement) | |
Create a new SelectFieldItem. More... |
|
virtual String | GetExportValue () |
Get the export value of the item. More... |
|
virtual String | GetDisplayValue () |
Get the display value of the item. More... |
|
virtual IBlockElement | GetElement () |
Get the option element of the item. More... |
|
virtual bool | HasExportAndDisplayValues () |
Check if the item has a display value. More... |
|
A field that represents a control for selecting one of the provided options.
A field that represents a control for selecting one of the provided options. It is used in the ComboBoxField class.
|
inline |
Create a new SelectFieldItem.
exportValue | the export value of the item. |
displayValue | the display value of the item. |
|
inline |
Create a new SelectFieldItem.
value | the export value of the item. |
|
inline |
Create a new SelectFieldItem.
value | the export value of the item. |
optionElement | the option element of the item. |
|
inline |
Create a new SelectFieldItem.
exportValue | the export value of the item. |
displayValue | the display value of the item. |
optionElement | the option element of the item. |
|
inlinevirtual |
Get the display value of the item.
Get the display value of the item. If the display value is not set, the export value will be used as display value.
|
inlinevirtual |
Get the option element of the item.
Get the option element of the item.
This is the element which will be displayed in the dropdown. It allows for customization.
|
inlinevirtual |
Get the export value of the item.
|
inlinevirtual |
Check if the item has a display value.
Check if the item has a display value. and export value.
true
if the item has both export and display values, false
otherwise.