| Package | ardisia.components.colorPicker |
| Class | public class ColorPickerRenderer |
| Inheritance | ColorPickerRenderer spark.components.Group |
Default MXML PropertymxmlContent
| Property | Defined By | ||
|---|---|---|---|
| dataProvider : Array
Uses a flat array. | ColorPickerRenderer | ||
| focusIndex : int
The index in the dataProvider that is currently focused. | ColorPickerRenderer | ||
| Method | Defined By | ||
|---|---|---|---|
mouseHandler(event:MouseEvent):void
Handles mouse events on the control. | ColorPickerRenderer | ||
updateCursorPosition():void
Sets the position of the cursor over the palette. | ColorPickerRenderer | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when a focused color is committed. | ColorPickerRenderer | |||
| Dispatched when the focused color in the picker changes on mouse over. | ColorPickerRenderer | |||
| dataProvider | property |
dataProvider:ArrayUses a flat array. Will not typically populate this property directly.
The default value is null.
public function get dataProvider():Array public function set dataProvider(value:Array):void| focusIndex | property |
focusIndex:intThe index in the dataProvider that is currently focused.
The default value is 0.
public function get focusIndex():int public function set focusIndex(value:int):void| mouseHandler | () | method |
protected function mouseHandler(event:MouseEvent):voidHandles mouse events on the control.
Parameters
event:MouseEvent — the MouseEvent that triggered this handler
|
| updateCursorPosition | () | method |
protected function updateCursorPosition():voidSets the position of the cursor over the palette.
| commitFocusIndex | Event |
flash.events.Eventflash.events.EventDispatched when a focused color is committed. Use the focusIndex property to determine which color was committed.
| focusIndexChange | Event |
ardisia.components.colorPicker.events.ColorPickerEventardisia.components.colorPicker.events.ColorPickerEventDispatched when the focused color in the picker changes on mouse over.