| Package | xp.skins |
| Class | public class RectangularBorder |
| Inheritance | RectangularBorder ProgrammaticSkin mx.core.FlexSprite |
| Subclasses | ChartBorder |
This class implements support for the backgroundImage,
backgroundSize, and backgroundAttachment styles.
| Property | Defined by | ||
|---|---|---|---|
| borderMetrics : EdgeMetrics [read-only]
The thickness of the border edges.
| RectangularBorder | ||
![]() | height : Number | ProgrammaticSkin | |
![]() | initialized : Boolean | ProgrammaticSkin | |
![]() | measuredHeight : Number
The measured height of this object.
| ProgrammaticSkin | |
![]() | measuredWidth : Number
The measured width of this object.
| ProgrammaticSkin | |
![]() | nestLevel : int | ProgrammaticSkin | |
![]() | processedDescriptors : Boolean | ProgrammaticSkin | |
![]() | styleName : Object
A parent component used to obtain style values.
| ProgrammaticSkin | |
![]() | updateCompletePendingFlag : Boolean | ProgrammaticSkin | |
![]() | width : Number | ProgrammaticSkin | |
| Property | Defined 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 | ||
![]() | _deferLayout : Boolean = false | ProgrammaticSkin | |
| dropShadowStyleChanged : Boolean = true | RectangularBorder | ||
| innerCornerRadius : CornerRadius | RectangularBorder | ||
![]() | invalidateDisplayListFlag : Boolean = false | ProgrammaticSkin | |
![]() | invalidatePropertiesFlag : Boolean = false | ProgrammaticSkin | |
![]() | invalidateSizeFlag : Boolean = false | ProgrammaticSkin | |
| rc : BorderRectangle
[static]
| RectangularBorder | ||
| rc1 : RoundRectangle
[static]
| RectangularBorder | ||
![]() | sizeChanged : Boolean = false | ProgrammaticSkin | |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| RectangularBorder | ||
![]() |
getStyle(styleProp:String):*
Returns the value of the specified style property.
| ProgrammaticSkin | |
![]() |
invalidateDisplayList():void
| ProgrammaticSkin | |
![]() |
invalidateProperties():void
| ProgrammaticSkin | |
![]() |
invalidateSize():void
| ProgrammaticSkin | |
![]() |
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
| ProgrammaticSkin | |
![]() |
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
| ProgrammaticSkin | |
![]() |
styleChanged(styleProp:String):void
Whenever any style changes, redraw this skin.
| ProgrammaticSkin | |
![]() |
validateDisplayList():void
| ProgrammaticSkin | |
![]() |
validateNow():void
Validate and update the properties and layout of this object
and redraw it, if necessary.
| ProgrammaticSkin | |
![]() |
validateProperties():void
| ProgrammaticSkin | |
![]() |
validateSize(recursive:Boolean = false):void
| ProgrammaticSkin | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
commitProperties():void
| ProgrammaticSkin | |
|
createBackgroundImage():void
| RectangularBorder | ||
![]() |
deferLayout(state:Boolean):void
| ProgrammaticSkin | |
|
drawBorder(w:int, h:int):void
| RectangularBorder | ||
|
getBorderStyleProperties():void
| RectangularBorder | ||
![]() |
measure():void
| ProgrammaticSkin | |
![]() |
nestLevelChanged():void
| ProgrammaticSkin | |
|
updateBorderStyleProperties():void
| RectangularBorder | ||
![]() |
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
| ProgrammaticSkin | |
| Constant | Defined by | ||
|---|---|---|---|
| borderStyles : Object [static]
| RectangularBorder | ||
| DEFAULT_FILL : IFill [static]
| RectangularBorder | ||
| DEFAULT_STROKE : IStroke [static]
| RectangularBorder | ||
| backgroundAlpha | property |
protected var backgroundAlpha:Number
| backgroundAttachment | property |
protected var backgroundAttachment:String
| backgroundColor | property |
protected var backgroundColor:Number
| backgroundImageChanged | property |
protected var backgroundImageChanged:Boolean = false
| backgroundSize | property |
protected var backgroundSize:Object
| bc | property |
protected static var bc:SolidBorderFill
| borderAlpha | property |
protected var borderAlpha:Number
| borderColor | property |
protected var borderColor:Number
| borderMetrics | property |
borderMetrics:EdgeMetrics [read-only]The thickness of the border edges.
Implementation public function get borderMetrics():EdgeMetrics
| borderStyle | property |
protected var borderStyle:String
| borderStyleChanged | property |
protected var borderStyleChanged:Boolean = true
| borderThickness | property |
protected var borderThickness:Thickness
| changedStyles | property |
protected var changedStyles:Object
| cornerRadius | property |
protected var cornerRadius:CornerRadius
| dropShadowStyleChanged | property |
protected var dropShadowStyleChanged:Boolean = true
| innerCornerRadius | property |
protected var innerCornerRadius:CornerRadius
| rc | property |
protected static var rc:BorderRectangle
| rc1 | property |
protected static var rc1:RoundRectangle
| RectangularBorder | () | constructor |
public function RectangularBorder()Constructor.
| 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
| borderStyles | constant |
protected static const borderStyles:Object
| DEFAULT_FILL | constant |
protected static const DEFAULT_FILL:IFill
| DEFAULT_STROKE | constant |
protected static const DEFAULT_STROKE:IStroke