public interface SelectDropDownList extends HTMLComponent
Represents a select list (drop down style) UI component
 Note:: For unresolved PolyScope entities, like Features, Variables and TCPs, that are selected in the
 drop-down list, the item will be highlighted with a yellow border.
 The implementation of the drop-down list have special rules and rendering for Variable objects.
 Unregistered variables are not visible nor selectable (until they become registered).
 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addItem(Object item)  | 
int | 
getItemCount()  | 
int | 
getSelectedIndex()  | 
Object | 
getSelectedItem()  | 
void | 
removeAllItems()
Remove all items 
 | 
void | 
selectItem(Object item)  | 
void | 
selectItemAtIndex(int index)  | 
void | 
setItems(List<?> items)  | 
isEnabled, isVisible, setEnabled, setVisiblevoid setItems(List<?> items)
items - clear the current items and set the list of items to itemsvoid addItem(Object item)
item - add a new item to the drop downvoid removeAllItems()
int getItemCount()
Object getSelectedItem()
int getSelectedIndex()
void selectItem(Object item)
item - Select the itemvoid selectItemAtIndex(int index)
index - Select the item at index index where 0 specifies
              the first item.Copyright © 2019. All rights reserved.