| Package | com.degrafa.paint.palette |
| Class | public class PaletteEntry |
| Inheritance | PaletteEntry DegrafaObject |
Default MXML Propertyvalue
| Property | Defined by | ||
|---|---|---|---|
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | isInitialized : Boolean | DegrafaObject | |
| name : String
The name value for this item.
| PaletteEntry | ||
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| value : Object
The value for this item typically a color but can be of other types.
| PaletteEntry | ||
| Property | Defined by | ||
|---|---|---|---|
![]() | eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | |
| type : Class | PaletteEntry | ||
| typeName : String | PaletteEntry | ||
| Method | Defined by | ||
|---|---|---|---|
|
PaletteEntry(name:String, value:Object = null)
| PaletteEntry | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
| DegrafaObject | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
![]() |
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.
| DegrafaObject | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| DegrafaObject | |
| name | property |
name:String [read-write]The name value for this item.
Implementation public function get name():String
public function set name(value:String):void
| type | property |
protected var type:Class
| typeName | property |
protected var typeName:String
| value | property |
value:Object [read-write]The value for this item typically a color but can be of other types.
Implementation public function get value():Object
public function set value(value:Object):void
| PaletteEntry | () | constructor |
public function PaletteEntry(name:String, value:Object = null)Parameters
name:String |
|
value:Object (default = null) |