Packageorg.juicekit.visual.controls
Classpublic class DMAMapControl
InheritanceDMAMapControl Inheritance MovieClipControlBase Inheritance RendererBase Inheritance mx.core.UIComponent

The DMAMapControl class visualizes Nielson Designated Market Areas (DMA). Each areas' graphical treatment is manipulated using a function that maps data values to color values.



Public Properties
 PropertyDefined by
 InheritedcolorEncodingFunction : Function
References a function that returns a uint color value that is applied to the graphical element.
MovieClipControlBase
 Inheriteddata : Object
Stores an Array or ArrayCollection of objects whose properties will be used to change the appearance of the the MovieClip's SimpleButton children.
MovieClipControlBase
 InheriteddataKeyField : String
Specifies the data Object property name that maps to SimpleButton instance names.
MovieClipControlBase
 InheritedlistData : BaseListData
Implement the IDropInListItemRenderer interface.
RendererBase
Protected Properties
 PropertyDefined by
 Inherited_clip : MovieClip = null
Stores a reference to the wrapped MovieClip.
MovieClipControlBase
 InheriteddataPropertyChanged : Boolean = false
Indicated whether the data property was changed.
RendererBase
Public Methods
 MethodDefined by
  
Constructor.
DMAMapControl
 Inherited
encodeMap(table:Array):void
Encode map colors by applying the colorEncodingFunction to the array of data objects.
MovieClipControlBase
Protected Methods
 MethodDefined by
 Inherited
calcPaddedBounds(w:Number, h:Number):Rectangle
Return a Rectangle inset by any padding styles.
MovieClipControlBase
 Inherited
clipDisplayObjectContainer():DisplayObjectContainer
Return the MovieClip's DisplayObjectContainer containing the SimpleButtons to encode.
MovieClipControlBase
 Inherited
Reset the dataPropertyChanged and invalidate the display list.
RendererBase
 Inherited
createMovieClip():MovieClip
Return an instance of a specific MovieClip derived class.
MovieClipControlBase
 Inherited
getButtonData(simpleButton:SimpleButton):Object
Return the data object associated with the target DisplayObject.
MovieClipControlBase
 Inherited
signalDataMouseEvent(event:MouseEvent):void
Dispatch a mouse event and its related data.
MovieClipControlBase
Events
 EventSummaryDefined by
 Inherited Dispatched when the data property changes.RendererBase
 Inherited Dispatched when the user clicks a pointing device over a MovieClipControlBase instance's rectangle.MovieClipControlBase
 Inherited Dispatched when the user clicks a pointing device over a MovieClipControlBase instance's rectangle.MovieClipControlBase
 Inherited Dispatched when the user moves a pointing device away from MovieClipControlBase instance's rectangle.MovieClipControlBase
 Inherited Dispatched when the user moves a pointing device over a MovieClipControlBase instance's rectangle.MovieClipControlBase
Styles
 StyleDescriptionDefined by
 Inherited Type: uint   Format: Color   CSS Inheritance: no
Specifies the opaque background color of the control.
MovieClipControlBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's bottom border and the bottom edge of its content area.
MovieClipControlBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's left border and the left edge of its content area.
MovieClipControlBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's right border and the right edge of its content area.
MovieClipControlBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's top border and the top edge of its content area.
MovieClipControlBase
Constructor detail
DMAMapControl()constructor
public function DMAMapControl()

Constructor.