SelectOption Methods
The following are methods for
SelectOption
. All are instance methods.
getDisabled()
Returns the current value of the SelectOption object's
isDisabled
attribute.
getEscapeItem()
Returns the current value of the SelectOption object's
itemEscaped
attribute.
getLabel()
Returns the option label that is displayed to the user.
getValue()
Returns the option value that is returned to the controller if a user selects the option.
setDisabled(isDisabled)
Sets the value of the SelectOption object's
isDisabled
attribute.
setEscapeItem(itemsEscaped)
Sets the value of the SelectOption object's
itemEscaped
attribute.
setLabel(label)
Sets the value of the option label that is displayed to the user.
setValue(value)
Sets the value of the option value that is returned to the controller if a user selects the option.
Previous
Next