Class: ValueComponent

ValueComponent

Methods

getMenuItemDescriptor(){Object}

Get object descriptor for menu item entry.

Returns: {Object}

getMultipleSelectElement(){MultipleSelectUI}

Get multiple select element.

Returns: {MultipleSelectUI}

getState(){Object}

Export state of the component (get selected filter and filter arguments).

Returns: {Object} Returns object where command key keeps used condition filter and args key its arguments.

reset()

Reset elements to their initial state.

setState(value)

Set state of the component.

Parameters:
Name Type Description
value Object

updateState(stateInfo)

Update state of component.

Parameters:
Name Type Description
stateInfo Object

Information about state containing stack of edited column,
stack of dependent conditions, data factory and optional condition arguments change. It's described by object containing keys:
editedConditionStack, dependentConditionStacks, visibleDataFactory and conditionArgsChange.