| Package | com.degrafa.skins |
| Class | public class GraphicRectangularBorderSkin |
| Inheritance | GraphicRectangularBorderSkin mx.skins.RectangularBorder |
| Implements | IDegrafaStateClient, IGraphicSkin |
Default MXML Propertygeometry
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
| GraphicRectangularBorderSkin | ||
| currentState | property |
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
| data | property |
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
| enableEvents | property |
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
| fill | property |
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
| fillCollection | property |
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
| fills | property |
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
| geometry | property |
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
| geometryCollection | property |
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
| hasEventManager | property |
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
| isInitialized | property |
isInitialized:Boolean [read-only]This property can be used as the source for data binding.
Implementation public function get isInitialized():Boolean
| skinHeight | property |
public var skinHeight:Number = 0
This property can be used as the source for data binding.
| skinWidth | property |
public var skinWidth:Number = 0
This property can be used as the source for data binding.
| state | property |
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
| stateEvent | property |
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
| states | property |
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
| stroke | property |
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
| strokeCollection | property |
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
| strokes | property |
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
| surpressEventProcessing | property |
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
| triggers | property |
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
| GraphicRectangularBorderSkin | () | constructor |
public function GraphicRectangularBorderSkin()
| dispatchEvent | () | method |
public override function dispatchEvent(event:Event):BooleanDispatches an event into the event flow.
Parametersevent:Event |
Boolean |
See also
| dispatchPropertyChange | () | method |
public function dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):BooleanDispatches an property change event into the event flow.
Parametersbubbles:Boolean (default = false) |
|
property:Object (default = null) |
|
oldValue:Object (default = null) |
|
newValue:Object (default = null) |
|
source:Object (default = null) |
Boolean |
| draw | () | method |
public function draw(graphics:Graphics, rc:Rectangle):voidBegins the draw phase for graphic objects. All graphic objects override this to do their specific rendering.
Parametersgraphics:Graphics — The current context to draw to.
|
|
rc:Rectangle — A Rectangle object used for fill bounds.
|
| endDraw | () | method |
public function endDraw(graphics:Graphics):voidEnds the draw phase for geometry objects.
Parametersgraphics:Graphics — The current Graphics context being drawn to.
|
| initChange | () | method |
public function initChange(property:String, oldValue:Object, newValue:Object, source:Object):voidHelper function for dispatching property changes
Parametersproperty:String |
|
oldValue:Object |
|
newValue:Object |
|
source:Object |
| updateDisplayList | () | method |
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidDraws the object and/or sizes and positions its children.
ParametersunscaledWidth:Number |
|
unscaledHeight:Number |