Overview | Methods | This Package | All Packages
Retrieves the text for the currently selected item.
Syntax
public String getText()
Return Value
Returns the text of the currently selected item, or returns an empty string ("") if no items are selected. If multiple items are selected, the text of the first selected item is returned.