| Package | com.degrafa.paint.palette |
| Class | public dynamic class PresetColorPalette |
| Inheritance | PresetColorPalette AutoPalette Palette mx.utils.ObjectProxy |
| Property | Defined by | ||
|---|---|---|---|
![]() | document : Object
The MXML document that created this object.
| Palette | |
![]() | entries : Array
An array of PaletteEntry objects.
| Palette | |
![]() | entryPrefix : String
The prefix to use for item names so that they can be properly refferenced.
| AutoPalette | |
![]() | id : String
The identifier used by document to refer to this object.
| Palette | |
![]() | isInitialized : Boolean | Palette | |
![]() | name : String
The name that refers to this object.
| Palette | |
![]() | palette : Palette | Palette | |
![]() | paletteEntries : Dictionary
An dictionary of palette entries.
| Palette | |
![]() | requestedSize : int
The number of entries to be generated.
| AutoPalette | |
| type : String
The type of color space to use one of cool, hot or grey.
| PresetColorPalette | ||
| Method | Defined by | ||
|---|---|---|---|
| PresetColorPalette | |||
![]() |
clear():void
Removes all palette entries.
| Palette | |
![]() |
getItemByIndex(value:int):*
Returns a palette entry item by index.
| Palette | |
![]() |
getItemByName(value:String):*
Returns a palette entry item by name.
| Palette | |
![]() |
getValueByIndex(value:int):*
Returns a palette entry value by index.
| Palette | |
![]() |
getValueByName(value:String):*
Returns a palette entry value by name.
| Palette | |
![]() |
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
| Palette | |
![]() |
onChange(event:PropertyChangeEvent):void
Triggeres the re generation of entry items when internal properties change.
| AutoPalette | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
appendItems(value:Array):void
Appends the passed array of values to the palette entries array and dictionary.
| AutoPalette | |
![]() |
callProperty(name:*, ... rest):*
| Palette | |
|
generatePalette():void
Generates the entries for this palette.
| PresetColorPalette | ||
![]() |
getProperty(name:*):*
| Palette | |
![]() |
setProperty(name:*, value:*):void
| Palette | |
| type | property |
type:String [read-write]The type of color space to use one of cool, hot or grey.
This property can be used as the source for data binding.
Implementation public function get type():String
public function set type(value:String):void
| PresetColorPalette | () | constructor |
public function PresetColorPalette()
| generatePalette | () | method |
protected override function generatePalette():voidGenerates the entries for this palette.