Package | mx.skins |
Class | public class RectangularBorder |
Inheritance | RectangularBorder Border ProgrammaticSkin FlexShape flash.display.Shape |
Implements | IRectangularBorder |
Subclasses | HaloBorder, ToolTipBorder |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
This class implements support for the backgroundImage
,
backgroundSize
, and backgroundAttachment
styles.
Property | Defined By | ||
---|---|---|---|
backgroundImageBounds : Rectangle
Rectangular area within which to draw the background image. | RectangularBorder | ||
borderMetrics : EdgeMetrics [read-only]
The thickness of the border edges. | Border | ||
hasBackgroundImage : Boolean [read-only]
Contains true if the RectangularBorder instance
contains a background image. | RectangularBorder | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout: commitment, measurement, and layout (provided that any were required). | ProgrammaticSkin | ||
measuredHeight : Number [read-only]
The measured height of this object. | ProgrammaticSkin | ||
measuredWidth : Number [read-only]
The measured width of this object. | ProgrammaticSkin | ||
nestLevel : int
Depth of this object in the containment hierarchy. | ProgrammaticSkin | ||
processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | ProgrammaticSkin | ||
styleName : Object
A parent component used to obtain style values. | ProgrammaticSkin | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required). | ProgrammaticSkin |
Method | Defined By | ||
---|---|---|---|
Constructor. | RectangularBorder | ||
getStyle(styleProp:String):*
Returns the value of the specified style property. | ProgrammaticSkin | ||
invalidateDisplayList():void
Marks a component so that its updateDisplayList()
method gets called during a later screen update. | ProgrammaticSkin | ||
invalidateProperties():void
Calling this method results in a call to the component's
validateProperties() method
before the display list is rendered. | ProgrammaticSkin | ||
invalidateSize():void
Calling this method results in a call to the component's
validateSize() method
before the display list is rendered. | ProgrammaticSkin | ||
layoutBackgroundImage():void
Layout the background image. | RectangularBorder | ||
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 | ||
toString():String [override]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexShape | ||
validateDisplayList():void
This function is called by the LayoutManager
when it's time for this control to draw itself. | ProgrammaticSkin | ||
validateNow():void
Validate and update the properties and layout of this object
and redraw it, if necessary. | ProgrammaticSkin | ||
validateProperties():void
This function is an empty stub so that ProgrammaticSkin
can implement the ILayoutManagerClient interface. | ProgrammaticSkin | ||
validateSize(recursive:Boolean = false):void
This function is an empty stub so that ProgrammaticSkin
can implement the ILayoutManagerClient interface. | ProgrammaticSkin |
backgroundImageBounds | property |
backgroundImageBounds:Rectangle
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Rectangular area within which to draw the background image.
This can be larger than the dimensions of the border
if the parent container has scrollable content.
If this property is null, the border can use
the parent's size and viewMetrics
property to determine its value.
public function get backgroundImageBounds():Rectangle
public function set backgroundImageBounds(value:Rectangle):void
hasBackgroundImage | property |
hasBackgroundImage:Boolean
[read-only] Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Contains true
if the RectangularBorder instance
contains a background image.
public function get hasBackgroundImage():Boolean
RectangularBorder | () | Constructor |
public function RectangularBorder()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
layoutBackgroundImage | () | method |
public function layoutBackgroundImage():void
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Layout the background image.