dundas.controls.RangeClass Class

Represents a class that maps a range of data values to a single discrete value.
 

Inheritance Hierarchy

 
Class
   dundas.controls.BindingClass
      dundas.controls.RangeClass
         dundas.controls.ContinuousClass
 

Constructors

 
  Name Description
init Initializes a new instance of the RangeClass class.
 
 

Properties

 
  Name Description
pointsBound Gets or sets the number of data points that have been bound by this class. Inherited from dundas.controls.BindingClass.
range Gets or sets the range of values this class applies to.
value Gets or sets the output value this class produces.
 
 

Methods

 
  Name Description
accepts Tests whether a data value is accepted by this binding class. Inherited from dundas.controls.BindingClass.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getDisplayedText Gets the text to display for this range class given optional text that includes placeholder keywords for From and To.
getOutputValue Determines the output value this class assigns to the data value. The value is only defined if the accepts method returns true. Inherited from dundas.controls.BindingClass.
setupLegendItem Sets up a legend item to identify this class assuming a rectangular shape. Inherited from dundas.controls.BindingClass.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.