com.ur.urcap.api.ui.component
public interface SelectDropDownList extends HTMLComponent
Represents a select list (drop down style) UI component
| 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()
Remove all items
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 © 2017. All rights reserved.