Class Index | File Index

Classes

Class ox.UI.Selection


Extends ox.UI.Widget.
Abstract base class of selection widgets. This class handles the association between displayed objects and value objects.
Defined in: configuration.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
This callback is called when the user selects a different value.
Fields borrowed from class ox.UI.Widget:
default_value, enabled, formnode, initialized, isEnabled, isVisible, node, parent, visible, width
Method Summary
Method Attributes Method Name and Description
 
setEntries(values, display_values)
Sets the list of possible values and the corresponding displayed values.
Methods borrowed from class ox.UI.Widget:
addContent, applyEnabled, applyVisible, disable, enable, get, hide, remove, resize, set, setEnabled, setParent, setVisible, show
Class Detail
ox.UI.Selection()
Field Detail
{Function} changed
This callback is called when the user selects a different value.
Method Detail
setEntries(values, display_values)
Sets the list of possible values and the corresponding displayed values. The parameters are used directly, without copying. Therefore, the arrays should not be modified after being passed to this method. An exception is modifying the arrays and immediately calling this method again to update the displayed widget.
Parameters:
{Array} values
An array of possible values.
{Array} display_values
An array of displayed values. Each element represents the value in the values array with the same index. The type of elements depends on the actual selection class.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jan 30 2012 16:58:00 GMT+0100 (CET)