Package | mx.skins |
Class | public class Border |
Inheritance | Border ProgrammaticSkin FlexShape flash.display.Shape |
Implements | IBorder |
Subclasses | AudioScrubBarHighlightSkin, CustomScrollArrowSkin, CustomScrollThumbSkin, CustomScrollTrackSkin, EnhancedButtonSkin, FirstButtonSkin, FullScreenSkin, LastButtonSkin, NextButtonSkin, PlayPauseSkin, PreviousButtonSkin, ProgressBarSkin, ProgressIndeterminateSkin, ProgressTrackSkin, RectangularBorder, SliderThumbSkin, SliderTrackSkin |
If you create a new non-rectangular border class, you should extend this class. If you create a new rectangular border class, you should extend the abstract subclass RectangularBorder.
Property | Defined by | ||
---|---|---|---|
borderMetrics : EdgeMetrics
[read-only]
The thickness of the border edges.
| Border | ||
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
The measured height of this object.
| ProgrammaticSkin | ||
measuredWidth : Number
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 | ||
---|---|---|---|
Border()
Constructor.
| Border | ||
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 | ||
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
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 |
borderMetrics | property |
borderMetrics:EdgeMetrics
[read-only]The thickness of the border edges.
Implementation public function get borderMetrics():EdgeMetrics
Border | () | constructor |
public function Border()
Constructor.