Packagexp.skins
Classpublic class RectangularBorder
InheritanceRectangularBorder Inheritance ProgrammaticSkin Inheritance mx.core.FlexSprite
SubclassesChartBorder

The RectangularBorder class is an abstract base class for various classes that draw rectangular borders around UIComponents.

This class implements support for the backgroundImage, backgroundSize, and backgroundAttachment styles.



Public Properties
 PropertyDefined by
  borderMetrics : EdgeMetrics
[read-only] The thickness of the border edges.
RectangularBorder
 Inheritedheight : Number
ProgrammaticSkin
 Inheritedinitialized : Boolean
ProgrammaticSkin
 InheritedmeasuredHeight : Number
The measured height of this object.
ProgrammaticSkin
 InheritedmeasuredWidth : Number
The measured width of this object.
ProgrammaticSkin
 InheritednestLevel : int
ProgrammaticSkin
 InheritedprocessedDescriptors : Boolean
ProgrammaticSkin
 InheritedstyleName : Object
A parent component used to obtain style values.
ProgrammaticSkin
 InheritedupdateCompletePendingFlag : Boolean
ProgrammaticSkin
 Inheritedwidth : Number
ProgrammaticSkin
Protected Properties
 PropertyDefined by
  backgroundAlpha : Number
RectangularBorder
  backgroundAttachment : String
RectangularBorder
  backgroundColor : Number
RectangularBorder
  backgroundImageChanged : Boolean = false
RectangularBorder
  backgroundSize : Object
RectangularBorder
  bc : SolidBorderFill
[static]
RectangularBorder
  borderAlpha : Number
RectangularBorder
  borderColor : Number
RectangularBorder
  borderStyle : String
RectangularBorder
  borderStyleChanged : Boolean = true
RectangularBorder
  borderThickness : Thickness
RectangularBorder
  changedStyles : Object
RectangularBorder
  cornerRadius : CornerRadius
RectangularBorder
 Inherited_deferLayout : Boolean = false
ProgrammaticSkin
  dropShadowStyleChanged : Boolean = true
RectangularBorder
  innerCornerRadius : CornerRadius
RectangularBorder
 InheritedinvalidateDisplayListFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidatePropertiesFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidateSizeFlag : Boolean = false
ProgrammaticSkin
  rc : BorderRectangle
[static]
RectangularBorder
  rc1 : RoundRectangle
[static]
RectangularBorder
 InheritedsizeChanged : Boolean = false
ProgrammaticSkin
Public Methods
 MethodDefined by
  
Constructor.
RectangularBorder
 Inherited
getStyle(styleProp:String):*
Returns the value of the specified style property.
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
ProgrammaticSkin
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
ProgrammaticSkin
 Inherited
styleChanged(styleProp:String):void
Whenever any style changes, redraw this skin.
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
validateNow():void
Validate and update the properties and layout of this object and redraw it, if necessary.
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
validateSize(recursive:Boolean = false):void
ProgrammaticSkin
Protected Methods
 MethodDefined by
 Inherited
ProgrammaticSkin
  
RectangularBorder
 Inherited
deferLayout(state:Boolean):void
ProgrammaticSkin
  
drawBorder(w:int, h:int):void
RectangularBorder
  
RectangularBorder
 Inherited
measure():void
ProgrammaticSkin
 Inherited
ProgrammaticSkin
  
RectangularBorder
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
ProgrammaticSkin
Protected Constants
 ConstantDefined by
  borderStyles : Object
[static]
RectangularBorder
  DEFAULT_FILL : IFill
[static]
RectangularBorder
  DEFAULT_STROKE : IStroke
[static]
RectangularBorder
Property detail
backgroundAlphaproperty
protected var backgroundAlpha:Number
backgroundAttachmentproperty 
protected var backgroundAttachment:String
backgroundColorproperty 
protected var backgroundColor:Number
backgroundImageChangedproperty 
protected var backgroundImageChanged:Boolean = false
backgroundSizeproperty 
protected var backgroundSize:Object
bcproperty 
protected static var bc:SolidBorderFill
borderAlphaproperty 
protected var borderAlpha:Number
borderColorproperty 
protected var borderColor:Number
borderMetricsproperty 
borderMetrics:EdgeMetrics  [read-only]

The thickness of the border edges.

Implementation
    public function get borderMetrics():EdgeMetrics
borderStyleproperty 
protected var borderStyle:String
borderStyleChangedproperty 
protected var borderStyleChanged:Boolean = true
borderThicknessproperty 
protected var borderThickness:Thickness
changedStylesproperty 
protected var changedStyles:Object
cornerRadiusproperty 
protected var cornerRadius:CornerRadius
dropShadowStyleChangedproperty 
protected var dropShadowStyleChanged:Boolean = true
innerCornerRadiusproperty 
protected var innerCornerRadius:CornerRadius
rcproperty 
protected static var rc:BorderRectangle
rc1property 
protected static var rc1:RoundRectangle
Constructor detail
RectangularBorder()constructor
public function RectangularBorder()

Constructor.

Method detail
createBackgroundImage()method
protected function createBackgroundImage():void
drawBorder()method 
protected function drawBorder(w:int, h:int):voidParameters
w:int
 
h:int
getBorderStyleProperties()method 
protected function getBorderStyleProperties():void
updateBorderStyleProperties()method 
protected function updateBorderStyleProperties():void
Constant detail
borderStylesconstant
protected static const borderStyles:Object
DEFAULT_FILLconstant 
protected static const DEFAULT_FILL:IFill
DEFAULT_STROKEconstant 
protected static const DEFAULT_STROKE:IStroke