The X Toolkit API

X.thresholdable

/**
* Injective mix-in for all thresholdable objects.
*
* @constructor
*/
var t = new X.thresholdable();
/**
* The lower threshold.
*
* @type {number}
* @protected
*/
t._lowerThreshold = $_LOWERTHRESHOLD;
/**
* The upper threshold border.
*
* @type {number}
* @protected
*/
t._max = $_MAX;
/**
* The color to map the max. scalar.
*
* @type {!Array}
* @protected
*/
t._maxColor = $_MAXCOLOR;
/**
* The lower threshold border.
*
* @type {number}
* @protected
*/
t._min = $_MIN;
/**
* The color to map the min. scalar.
*
* @type {!Array}
* @protected
*/
t._minColor = $_MINCOLOR;
/**
* The upper threshold.
*
* @type {number}
* @protected
*/
t._upperThreshold = $_UPPERTHRESHOLD;
/**
* Get the lower threshold.
*
* @return {number} The lower threshold.
* @public
*/
var _lowerThreshold = t.lowerThreshold;
/**
* Set the lower threshold if it is inside the min-max range.
*
* @param {number} lowerThreshold
* @public
*/
t.lowerThreshold = $LOWERTHRESHOLD;
/**
* Get the max color which is used to map the scalars to colors in a linear
* fashion.
*
* @return {!Array} An array holding the r,g,b components of the color.
* @public
*/
var _maxColor = t.maxColor;
/**
* Set the max color to linear map the scalars to colors.
*
* @param {!Array} maxColor The color corresponding to the min. scalar value.
* @public
*/
t.maxColor = $MAXCOLOR;
/**
* Get the upper threshold border.
*
* @return {number} The upper threshold border.
* @public
*/
var _max = t.max;
/**
* Get the min color which is used to map the scalars to colors in a linear
* fashion.
*
* @return {!Array} An array holding the r,g,b components of the color.
* @public
*/
var _minColor = t.minColor;
/**
* Set the min color to linear map the scalars to colors.
*
* @param {!Array} minColor The color corresponding to the min. scalar value.
* @public
*/
t.minColor = $MINCOLOR;
/**
* Get the lower threshold border.
*
* @return {number} The lower threshold border.
* @public
*/
var _min = t.min;
/**
* Get the upper threshold.
*
* @return {number} The upper threshold.
* @public
*/
var _upperThreshold = t.upperThreshold;
/**
* Set the upper threshold if it is inside the min-max range.
*
* @param {number} upperThreshold
* @public
*/
t.upperThreshold = $UPPERTHRESHOLD;


CONSTRUCTORS
X.thresholdable

PROPERTIES
_lowerThreshold
_max
_maxColor
_min
_minColor
_upperThreshold

GETTERS/SETTERS
lowerThreshold
maxColor
max
minColor
min
upperThreshold

FUNCTIONS

STATIC



SOURCECODE