Pakket | mx.containers.utilityClasses |
Klasse | public class PostScaleAdapter |
Overerving | PostScaleAdapter Object |
Implementatie | IUIComponent, IConstraintClient, IInvalidating |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties | PostScaleAdapter | ||
alpha : Number | PostScaleAdapter | ||
baselinePosition : Number [alleen-lezen]
| PostScaleAdapter | ||
blendMode : String | PostScaleAdapter | ||
cacheAsBitmap : Boolean | PostScaleAdapter | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | 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 [alleen-lezen]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMaxWidth : Number [alleen-lezen]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMinHeight : Number [alleen-lezen]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
explicitMinWidth : Number [alleen-lezen]
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 [alleen-lezen]
| PostScaleAdapter | ||
mask : DisplayObject | PostScaleAdapter | ||
maxHeight : Number [alleen-lezen]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
maxWidth : Number [alleen-lezen]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
measuredHeight : Number [alleen-lezen]
The measured height of this object. | PostScaleAdapter | ||
measuredMinHeight : Number | PostScaleAdapter | ||
measuredMinWidth : Number | PostScaleAdapter | ||
measuredWidth : Number [alleen-lezen]
The measured width of this object. | PostScaleAdapter | ||
minHeight : Number [alleen-lezen]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
minWidth : Number [alleen-lezen]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | PostScaleAdapter | ||
mouseX : Number [alleen-lezen]
| PostScaleAdapter | ||
mouseY : Number [alleen-lezen]
| PostScaleAdapter | ||
name : String | PostScaleAdapter | ||
opaqueBackground : Object | PostScaleAdapter | ||
owner : DisplayObjectContainer | PostScaleAdapter | ||
parent : DisplayObjectContainer [alleen-lezen]
| 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 [alleen-lezen]
| PostScaleAdapter | ||
rotation : Number | PostScaleAdapter | ||
scale9Grid : Rectangle | PostScaleAdapter | ||
scaleX : Number | PostScaleAdapter | ||
scaleY : Number | PostScaleAdapter | ||
scrollRect : Rectangle | PostScaleAdapter | ||
stage : Stage [alleen-lezen]
| 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 |
Methode | Gedefinieerd door | ||
---|---|---|---|
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
PostScaleAdapter | |||
[statisch]
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 | |||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | 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 | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
PostScaleAdapter | |||
Moves this object to the specified x and y coordinates. | PostScaleAdapter | ||
PostScaleAdapter | |||
PostScaleAdapter | |||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
PostScaleAdapter | |||
Sets the actual size of this object. | PostScaleAdapter | ||
Sets the specified constraint value. | PostScaleAdapter | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
PostScaleAdapter | |||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Validates and updates the properties and layout of this object
by immediately calling validateProperties(),
validateSize(), and validateDisplayList(),
if necessary. | PostScaleAdapter | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
PostScaleAdapter |
accessibilityProperties | eigenschap |
accessibilityProperties:AccessibilityProperties
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get accessibilityProperties():AccessibilityProperties
public function set accessibilityProperties(value:AccessibilityProperties):void
alpha | eigenschap |
baselinePosition | eigenschap |
blendMode | eigenschap |
cacheAsBitmap | eigenschap |
document | eigenschap |
document:Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get document():Object
public function set document(value:Object):void
enabled | eigenschap |
enabled:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get enabled():Boolean
public function set enabled(value:Boolean):void
explicitHeight | eigenschap |
explicitHeight:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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
.
Implementatie
public function get explicitHeight():Number
public function set explicitHeight(value:Number):void
explicitMaxHeight | eigenschap |
explicitMaxWidth | eigenschap |
explicitMinHeight | eigenschap |
explicitMinWidth | eigenschap |
explicitWidth | eigenschap |
explicitWidth:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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
.
Implementatie
public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
filters | eigenschap |
focusPane | eigenschap |
focusPane:Sprite
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get focusPane():Sprite
public function set focusPane(value:Sprite):void
height | eigenschap |
includeInLayout | eigenschap |
isPopUp | eigenschap |
loaderInfo | eigenschap |
loaderInfo:LoaderInfo
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get loaderInfo():LoaderInfo
mask | eigenschap |
mask:DisplayObject
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get mask():DisplayObject
public function set mask(value:DisplayObject):void
maxHeight | eigenschap |
maxWidth | eigenschap |
measuredHeight | eigenschap |
measuredHeight:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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
.
Implementatie
public function get measuredHeight():Number
measuredMinHeight | eigenschap |
measuredMinWidth | eigenschap |
measuredWidth | eigenschap |
measuredWidth:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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
.
Implementatie
public function get measuredWidth():Number
minHeight | eigenschap |
minWidth | eigenschap |
mouseX | eigenschap |
mouseY | eigenschap |
name | eigenschap |
opaqueBackground | eigenschap |
owner | eigenschap |
owner:DisplayObjectContainer
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get owner():DisplayObjectContainer
public function set owner(value:DisplayObjectContainer):void
parent | eigenschap |
parent:DisplayObjectContainer
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get parent():DisplayObjectContainer
percentHeight | eigenschap |
percentHeight:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get percentHeight():Number
public function set percentHeight(value:Number):void
percentWidth | eigenschap |
percentWidth:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get percentWidth():Number
public function set percentWidth(value:Number):void
root | eigenschap |
root:DisplayObject
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get root():DisplayObject
rotation | eigenschap |
scale9Grid | eigenschap |
scaleX | eigenschap |
scaleY | eigenschap |
scrollRect | eigenschap |
stage | eigenschap |
systemManager | eigenschap |
systemManager:ISystemManager
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
Implementatie
public function get systemManager():ISystemManager
public function set systemManager(value:ISystemManager):void
transform | eigenschap |
transform:flash.geom:Transform
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Implementatie
public function get transform():flash.geom:Transform
public function set transform(value:flash.geom:Transform):void
tweeningProperties | eigenschap |
tweeningProperties:Array
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
Implementatie
public function get tweeningProperties():Array
public function set tweeningProperties(value:Array):void
visible | eigenschap |
width | eigenschap |
x | eigenschap |
y | eigenschap |
PostScaleAdapter | () | Constructor |
addEventListener | () | methode |
dispatchEvent | () | methode |
getBounds | () | methode |
public function getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Parameters
targetCoordinateSpace:DisplayObject |
Rectangle |
getCompatibleIUIComponent | () | methode |
public static function getCompatibleIUIComponent(obj:Object):IUIComponent
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
obj:Object |
IUIComponent |
getConstraintValue | () | methode |
public function getConstraintValue(constraintName:String):*
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the specified constraint value.
Parameters
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 | () | methode |
getExplicitOrMeasuredWidth | () | methode |
getRect | () | methode |
public function getRect(targetCoordinateSpace:DisplayObject):Rectangle
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Parameters
targetCoordinateSpace:DisplayObject |
Rectangle |
globalToLocal | () | methode |
hasEventListener | () | methode |
hitTestObject | () | methode |
public function hitTestObject(obj:DisplayObject):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Parameters
obj:DisplayObject |
Boolean |
hitTestPoint | () | methode |
initialize | () | methode |
public function initialize():void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Initialize the object.
invalidateDisplayList | () | methode |
public function invalidateDisplayList():void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | () | methode |
public function invalidateProperties():void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | () | methode |
public function invalidateSize():void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | () | methode |
move | () | methode |
owns | () | methode |
public function owns(displayObject:DisplayObject):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Parameters
displayObject:DisplayObject |
Boolean |
parentChanged | () | methode |
public function parentChanged(p:DisplayObjectContainer):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Parameters
p:DisplayObjectContainer |
removeEventListener | () | methode |
setActualSize | () | methode |
public function setActualSize(newWidth:Number, newHeight:Number):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
newWidth:Number — The new width for this object.
| |
newHeight:Number — The new height for this object.
|
setConstraintValue | () | methode |
public function setConstraintValue(constraintName:String, value:*):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Sets the specified constraint value.
Parameters
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 | () | methode |
validateNow | () | methode |
public function validateNow():void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | () | methode |
Wed Jun 13 2018, 11:42 AM Z