| Pacote | mx.containers.utilityClasses |
| Classe | public class PostScaleAdapter |
| Herança | PostScaleAdapter Object |
| Implementações | IUIComponent, IConstraintClient, IInvalidating |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
| Propriedade | Definido por | ||
|---|---|---|---|
| accessibilityProperties : AccessibilityProperties | PostScaleAdapter | ||
| alpha : Number | PostScaleAdapter | ||
| baselinePosition : Number [somente leitura]
| PostScaleAdapter | ||
| blendMode : String | PostScaleAdapter | ||
| cacheAsBitmap : Boolean | PostScaleAdapter | ||
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
| document : Object
A reference to the document object associated with this component. | PostScaleAdapter | ||
| enabled : Boolean
Whether the component can accept user interaction. | PostScaleAdapter | ||
| explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| explicitMaxHeight : Number [somente leitura]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| explicitMaxWidth : Number [somente leitura]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| explicitMinHeight : Number [somente leitura]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| explicitMinWidth : Number [somente leitura]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| filters : Array | PostScaleAdapter | ||
| focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | PostScaleAdapter | ||
| height : Number | PostScaleAdapter | ||
| includeInLayout : Boolean | PostScaleAdapter | ||
| isPopUp : Boolean | PostScaleAdapter | ||
| loaderInfo : LoaderInfo [somente leitura]
| PostScaleAdapter | ||
| mask : DisplayObject | PostScaleAdapter | ||
| maxHeight : Number [somente leitura]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| maxWidth : Number [somente leitura]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| measuredHeight : Number [somente leitura]
The measured height of this object. | PostScaleAdapter | ||
| measuredMinHeight : Number | PostScaleAdapter | ||
| measuredMinWidth : Number | PostScaleAdapter | ||
| measuredWidth : Number [somente leitura]
The measured width of this object. | PostScaleAdapter | ||
| minHeight : Number [somente leitura]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| minWidth : Number [somente leitura]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
| mouseX : Number [somente leitura]
| PostScaleAdapter | ||
| mouseY : Number [somente leitura]
| PostScaleAdapter | ||
| name : String | PostScaleAdapter | ||
| opaqueBackground : Object | PostScaleAdapter | ||
| owner : DisplayObjectContainer | PostScaleAdapter | ||
| parent : DisplayObjectContainer [somente leitura]
| PostScaleAdapter | ||
| percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | PostScaleAdapter | ||
| percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | PostScaleAdapter | ||
| root : DisplayObject [somente leitura]
| PostScaleAdapter | ||
| rotation : Number | PostScaleAdapter | ||
| scale9Grid : Rectangle | PostScaleAdapter | ||
| scaleX : Number | PostScaleAdapter | ||
| scaleY : Number | PostScaleAdapter | ||
| scrollRect : Rectangle | PostScaleAdapter | ||
| stage : Stage [somente leitura]
| PostScaleAdapter | ||
| systemManager : ISystemManager
A reference to the SystemManager object for this component. | PostScaleAdapter | ||
| transform : flash.geom:Transform | PostScaleAdapter | ||
| tweeningProperties : Array
Used by EffectManager. | PostScaleAdapter | ||
| visible : Boolean | PostScaleAdapter | ||
| width : Number | PostScaleAdapter | ||
| x : Number | PostScaleAdapter | ||
| y : Number | PostScaleAdapter | ||
| Método | Definido por | ||
|---|---|---|---|
| PostScaleAdapter | |||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
[estático]
Call getCompatibleIUIComponent when you need to work with an IUIComponent that
reports width, height, min, max, explicit, measured, etc. | PostScaleAdapter | ||
Returns the specified constraint value. | PostScaleAdapter | ||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
| PostScaleAdapter | |||
| PostScaleAdapter | |||
Initialize the object. | PostScaleAdapter | ||
Calling this method results in a call to the component's
validateDisplayList() method
before the display list is rendered. | PostScaleAdapter | ||
Calling this method results in a call to the component's
validateProperties() method
before the display list is rendered. | PostScaleAdapter | ||
Calling this method results in a call to the component's
validateSize() method
before the display list is rendered. | PostScaleAdapter | ||
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
| PostScaleAdapter | |||
Moves this object to the specified x and y coordinates. | PostScaleAdapter | ||
| PostScaleAdapter | |||
| PostScaleAdapter | |||
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
| PostScaleAdapter | |||
Sets the actual size of this object. | PostScaleAdapter | ||
Sets the specified constraint value. | PostScaleAdapter | ||
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
| PostScaleAdapter | |||
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
Validates and updates the properties and layout of this object
by immediately calling validateProperties(),
validateSize(), and validateDisplayList(),
if necessary. | PostScaleAdapter | ||
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
| PostScaleAdapter | |||
accessibilityProperties | propriedade |
accessibilityProperties:AccessibilityProperties| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get accessibilityProperties():AccessibilityProperties public function set accessibilityProperties(value:AccessibilityProperties):voidalpha | propriedade |
baselinePosition | propriedade |
blendMode | propriedade |
cacheAsBitmap | propriedade |
document | propriedade |
document:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A reference to the document object associated with this component. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.
Implementação
public function get document():Object public function set document(value:Object):voidenabled | propriedade |
enabled:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Whether the component can accept user interaction. After setting the enabled
property to false, some components still respond to mouse interactions such
as mouseOver. As a result, to fully disable UIComponents,
you should also set the value of the mouseEnabled property to false.
If you set the enabled property to false
for a container, Flex dims the color of the container and of all
of its children, and blocks user input to the container
and to all of its children.
Implementação
public function get enabled():Boolean public function set enabled(value:Boolean):voidexplicitHeight | propriedade |
explicitHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The explicitly specified height for the component,
in pixels, as the component's coordinates.
If no height is explicitly specified, the value is NaN.
Implementação
public function get explicitHeight():Number public function set explicitHeight(value:Number):voidexplicitMaxHeight | propriedade |
explicitMaxHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMaxHeight():NumberexplicitMaxWidth | propriedade |
explicitMaxWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMaxWidth():NumberexplicitMinHeight | propriedade |
explicitMinHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMinHeight():NumberexplicitMinWidth | propriedade |
explicitMinWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMinWidth():NumberexplicitWidth | propriedade |
explicitWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The explicitly specified width for the component,
in pixels, as the component's coordinates.
If no width is explicitly specified, the value is NaN.
Implementação
public function get explicitWidth():Number public function set explicitWidth(value:Number):voidfilters | propriedade |
focusPane | propriedade |
focusPane:Sprite| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator. Components share this object if their parent is a focused component, not if the component implements the IFocusManagerComponent interface.
Implementação
public function get focusPane():Sprite public function set focusPane(value:Sprite):voidheight | propriedade |
includeInLayout | propriedade |
isPopUp | propriedade |
loaderInfo | propriedade |
loaderInfo:LoaderInfo [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get loaderInfo():LoaderInfomask | propriedade |
mask:DisplayObject| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get mask():DisplayObject public function set mask(value:DisplayObject):voidmaxHeight | propriedade |
maxWidth | propriedade |
measuredHeight | propriedade |
measuredHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The measured height of this object.
This is typically hard-coded for graphical skins
because this number is simply the number of pixels in the graphic.
For code skins, it can also be hard-coded
if you expect to be drawn at a certain size.
If your size can change based on properties, you may want
to also be an ILayoutManagerClient so a measure()
method will be called at an appropriate time,
giving you an opportunity to compute a measuredHeight.
Implementação
public function get measuredHeight():NumbermeasuredMinHeight | propriedade |
measuredMinWidth | propriedade |
measuredWidth | propriedade |
measuredWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The measured width of this object.
This is typically hard-coded for graphical skins
because this number is simply the number of pixels in the graphic.
For code skins, it can also be hard-coded
if you expect to be drawn at a certain size.
If your size can change based on properties, you may want
to also be an ILayoutManagerClient so a measure()
method will be called at an appropriate time,
giving you an opportunity to compute a measuredHeight.
Implementação
public function get measuredWidth():NumberminHeight | propriedade |
minWidth | propriedade |
mouseX | propriedade |
mouseY | propriedade |
name | propriedade |
opaqueBackground | propriedade |
owner | propriedade |
owner:DisplayObjectContainer| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get owner():DisplayObjectContainer public function set owner(value:DisplayObjectContainer):voidparent | propriedade |
parent:DisplayObjectContainer [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get parent():DisplayObjectContainerpercentHeight | propriedade |
percentHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the height of a component as a percentage of its parent's size. Allowed values are 0 to 100.
Implementação
public function get percentHeight():Number public function set percentHeight(value:Number):voidpercentWidth | propriedade |
percentWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the width of a component as a percentage of its parent's size. Allowed values are 0 to 100.
Implementação
public function get percentWidth():Number public function set percentWidth(value:Number):voidroot | propriedade |
root:DisplayObject [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get root():DisplayObjectrotation | propriedade |
scale9Grid | propriedade |
scaleX | propriedade |
scaleY | propriedade |
scrollRect | propriedade |
stage | propriedade |
systemManager | propriedade |
systemManager:ISystemManager| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
Implementação
public function get systemManager():ISystemManager public function set systemManager(value:ISystemManager):voidtransform | propriedade |
transform:flash.geom:Transform| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Implementação
public function get transform():flash.geom:Transform public function set transform(value:flash.geom:Transform):voidtweeningProperties | propriedade |
tweeningProperties:Array| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
Implementação
public function get tweeningProperties():Array public function set tweeningProperties(value:Array):voidvisible | propriedade |
width | propriedade |
x | propriedade |
y | propriedade |
PostScaleAdapter | () | Construtor |
addEventListener | () | método |
dispatchEvent | () | método |
getBounds | () | método |
public function getBounds(targetCoordinateSpace:DisplayObject):Rectangle| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Parâmetros
targetCoordinateSpace:DisplayObject |
Rectangle |
getCompatibleIUIComponent | () | método |
public static function getCompatibleIUIComponent(obj:Object):IUIComponent| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Call getCompatibleIUIComponent when you need to work with an IUIComponent that reports width, height, min, max, explicit, measured, etc. in post-scale coordinates.
Parâmetros
obj:Object |
IUIComponent |
getConstraintValue | () | método |
public function getConstraintValue(constraintName:String):*| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Returns the specified constraint value.
Parâmetros
constraintName:String — name of the constraint value. Constraint parameters are
"baseline", "bottom", "horizontalCenter",
"left", "right", "top", and
"verticalCenter".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. |
* — The constraint value, or null if it is not defined.
|
getExplicitOrMeasuredHeight | () | método |
getExplicitOrMeasuredWidth | () | método |
getRect | () | método |
public function getRect(targetCoordinateSpace:DisplayObject):Rectangle| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Parâmetros
targetCoordinateSpace:DisplayObject |
Rectangle |
globalToLocal | () | método |
hasEventListener | () | método |
hitTestObject | () | método |
public function hitTestObject(obj:DisplayObject):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Parâmetros
obj:DisplayObject |
Boolean |
hitTestPoint | () | método |
initialize | () | método |
public function initialize():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Initialize the object.
invalidateDisplayList | () | método |
public function invalidateDisplayList():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateDisplayList() method
before the display list is rendered.
For components that extend UIComponent, this implies
that updateDisplayList() is called.
invalidateProperties | () | método |
public function invalidateProperties():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateProperties() method
before the display list is rendered.
For components that extend UIComponent, this implies
that commitProperties() is called.
invalidateSize | () | método |
public function invalidateSize():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateSize() method
before the display list is rendered.
For components that extend UIComponent, this implies
that measure() is called, unless the component
has both explicitWidth and explicitHeight
set.
localToGlobal | () | método |
move | () | método |
public function move(x:Number, y:Number):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Moves this object to the specified x and y coordinates.
Parâmetros
x:Number — The new x-position for this object.
| |
y:Number — The new y-position for this object.
|
owns | () | método |
public function owns(displayObject:DisplayObject):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Parâmetros
displayObject:DisplayObject |
Boolean |
parentChanged | () | método |
public function parentChanged(p:DisplayObjectContainer):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Parâmetros
p:DisplayObjectContainer |
removeEventListener | () | método |
setActualSize | () | método |
public function setActualSize(newWidth:Number, newHeight:Number):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Sets the actual size of this object.
This method is mainly for use in implementing the
updateDisplayList() method, which is where
you compute this object's actual size based on
its explicit size, parent-relative (percent) size,
and measured size.
You then apply this actual size to the object
by calling setActualSize().
In other situations, you should be setting properties
such as width, height,
percentWidth, or percentHeight
rather than calling this method.
Parâmetros
newWidth:Number — The new width for this object.
| |
newHeight:Number — The new height for this object.
|
setConstraintValue | () | método |
public function setConstraintValue(constraintName:String, value:*):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Sets the specified constraint value.
Parâmetros
constraintName:String — name of the constraint value. Constraint parameters are
"baseline", "bottom", "horizontalCenter",
"left", "right", "top", and
"verticalCenter".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. | |
value:* — The new value for the constraint.
|
setVisible | () | método |
validateNow | () | método |
public function validateNow():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Validates and updates the properties and layout of this object
by immediately calling validateProperties(),
validateSize(), and validateDisplayList(),
if necessary.
When properties are changed, the new values do not usually have
an immediate effect on the component.
Usually, all of the application code that needs to be run
at that time is executed. Then the LayoutManager starts
calling the validateProperties(),
validateSize(), and validateDisplayList()
methods on components, based on their need to be validated and their
depth in the hierarchy of display list objects.
For example, setting the width property is delayed, because
it may require recalculating the widths of the object's children
or its parent.
Delaying the processing also prevents it from being repeated
multiple times if the application code sets the width property
more than once.
This method lets you manually override this behavior.
willTrigger | () | método |
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas