[]
        
(Showing Draft Content)

IDropDownItemList

Interface IDropDownItemList

All Superinterfaces:
IItemCollection<DropDownItem>, IItemList<DropDownItem>, Iterable<DropDownItem>

public interface IDropDownItemList extends IItemList<DropDownItem>
Represents the typed item list used by an IDropDown control.

This interface preserves the DropDownItem generic type for IItemList APIs, so drop-down items can be accessed and modified without losing their public item type.


 IDropDown dropDown = worksheet.getControls().addDropDown(20, 20, 120, 20);
 IDropDownItemList items = dropDown.getItems();
 items.add(new DropDownItem("Pending"));
 items.add(new DropDownItem("Approved"));