Creates a PopupList above the specified shell.
Creates a PopupList above the specified shell.
Gets the widget font. <p> @return the widget font
Gets the items. <p> This operation will fail if the items cannot be queried from the OS.
Gets the minimum width of the list.
Launches the Popup List, waits for an item to be selected and then closes the PopupList.
Selects an item with text that starts with specified String. <p> If the item is not currently selected, it is selected. If the item at an index is selected, it remains selected. If the string is not matched, it is ignored.
Sets the widget font. <p> When new font is null, the font reverts to the default system font for the widget.
Sets all items. <p> The previous selection is cleared. The previous items are deleted. The new items are added. The top index is set to 0.
Sets the minimum width of the list.
A PopupList is a list of selectable items that appears in its own shell positioned above its parent shell. It is used for selecting items when editing a Table cell (similar to the list that appears when you open a Combo box).
The list will be positioned so that it does not run off the screen and the largest number of items are visible. It may appear above the current cursor location or below it depending how close you are to the edge of the screen.
@see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>