Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParameterDomainRestriction

Represents the allowable set of values which a parameter can be set to.

Hierarchy

  • ParameterDomainRestriction

Index

Properties

Optional allowableValues

allowableValues: Array<DataValue>
returns

If ParameterValueType.List, the array will be the list of values which the parameter is allowed to take.

Optional dateStepPeriod

dateStepPeriod: PeriodType
returns

If ParameterValueType.Range, this defines the step date period used in the Parameter UI control slider. Note that if you specify a new value for the parameter, using the changeValueAsync() method, that does not align on the dateStepPeriod interval, the value will be set to the closest, earlier date.

Optional maxValue

maxValue: DataValue
returns

If ParameterValueType.Range, the value will be the upper bound of allowable values for the parameter.

Optional minValue

minValue: DataValue
returns

If ParameterValueType.Range, the value will be the lower bound of allowable values for the parameter.

Optional stepSize

stepSize: undefined | number
returns

If ParameterValueType.Range, the value will define the step size used in the parameter UI control slider. Note that if you specify a new value for the parameter, using the changeValueAsync() method, that does not align on the stepSize interval, the value will be set to the closest, lower interval. For example, if the stepSize was 5 and the steps were 1, 5, 10, if the new value specified was 8, the value 5 would be used instead.

type

returns

The type of restriction we have on the parameter's domain. This value will effect what other properties are configured on this object.