Packagecom.degrafa.skins
Classpublic class GraphicRectangularBorderSkin
InheritanceGraphicRectangularBorderSkin Inheritance mx.skins.RectangularBorder
ImplementsIDegrafaStateClient, IGraphicSkin

GraphicRectangularBorderSkin is an extension of RectangularBorder for use declarativly.

Default MXML Propertygeometry



Public Properties
 PropertyDefined by
  currentState : String
GraphicRectangularBorderSkin
  data : Object
Allows a short hand property setting that is specific to and parsed by each geometry object.
GraphicRectangularBorderSkin
  enableEvents : Boolean
Enable events for this object.
GraphicRectangularBorderSkin
  fill : IGraphicsFill
Defines the fill object that will be used for rendering this geometry object.
GraphicRectangularBorderSkin
  fillCollection : FillCollection
[read-only] Access to the Degrafa fill collection object for this graphic object.
GraphicRectangularBorderSkin
  fills : Array
A array of IGraphicsFill objects.
GraphicRectangularBorderSkin
  geometry : Array
A array of IGeometryComposition objects.
GraphicRectangularBorderSkin
  geometryCollection : GeometryCollection
[read-only] Access to the Degrafa geometry collection object for this geometry object.
GraphicRectangularBorderSkin
  hasEventManager : Boolean
[read-only] Tests to see if a EventDispatcher instance has been created for this object.
GraphicRectangularBorderSkin
  isInitialized : Boolean
[read-only]
GraphicRectangularBorderSkin
  skinHeight : Number = 0
GraphicRectangularBorderSkin
  skinWidth : Number = 0
GraphicRectangularBorderSkin
  state : String
The state at which to draw this object
GraphicRectangularBorderSkin
  stateEvent : String
The state event at which to draw this object
GraphicRectangularBorderSkin
  states : Array
GraphicRectangularBorderSkin
  stroke : IGraphicsStroke
Defines the stroke object that will be used for rendering this geometry object.
GraphicRectangularBorderSkin
  strokeCollection : StrokeCollection
[read-only] Access to the Degrafa stroke collection object for this graphic object.
GraphicRectangularBorderSkin
  strokes : Array
A array of IStroke objects.
GraphicRectangularBorderSkin
  surpressEventProcessing : Boolean
Temporarily suppress event processing for this object.
GraphicRectangularBorderSkin
  triggers : Array
GraphicRectangularBorderSkin
Public Methods
 MethodDefined by
  
GraphicRectangularBorderSkin
  
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
GraphicRectangularBorderSkin
  
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.
GraphicRectangularBorderSkin
  
draw(graphics:Graphics, rc:Rectangle):void
Begins the draw phase for graphic objects.
GraphicRectangularBorderSkin
  
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
GraphicRectangularBorderSkin
  
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
GraphicRectangularBorderSkin
Protected Methods
 MethodDefined by
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
GraphicRectangularBorderSkin
Property detail
currentStateproperty
currentState:String  [read-write]

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

Implementation
    public function get currentState():String
    public function set currentState(value:String):void
dataproperty 
data:Object  [read-write]

Allows a short hand property setting that is specific to and parsed by each geometry object. Look at the various geometry objects to learn what this setting requires.

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

Implementation
    public function get data():Object
    public function set data(value:Object):void
enableEventsproperty 
enableEvents:Boolean  [read-write]

Enable events for this object.

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

Implementation
    public function get enableEvents():Boolean
    public function set enableEvents(value:Boolean):void
fillproperty 
fill:IGraphicsFill  [read-write]

Defines the fill object that will be used for rendering this geometry object.

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

Implementation
    public function get fill():IGraphicsFill
    public function set fill(value:IGraphicsFill):void
fillCollectionproperty 
fillCollection:FillCollection  [read-only]

Access to the Degrafa fill collection object for this graphic object.

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

Implementation
    public function get fillCollection():FillCollection
fillsproperty 
fills:Array  [read-write]

A array of IGraphicsFill objects.

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

Implementation
    public function get fills():Array
    public function set fills(value:Array):void
geometryproperty 
geometry:Array  [read-write]

A array of IGeometryComposition objects.

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

Implementation
    public function get geometry():Array
    public function set geometry(value:Array):void
geometryCollectionproperty 
geometryCollection:GeometryCollection  [read-only]

Access to the Degrafa geometry collection object for this geometry object.

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

Implementation
    public function get geometryCollection():GeometryCollection
hasEventManagerproperty 
hasEventManager:Boolean  [read-only]

Tests to see if a EventDispatcher instance has been created for this object.

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

Implementation
    public function get hasEventManager():Boolean
isInitializedproperty 
isInitialized:Boolean  [read-only]

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

Implementation
    public function get isInitialized():Boolean
skinHeightproperty 
public var skinHeight:Number = 0

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

skinWidthproperty 
public var skinWidth:Number = 0

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

stateproperty 
state:String  [read-write]

The state at which to draw this object

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

Implementation
    public function get state():String
    public function set state(value:String):void
stateEventproperty 
stateEvent:String  [read-write]

The state event at which to draw this object

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

Implementation
    public function get stateEvent():String
    public function set stateEvent(value:String):void
statesproperty 
states:Array  [read-write]

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

Implementation
    public function get states():Array
    public function set states(value:Array):void
strokeproperty 
stroke:IGraphicsStroke  [read-write]

Defines the stroke object that will be used for rendering this geometry object.

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

Implementation
    public function get stroke():IGraphicsStroke
    public function set stroke(value:IGraphicsStroke):void
strokeCollectionproperty 
strokeCollection:StrokeCollection  [read-only]

Access to the Degrafa stroke collection object for this graphic object.

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

Implementation
    public function get strokeCollection():StrokeCollection
strokesproperty 
strokes:Array  [read-write]

A array of IStroke objects.

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

Implementation
    public function get strokes():Array
    public function set strokes(value:Array):void
surpressEventProcessingproperty 
surpressEventProcessing:Boolean  [read-write]

Temporarily suppress event processing for this object.

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

Implementation
    public function get surpressEventProcessing():Boolean
    public function set surpressEventProcessing(value:Boolean):void
triggersproperty 
triggers:Array  [read-write]

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

Implementation
    public function get triggers():Array
    public function set triggers(value:Array):void
Constructor detail
GraphicRectangularBorderSkin()constructor
public function GraphicRectangularBorderSkin()
Method detail
dispatchEvent()method
public override function dispatchEvent(event:Event):Boolean

Dispatches an event into the event flow.

Parameters
event:Event

Returns
Boolean

See also

EventDispatcher
dispatchPropertyChange()method 
public function 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.

Parameters
bubbles:Boolean (default = false)
 
property:Object (default = null)
 
oldValue:Object (default = null)
 
newValue:Object (default = null)
 
source:Object (default = null)

Returns
Boolean
draw()method 
public function draw(graphics:Graphics, rc:Rectangle):void

Begins the draw phase for graphic objects. All graphic objects override this to do their specific rendering.

Parameters
graphics:Graphics — The current context to draw to.
 
rc:Rectangle — A Rectangle object used for fill bounds.
endDraw()method 
public function endDraw(graphics:Graphics):void

Ends the draw phase for geometry objects.

Parameters
graphics:Graphics — The current Graphics context being drawn to.
initChange()method 
public function initChange(property:String, oldValue:Object, newValue:Object, source:Object):void

Helper function for dispatching property changes

Parameters
property:String
 
oldValue:Object
 
newValue:Object
 
source:Object
updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Draws the object and/or sizes and positions its children.

Parameters
unscaledWidth:Number
 
unscaledHeight:Number