Wednesday, March 05, 2014

SelectOption

SelectOption Constructors

The following are constructors for SelectOption.

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(Boolean) 
    Sets the value of the SelectOption object's isDisabled attribute.
  • setEscapeItem(Boolean) 
    Sets the value of the SelectOption object's itemEscaped attribute.
  • setLabel(String) 
    Sets the value of the option label that is displayed to the user.
  • setValue(String) 
    Sets the value of the option value that is returned to the controller if a user selects the option.

No comments:

Post a Comment

Thanks for your comment