Paket | mx.core |
Gränssnitt | public interface IDeferredInstantiationUIComponent extends IUIComponent , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher |
Implementorer | ModuleLoader, UIComponent, UIMovieClip |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Egenskap | Definieras med | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
De nuvarande hjälpmedelsalternativen för det här visningsobjektet. | IFlexDisplayObject | ||
alpha : Number
Anger det angivna objektets alfagenomskinlighetsvärde. | IFlexDisplayObject | ||
baselinePosition : Number [skrivskyddad]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
blendMode : String
Ett värde från klassen BlendMode som anger vilket blandningsläge som ska användas. | IFlexDisplayObject | ||
cacheAsBitmap : Boolean
Om det är true, sparar Flash-miljöerna en intern bitmappsrepresentation av visningsobjektet i cache-minnet. | IFlexDisplayObject | ||
cacheHeuristic : Boolean [lässkyddad]
Used by Flex to suggest bitmap caching for the object. | IDeferredInstantiationUIComponent | ||
cachePolicy : String [skrivskyddad]
Specifies the bitmap caching policy for this object. | IDeferredInstantiationUIComponent | ||
descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance. | IDeferredInstantiationUIComponent | ||
document : Object
A reference to the document object associated with this component. | IUIComponent | ||
enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxHeight : Number [skrivskyddad]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxWidth : Number [skrivskyddad]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinHeight : Number [skrivskyddad]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinWidth : Number [skrivskyddad]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
filters : Array
En indexerad array som innehåller varje filterobjekt som är associerat med visningsobjektet. | IFlexDisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | ||
height : Number
Anger visningsobjektets höjd i pixlar. | IFlexDisplayObject | ||
id : String
ID of the component. | IDeferredInstantiationUIComponent | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
loaderInfo : LoaderInfo [skrivskyddad]
Returnerar ett LoaderInfo-objekt som innehåller information om hur filen som visningsobjektet tillhör ska läsas in. | IFlexDisplayObject | ||
mask : DisplayObject
Det anropande visningsobjektet maskeras av det angivna visningsobjektet. | IFlexDisplayObject | ||
maxHeight : Number [skrivskyddad]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
maxWidth : Number [skrivskyddad]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
measuredHeight : Number [skrivskyddad]
The measured height of this object. | IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | ||
measuredWidth : Number [skrivskyddad]
The measured width of this object. | IFlexDisplayObject | ||
minHeight : Number [skrivskyddad]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
minWidth : Number [skrivskyddad]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
mouseX : Number [skrivskyddad]
Anger x-koordinaten för musens eller användarens indataenhets position i pixlar. | IFlexDisplayObject | ||
mouseY : Number [skrivskyddad]
Anger y-koordinaten för musens eller användarens indataenhets position i pixlar. | IFlexDisplayObject | ||
name : String
Anger instansnamnet för DisplayObject. | IFlexDisplayObject | ||
opaqueBackground : Object
Anger om visningsobjektet är ogenomskinligt med en viss bakgrundsfärg. | IFlexDisplayObject | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
parent : DisplayObjectContainer [skrivskyddad]
Anger DisplayObjectContainer-objektet som innehåller visningsobjektet. | IFlexDisplayObject | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | ||
root : DisplayObject [skrivskyddad]
För ett visningsobjekt i en inläst SWF-fil är rotegenskapen det översta visningsobjektet i den del av visningslistans trädstruktur som representeras av den SWF-filen. | IFlexDisplayObject | ||
rotation : Number
Anger DisplayObject-instansens rotation i grader från den ursprungliga orienteringen. | IFlexDisplayObject | ||
scale9Grid : Rectangle
Det skalningsrutnät som används för närvarande. | IFlexDisplayObject | ||
scaleX : Number
Anger vågrät skala (i procent) för objektet utifrån dess registreringspunkt. | IFlexDisplayObject | ||
scaleY : Number
Anger lodrät skala (i procent) för objektet utifrån dess registreringspunkt. | IFlexDisplayObject | ||
scrollRect : Rectangle
Visningsobjektets gränser för rullningsrektangeln. | IFlexDisplayObject | ||
stage : Stage [skrivskyddad]
Visningsobjektets scen. | IFlexDisplayObject | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
transform : flash.geom:Transform
Ett objekt med egenskaper som gäller ett visningsobjekts matris, färgomformning och pixelgränser. | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
visible : Boolean
Om visingsobjektet är synligt eller inte. | IFlexDisplayObject | ||
width : Number
Anger visningsobjektets bredd i pixlar. | IFlexDisplayObject | ||
x : Number
Anger x-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | IFlexDisplayObject | ||
y : Number
Anger y-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | IFlexDisplayObject |
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Creates an id reference to this IUIComponent object
on its parent document object. | IDeferredInstantiationUIComponent | ||
Deletes the id reference to this IUIComponent object
on its parent document object. | IDeferredInstantiationUIComponent | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Executes all the bindings for which the UIComponent object is the destination. | IDeferredInstantiationUIComponent | ||
Returnerar en rektangel som definierar visningsområdets område i relation till targetCoordinateSpace-objektets koordinatsystem. | IFlexDisplayObject | ||
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | ||
Returnerar en rektangel som definierar visningsområdets gräns, baserat på koordinatsystemet som definieras av targetCoordinateSpace-parametern, exklusive eventuella linjer i former. | IFlexDisplayObject | ||
Konverterar punktobjektet från scenens (globala) koordinater till visningsobjektets (lokala) koordinater. | IFlexDisplayObject | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Utvärderar begränsningsramen för visningsobjektet för att kontrollera om den överlappar eller korsar begränsningsramen för obj-visningsobjektet. | IFlexDisplayObject | ||
Utvärderar visningsobjektet för att avgöra om det överlappar eller korsar den punkt som anges av x- och y-parametrarna. | IFlexDisplayObject | ||
Initialize the object. | IUIComponent | ||
Konverterar punktobjektet från visningsobjektets (lokala) koordinater till scenens (globala) koordinater. | IFlexDisplayObject | ||
Moves this object to the specified x and y coordinates. | IFlexDisplayObject | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent | ||
For each effect event, register the EffectManager
as one of the event listeners. | IDeferredInstantiationUIComponent | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Sets the actual size of this object. | IFlexDisplayObject | ||
Called when the visible property changes. | IUIComponent | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
cacheHeuristic | egenskap |
cacheHeuristic:Boolean
[lässkyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Used by Flex to suggest bitmap caching for the object.
If cachePolicy
is UIComponentCachePolicy.AUTO
,
then cacheHeuristic
is used to control the object's cacheAsBitmap
property.
Implementering
public function set cacheHeuristic(value:Boolean):void
cachePolicy | egenskap |
cachePolicy:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Specifies the bitmap caching policy for this object.
Possible values in MXML are "on"
,
"off"
and
"auto"
(default).
Possible values in ActionScript are UIComponentCachePolicy.ON
,
UIComponentCachePolicy.OFF
and
UIComponentCachePolicy.AUTO
(default).
- A value of
UIComponentCachePolicy.ON
means that the object is always cached as a bitmap. - A value of
UIComponentCachePolicy.OFF
means that the object is never cached as a bitmap. - A value of
UIComponentCachePolicy.AUTO
means that the framework uses heuristics to decide whether the object should be cached as a bitmap.
Implementering
public function get cachePolicy():String
descriptor | egenskap |
descriptor:UIComponentDescriptor
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor()
method to create this
UIComponent instance. If this UIComponent instance
was not created from a descriptor, this property is null.
Implementering
public function get descriptor():UIComponentDescriptor
public function set descriptor(value:UIComponentDescriptor):void
id | egenskap |
id:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
ID of the component. This value becomes the instance name of the object and should not contain any white space or special characters. Each component throughout an application should have a unique id.
If your application is going to be tested by third party tools, give each component a meaningful id. Testing tools use ids to represent the control in their scripts and having a meaningful name can make scripts more readable. For example, set the value of a button to submit_button rather than b1 or button1.
Implementering
public function get id():String
public function set id(value:String):void
createReferenceOnParentDocument | () | metod |
public function createReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Creates an id
reference to this IUIComponent object
on its parent document object.
This function can create multidimensional references
such as b[2][4] for objects inside one or more repeaters.
If the indices are null, it creates a simple non-Array reference.
Parametrar
parentDocument:IFlexDisplayObject — The parent of this IUIComponent object.
|
deleteReferenceOnParentDocument | () | metod |
public function deleteReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Deletes the id
reference to this IUIComponent object
on its parent document object.
This function can delete from multidimensional references
such as b[2][4] for objects inside one or more Repeaters.
If the indices are null, it deletes the simple non-Array reference.
Parametrar
parentDocument:IFlexDisplayObject — The parent of this IUIComponent object.
|
executeBindings | () | metod |
public function executeBindings(recurse:Boolean = false):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Executes all the bindings for which the UIComponent object is the destination.
Parametrar
recurse:Boolean (default = false ) — Recursively execute bindings for children of this component.
|
registerEffects | () | metod |
Tue Jun 12 2018, 01:40 PM Z