DhSelectBox.getItemText

Overview | Methods | This Package | All Packages

DhSelectBox.getItemText

Retrieves the text for the item at the specified index.

Syntax

public String getItemText ( int index )

Parameters

index

The zero-based index of the item for which you want the text, or -1 for the currently selected item.

Return Value

Returns the text of the item specified by index, or returns an empty string ("") if -1 is specified and no item is selected.

See Also   setItemText