| Package | org.juicekit.visual.controls |
| Class | public class USMapControl |
| Inheritance | USMapControl MovieClipControlBase RendererBase mx.core.UIComponent |
| Property | Defined by | ||
|---|---|---|---|
![]() | colorEncodingFunction : Function
References a function that returns a
uint
color value that is applied to the graphical element. | MovieClipControlBase | |
![]() | data : 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 | |
![]() | dataKeyField : String
Specifies the data
Object property name
that maps to SimpleButton instance names. | MovieClipControlBase | |
![]() | listData : BaseListData
Implement the IDropInListItemRenderer interface.
| RendererBase | |
| stateAbbrField : String
Specifies the data
Object property name containing
a U.S. | USMapControl | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| USMapControl | ||
![]() |
encodeMap(table:Array):void
Encode map colors by applying the colorEncodingFunction
to the array of data objects.
| MovieClipControlBase | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
calcPaddedBounds(w:Number, h:Number):Rectangle
Return a
Rectangle inset by any padding styles. | MovieClipControlBase | |
|
clipDisplayObjectContainer():DisplayObjectContainer
Return the MovieClip's
DisplayObjectContainer containing
the SimpleButtons to encode. | USMapControl | ||
![]() |
commitProperties():void
Reset the
dataPropertyChanged and invalidate
the display list. | RendererBase | |
![]() |
createMovieClip():MovieClip
Return an instance of a specific
MovieClip derived class. | MovieClipControlBase | |
![]() |
getButtonData(simpleButton:SimpleButton):Object
Return the data object associated with the target
DisplayObject. | MovieClipControlBase | |
![]() |
signalDataMouseEvent(event:MouseEvent):void
Dispatch a mouse event and its related data.
| MovieClipControlBase | |
| Style | Description | Defined by | ||
|---|---|---|---|---|
![]() | Type: uint Format: Color CSS Inheritance: no Specifies the opaque background color of the control. | MovieClipControlBase | ||
|
fontColor
| Type: uint Format: Color CSS Inheritance: no Sets the color of text. The default value is 0x000000. | USMapControl | ||
|
fontFamily
| Type: String CSS Inheritance: yes Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. The default value is "Verdana". | USMapControl | ||
|
fontSize
| Type: Number Format: Length CSS Inheritance: yes Sets the height of the text, in pixels. The default value is 10. | USMapControl | ||
|
fontStyle
| Type: String CSS Inheritance: yes Determines whether the text is italic font. Recognized values are "normal" and "italic".
The default value is "normal". | USMapControl | ||
|
fontWeight
| Type: String CSS Inheritance: yes Determines whether the text is boldface. Recognized values are "normal" and "bold".
The default value is "normal". | USMapControl | ||
![]() | 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 | ||
![]() | 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 | ||
![]() | 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 | ||
![]() | 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 | ||
|
textAlign
| Type: String CSS Inheritance: yes Determines the horizontal alignment of text within the cell. Possible values are "left", "center",
or "right".
The default value is "left". | USMapControl | ||
| stateAbbrField | property |
stateAbbrField:String [read-write]
Specifies the data Object property name containing
a U.S. state two-letter abbreviation.
The default value is "state".
This property can be used as the source for data binding.
Implementation public function get stateAbbrField():String
public function set stateAbbrField(value:String):void
| USMapControl | () | constructor |
public function USMapControl()Constructor.
| clipDisplayObjectContainer | () | method |
protected override function clipDisplayObjectContainer():DisplayObjectContainer
Return the MovieClip's DisplayObjectContainer containing
the SimpleButtons to encode.
DisplayObjectContainer |