nutrient
Toggle table of contents
11.2.1
Nutrient
Target filter
Nutrient
Switch theme
Search in API
Skip to content
nutrient
nutrient
/
com.pspdfkit.forms
/
FormOption
Form
Option
open
class
FormOption
Represents one entry in form options array.
Members
Constructors
Form
Option
Link copied to clipboard
constructor
(
@
NonNull
label
:
String
,
@
NonNull
value
:
String
)
Constructs one entry in form options array.
Properties
label
Link copied to clipboard
@
NonNull
@get:
NonNull
val
label
:
String
The display label of this option, shown to the user in the UI.
value
Link copied to clipboard
@
NonNull
@get:
NonNull
val
value
:
String
The export value of this option, used when exporting form data.
Functions
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
Compares this form option to the specified object.
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
Returns a hash code value for this form option based on its value and label.
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Returns a string representation of this form option, including both value and label.