ComboBox.getItemCount

Overview | Methods | This Package | All Packages

ComboBox.getItemCount

Retrieves the number of items in the combo box.

Syntax

public final int getItemCount()

Return Value

Returns the number of items in the combo box.

Remarks

Because the index for a list box is zero-based, the returned count is one greater than the index value of the last item in the list.