Ajax (1) Apex Class (12) Apex Trigger (2) Community (2) Home Page (1) HTML (4) Integration (3) JS (7) KB (1) Label (1) Licenses (1) Listing (1) Log (1) OOPs (5) Sharing (1) Static Resource (1) Test Class (3) URI (1) Visualforce (10)

Wednesday 5 March 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