UICombobox¶
-
php\swing\UICombobox extends: php\swing\UIContainer
Properties
Methods
setItems($items)¶
Параметры:
- $items –
array
getItem($index)¶
Параметры:
- $index –
intРезультат:
string,null
addItem($item)¶
Параметры:
- $item –
string
insertItem($index, $item)¶
Параметры:
- $index –
int- $item –
string
removeItem($index)¶
Параметры:
- $index –
int
removeAllItems()¶
onCellRender($callback = null)¶
Параметры:
- $callback –
callable- (UICombobox $self, UILabel $template, $value, int $index, bool isSelected, bool cellHasFocus)