Packagecom.degrafa.core.manipulators
Classpublic class DegrafaSkinManipulator
InheritanceDegrafaSkinManipulator Inheritance DegrafaObject

The DegrafaSkinManipulator allows one to tie in and manipulate the specified IGraphicSkin for an object. Degrafa Geometry, fills and strokes can then be manipulated and bound to like you would do with any other Degrafa graphic or geometry object.



Public Properties
 PropertyDefined by
  currentSkin : IGraphicSkin
Desired IGraphicSkin object for this hook
DegrafaSkinManipulator
 Inheriteddocument : Object
The MXML document that created this object.
DegrafaObject
 InheritedenableEvents : Boolean
Enable events for this object.
DegrafaObject
 InheritedhasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
DegrafaObject
 Inheritedid : String
The identifier used by document to refer to this object.
DegrafaObject
 Inheritedname : String
The name that refers to this object.
DegrafaObject
  skinsCollection : GraphicSkinCollection
[read-only] Access to an array of IGeometry items added as children to the skin.
DegrafaSkinManipulator
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
DegrafaObject
  target : DisplayObjectContainer
Target UI Object for this manipulator
DegrafaSkinManipulator
  targetSkinClass : Class
DegrafaSkinManipulator
Protected Properties
 PropertyDefined by
 InheritedeventDispatcher : EventDispatcher
EventDispatcher instance for this object.
DegrafaObject
Public Methods
 MethodDefined by
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
DegrafaObject
 Inherited
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
DegrafaObject
 Inherited
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
  
getSkinByName(value:String):IGraphicSkin
Return the requested skin if available by name.
DegrafaSkinManipulator
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
DegrafaObject
 Inherited
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
DegrafaObject
 Inherited
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
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
DegrafaObject
 Inherited
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
Events
 EventSummaryDefined by
 Inherited  DegrafaObject
 Inherited  DegrafaObject
Property detail
currentSkinproperty
currentSkin:IGraphicSkin  [read-write]

Desired IGraphicSkin object for this hook

This property can be used as the source for data binding.

Implementation
    public function get currentSkin():IGraphicSkin
    public function set currentSkin(value:IGraphicSkin):void
skinsCollectionproperty 
skinsCollection:GraphicSkinCollection  [read-only]

Access to an array of IGeometry items added as children to the skin.

This property can be used as the source for data binding.

Implementation
    public function get skinsCollection():GraphicSkinCollection
targetproperty 
target:DisplayObjectContainer  [read-write]

Target UI Object for this manipulator

This property can be used as the source for data binding.

Implementation
    public function get target():DisplayObjectContainer
    public function set target(value:DisplayObjectContainer):void
targetSkinClassproperty 
targetSkinClass:Class  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get targetSkinClass():Class
    public function set targetSkinClass(value:Class):void
Method detail
getSkinByName()method
public function getSkinByName(value:String):IGraphicSkin

Return the requested skin if available by name.

Parameters
value:String

Returns
IGraphicSkin