(Preview)
Package | mx.core |
Class | public class EdgeMetrics |
Inheritance | EdgeMetrics ![]() |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The following Flex properties have values that are EdgeMetrics objects:
- The
borderMetrics
property of the mx.core.Container and mx.skins.Border classes includes only the border in the calculations of the property values of the EdgeMetrics object. - The
viewMetrics
property of the mx.core.Container class, and of subclasses of the Container class, includes possible scrollbars and non-content elements -- such as a Panel container's header area and the area for a ControlBar component -- in the calculations of the property values of the EdgeMetrics object. - The
viewMetricsAndPadding
property of the mx.core.Container class includes the items listed for theviewMetrics
property, plus the any areas defined by the margins of the container in the calculations of the property values of the EdgeMetrics object.
These three properites all return a reference to the same
EdgeMetrics object that the Container is using for its measurement
and layout; they do not return a copy of this object.
If you need a copy, call the clone()
method.
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
Public Constants
Constant | Defined By |
---|
Wed Nov 21 2018, 06:34 AM -08:00