public class SelectFieldItem extends Object
ComboBoxField class.| Constructor and Description |
|---|
SelectFieldItem(String value)
Create a new
SelectFieldItem. |
SelectFieldItem(String value,
IBlockElement optionElement)
Create a new
SelectFieldItem. |
SelectFieldItem(String exportValue,
String displayValue)
Create a new
SelectFieldItem. |
SelectFieldItem(String exportValue,
String displayValue,
IBlockElement optionElement)
Create a new
SelectFieldItem. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayValue()
Get the display value of the item.
|
IBlockElement |
getElement()
Get the option element of the item.
|
String |
getExportValue()
Get the export value of the item.
|
boolean |
hasExportAndDisplayValues()
Check if the item has a display value.
|
public SelectFieldItem(String exportValue, String displayValue)
SelectFieldItem.exportValue - the export value of the item.displayValue - the display value of the item.public SelectFieldItem(String value)
SelectFieldItem.value - the export value of the item.public SelectFieldItem(String value, IBlockElement optionElement)
SelectFieldItem.value - the export value of the item.optionElement - the option element of the item.public SelectFieldItem(String exportValue, String displayValue, IBlockElement optionElement)
SelectFieldItem.exportValue - the export value of the item.displayValue - the display value of the item.optionElement - the option element of the item.public String getExportValue()
public String getDisplayValue()
public IBlockElement getElement()
This is the element which will be displayed in the dropdown. It allows for customization.
public boolean hasExportAndDisplayValues()
true if the item has both export and display values, false otherwise.Copyright © 1998–2025 Apryse Group NV. All rights reserved.