Packagecom.flexicious.components.visualization.gaugesupport
Classpublic class RangeInfo
InheritanceRangeInfo Inheritance Object
Implements flash.events.IEventDispatcher

A class that holds information about start, end and color of the ranges of the gauge control



Public Properties
 PropertyDefined By
  rangeColor : uint
The color of the wedge that shows the range on the dial.
RangeInfo
  rangeEnd : Number
The end value of the range
RangeInfo
  rangeStart : Number
The start value of the range
RangeInfo
Public Methods
 MethodDefined By
  
RangeInfo
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
RangeInfo
  
dispatchEvent(event:Event):Boolean
RangeInfo
  
hasEventListener(type:String):Boolean
RangeInfo
  
isValueWithinRange(val:Number, includeEnd:Boolean = false):Boolean
Returns true if (val greater than rangeStart and val less than rangeEnd)
RangeInfo
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
RangeInfo
  
willTrigger(type:String):Boolean
RangeInfo
Property Detail
rangeColorproperty
rangeColor:uint

The color of the wedge that shows the range on the dial.

This property can be used as the source for data binding.


Implementation
    public function get rangeColor():uint
    public function set rangeColor(value:uint):void
rangeEndproperty 
rangeEnd:Number

The end value of the range

This property can be used as the source for data binding.


Implementation
    public function get rangeEnd():Number
    public function set rangeEnd(value:Number):void
rangeStartproperty 
rangeStart:Number

The start value of the range

This property can be used as the source for data binding.


Implementation
    public function get rangeStart():Number
    public function set rangeStart(value:Number):void
Constructor Detail
RangeInfo()Constructor
public function RangeInfo()



Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
isValueWithinRange()method 
public function isValueWithinRange(val:Number, includeEnd:Boolean = false):Boolean

Returns true if (val greater than rangeStart and val less than rangeEnd)

Parameters

val:Number — Value to check
 
includeEnd:Boolean (default = false)

Returns
Boolean — Whether value is within range
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean