Class: Selection

hui.ui. Selection


new Selection(options)

Parameters:
Name Type Description
options Object

The options : {value:null}

Source:

Classes

Items

Methods


<static> create(options)

Creates a new selection widget

Parameters:
Name Type Description
options Object

The options : {width:0}

Source:

getValue()

Get the selected item

Source:
Returns:

The selected item, null if no selection

Type
Object

reset()

Set the value to null

Source:

selectFirst()

Changes selection to the first item

Source:

setObjects()

Untested!!

Source:

setValue(value)

Set the selected item

Parameters:
Name Type Description
value Object

The selected item

Source: