| Package | com.degrafa.paint.palette |
| Class | public dynamic class Palette |
| Inheritance | Palette mx.utils.ObjectProxy |
| Implements | mx.core.IMXMLObject |
| Subclasses | AutoPalette |
Default MXML Propertyentries
| Property | Defined by | ||
|---|---|---|---|
| document : Object [read-only]
The MXML document that created this object.
| Palette | ||
| entries : Array
An array of PaletteEntry objects.
| Palette | ||
| id : String
The identifier used by document to refer to this object.
| Palette | ||
| isInitialized : Boolean [read-only]
| Palette | ||
| name : String [read-only]
The name that refers to this object.
| Palette | ||
| palette : Palette | Palette | ||
| paletteEntries : Dictionary
An dictionary of palette entries.
| Palette | ||
| Method | Defined by | ||
|---|---|---|---|
|
Palette()
| Palette | ||
|
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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
callProperty(name:*, ... rest):*
| Palette | ||
|
getProperty(name:*):*
| Palette | ||
|
setProperty(name:*, value:*):void
| Palette | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Palette | ||||
| Palette | ||||
| document | property |
document:Object [read-only]The MXML document that created this object.
This property can be used as the source for data binding.
Implementation public function get document():Object
| entries | property |
entries:Array [read-write]An array of PaletteEntry objects.
This property can be used as the source for data binding.
Implementation public function get entries():Array
public function set entries(value:Array):void
| id | property |
id:String [read-write]The identifier used by document to refer to this object.
This property can be used as the source for data binding.
Implementation public function get id():String
public function set id(value:String):void
| isInitialized | property |
isInitialized:Boolean [read-only]This property can be used as the source for data binding.
Implementation public function get isInitialized():Boolean
| name | property |
name:String [read-only]The name that refers to this object.
This property can be used as the source for data binding.
Implementation public function get name():String
| palette | property |
public var palette:Palette
| paletteEntries | property |
public var paletteEntries:DictionaryAn dictionary of palette entries.
| Palette | () | constructor |
public function Palette()
| callProperty | () | method |
flash_proxy override function callProperty(name:*, ... rest):*Parameters
name:* |
|
... rest |
* |
| clear | () | method |
public function clear():voidRemoves all palette entries.
| getItemByIndex | () | method |
public function getItemByIndex(value:int):*Returns a palette entry item by index.
Parametersvalue:int |
* — a palette entry object.
|
| getItemByName | () | method |
public function getItemByName(value:String):*Returns a palette entry item by name.
Parametersvalue:String |
* — a palette entry object.
|
| getProperty | () | method |
flash_proxy override function getProperty(name:*):*Parameters
name:* |
* |
| getValueByIndex | () | method |
public function getValueByIndex(value:int):*Returns a palette entry value by index.
Parametersvalue:int |
* — a palette entry objects value.
|
| getValueByName | () | method |
public function getValueByName(value:String):*Returns a palette entry value by name.
Parametersvalue:String |
* — a palette entry objects value.
|
| initialized | () | method |
public function initialized(document:Object, id:String):voidCalled after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
Parametersdocument:Object — The MXML document that created this object.
|
|
id:String — The identifier used by document to refer to this object.
|
| setProperty | () | method |
flash_proxy override function setProperty(name:*, value:*):voidParameters
name:* |
|
value:* |
| initialize | event |
| propertyChange | event |